You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 21, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: docs/features/css.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,12 +16,14 @@ You can create individual CSS files bundle, using the config:
16
16
-`gulp css` - Compile SCSS to CSS
17
17
-`gulp watch:css` - Watch and compile
18
18
-`gulp validate:css` - Test SCSS with [gulp-sass-lint](https://github.com/sasstools/gulp-sass-lint), which uses [sass-lint](https://github.com/sasstools/sass-lint) (Pure node.js - no Ruby)
19
+
-`gulp format:css` - Format SCSS with [gulp-csscombx](https://github.com/drugan/gulp-csscombx), which uses [csscombx](https://github.com/drugan/csscombx)
19
20
20
21
## Config
21
22
22
23
-`config.css.src` - Array of SCSS files
23
24
-`config.css.dest` - String of Destination directory for CSS
24
-
-`config.css.lint` - Boolean for if Linting should occur
25
+
-`config.css.lint.enabled` - Boolean for if Linting should occur
26
+
-`config.css.csscombx.enabled` - Boolean for if Formating should occur
25
27
-`config.css.sourceComments` - Boolean - Enable comments written in CSS that shows SCSS source. **Don't turn on permanently**, it's useful if SourceMaps aren't working.
26
28
-`config.css.autoPrefixerBrowsers` - Array of [Browsers to Support](https://github.com/ai/browserslist#queries) for Autoprefixer (used by PostCSS).
The module follows the rules from [Drupal](https://www.drupal.org/docs/develop/standards/css/csscomb-settings-for-drupal-css-formatting-and-sort-tool).
0 commit comments