-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSS Code Style #23
Comments
My opinion:
As for code style:
Example: /* Comment about the following. */
.cke-editor1 cke-toolbar-list[ data-pos = 'even' ]:nth-child( 2 ) {
color: red;
text-align: center; /* Some comment. */
}
.cke-something-else {
color: blue;
} |
I don't think that it's common to insert so much spaces in these places: As for the rest - I agree. |
There was an note (for file name standards) which says if there is a widely adopted approach - let's stick to it. As @Reinmar said, I'm also againt reorganizing CSS style. |
We should rather think about Less/Sass code style and structure than to dwell upon CSS (#26). If we decide to go with CSS pre-processors it is the only thing that matters. Also, since Less/Sass are programming languages, it's not that straightforward. I'll create some proposal if #26 is resolved and you feel it's right. |
We don't have SASS validation. If you'd like to introduce it, @oleq, feel free to open a ticket in ckeditor5. |
Just like the JavaScript Code Style guidelines, we should have something for CSS.
The text was updated successfully, but these errors were encountered: