Answer the question
In order to leave comments, you need to log in
We made requirements for the typesetter, didn't we go too far?
We work with remote layout designers and constantly go through the rake when we transfer the layout to programming.
We made a guide what we want from a layout designer tailored for us: html.jarency.ru
Tell me, how adequate is it to demand from a layout designer?
Answer the question
In order to leave comments, you need to log in
I do not see any excessive requirements, on the contrary, they can still be supplemented. If you read this "document", it may seem that you are unnecessarily demanding, but in fact, for a normal layout designer, everything that you described is the norm. I don't understand about bam either.
1.1. Directory structure
mkdir -p html/{css/fonts,scss/util,js/vendor,i/icons}
tree html
html
├── css
│ └── fonts
├── i
│ └── icons
├── js
│ └── vendor
└── scss
└── util
1.2.1. BreakpointsSuffice it to say that we store all variables in a separate file
20 For ID - camelCase. ID we need for JSNot right. You need to use classes. If you want to separate classes for styling and for zhs - do a prefix
23 We use Autoprefixer, it will arrange prefixes for us. We use automation - we put it as a package and connect it to the style processing process. We do not use automation - there is an online optionDo layout with flex = do not use old browsers = no prefixes required = no autoprefixer required
2. Solutions usedMixing a general guide and a style guide is not necessary
I advise you to write documentation like this:
1. Create a "clean" empty ("white sheet") template (without third-party libraries and with the ability to download it in the archive) and briefly describe the structure of the template (including grid layout and its default behavior for various permissions).
2. Describe the format of the section(s) for connecting third-party libraries and themselves: what they are for and in what cases they should be used. (you can add connection of all and comment out in a "clean" template-blank and put it in an additional archive)
3. Create a catalog of all elements of the template: on the left - the object itself, on the right - the source code.
4. Separately describe the main, most frequently used styles and their additional modifiers.
norms, well done,
if it’s not enough, add later, or the layout designer, applying some rules, can add directly there,
well, for general cases, you can stick this https://google.github.io/styleguide/htmlcssguide.html
Kindergarten.
Sorry.
You definitely didn't overdo it. Rather, they didn’t bend =)
Although some points are controversial, but this is already a personal preference))
For starters, it's pretty good. There is room to tighten
up You shouldn't use BEM in vain.
Normal requirements, not at all rigid even. But some points are controversial.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question