Skip to content

Instantly share code, notes, and snippets.

@miteshmap
Last active April 15, 2018 13:47
Show Gist options
  • Select an option

  • Save miteshmap/7c090026c0908d79fee5b750ada97414 to your computer and use it in GitHub Desktop.

Select an option

Save miteshmap/7c090026c0908d79fee5b750ada97414 to your computer and use it in GitHub Desktop.
Drupal 8: libraries “css” naming convention and weights
example:
css:
theme:
css/example.css: {}
js:
js/example.js: {}
themename:
base:
css/base/base.css: {}
css/base/core.css: {}
layout:
css/layout/layout.css: {}
css/layout/layout--mobile.css: {}
css/layout/layout--tablet.css: {}
component:
css/components/form.css: {}
css/components/button.css: {}
css/components/pagination.css: {}
theme:
css/theme/theme.css: {}
css/theme/styles.css: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment