N
N
Nikolai2018-01-25 16:54:58
1C-Bitrix
Nikolai, 2018-01-25 16:54:58

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

10 answer(s)
A
Alexey Sklyarov, 2018-01-25
@0example

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.

S
sim3x, 2018-01-25
@sim3x

1.1. Directory structure
mkdir -p  html/{css/fonts,scss/util,js/vendor,i/icons}
tree html
spoiler
html
├── css
│   └── fonts
├── i
│   └── icons
├── js
│   └── vendor
└── scss
    └── util
.
1.2.1. Breakpoints
Suffice it to say that we store all variables in a separate file
20 For ID - camelCase. ID we need for JS
Not 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 option
Do layout with flex = do not use old browsers = no prefixes required = no autoprefixer required
Do not automate - there can be no such item even in theory
2. Solutions used
Mixing a general guide and a style guide is not necessary
A style guide generally needs to be prepared separately for each project
Everyone has already said about the bem

X
xmoonlight, 2018-01-26
@xmoonlight

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.

A
Anton Filippov, 2018-01-25
@vicodin

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

M
merss, 2018-01-25
@merss

BEM for sure!

I
InoMono, 2018-01-26
@InoMono

It should be more compact.
Nobody can read that much.
Less sections.

S
Sergey delphinpro, 2018-01-25
@delphinpro

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))

T
tema_sun, 2018-01-25
@tema_sun

For starters, it's pretty good. There is room to tighten
up You shouldn't use BEM in vain.

A
Alexey Nikolaev, 2018-01-25
@Heian

Normal requirements, not at all rigid even. But some points are controversial.

D
Denis Morozov, 2018-02-02
@aic513

I didn’t bend the stick at all)
This will be a lafa workbench)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question