# druid theme — library definitions. # # The first seven libraries below (layers, reset, tokens, base, layout, # components, utilities) each fill one slot in the cascade-layer # architecture declared in css/layers.css. Their weights ascend in cascade # order (-100 → -50) and their SMACSS categories are chosen so Drupal # loads them in roughly the same order. See CLAUDE.md for the full # architecture overview. # # Rules of thumb when editing this file: # - Adding a new component CSS file: register it under the `components:` # library with `weight: -10`, and wrap its rules in `@layer components`. # - Don't reorder or remove the first seven libraries — load order must # match cascade order so `css/layers.css` parses before any layered # stylesheet. # - Conditional libraries below (dialog, dropbutton, file, image-widget, # indented, messages, node, progress, drupal.tablesort, item-list, # search-results, user) are attached via `libraries-extend` in # druid.info.yml when their corresponding core library is in use. Don't # move them into the always-on list unless they should load everywhere. layers: version: VERSION css: base: css/layers.css: weight: -100 reset: version: VERSION css: base: css/lib/modern-normalize.css: weight: -90 fonts: version: VERSION css: base: css/fonts.css: weight: -85 tokens: version: VERSION css: base: css/tokens.css: weight: -80 base: version: VERSION css: base: css/base.css: weight: -70 layout: version: VERSION css: layout: css/layout.css: weight: -60 utilities: version: VERSION css: theme: css/utilities.css: weight: -50 behaviors: version: VERSION js: js/druid.behaviors.js: {} dependencies: - core/drupal - core/once components: version: VERSION css: component: css/components/action-links.css: weight: -10 css/components/breadcrumb.css: weight: -10 css/components/button.css: weight: -10 css/components/container-inline.css: weight: -10 css/components/details.css: weight: -10 css/components/exposed-filters.css: weight: -10 css/components/field.css: weight: -10 css/components/form.css: weight: -10 css/components/header.css: weight: -10 css/components/icons.css: weight: -10 css/components/inline-form.css: weight: -10 css/components/link.css: weight: -10 css/components/links.css: weight: -10 css/components/menu.css: weight: -10 css/components/more-link.css: weight: -10 css/components/pager.css: weight: -10 css/components/search.css: weight: -10 css/components/site-branding.css: weight: -10 css/components/tabledrag.css: weight: -10 css/components/tableselect.css: weight: -10 css/components/tabs.css: weight: -10 css/components/textarea.css: weight: -10 css/components/top-nav.css: weight: -10 css/components/ui-dialog.css: weight: -10 dialog: version: VERSION css: component: css/components/dialog.css: weight: -10 dropbutton: version: VERSION css: component: css/components/dropbutton.css: weight: -10 file: version: VERSION css: component: css/components/file.css: weight: -10 image-widget: version: VERSION css: component: css/components/image-widget.css: { } indented: version: VERSION css: component: css/components/indented.css: { } messages: version: VERSION css: component: css/components/messages.css: weight: -10 node: version: VERSION css: component: css/components/node.css: weight: -10 progress: version: VERSION css: component: css/components/progress.css: weight: -10 drupal.tablesort: version: VERSION css: component: css/components/tablesort.css: weight: -10 item-list: version: VERSION css: component: css/components/item-list.css: weight: -10 search-results: version: VERSION css: component: css/components/search-results.css: { } user: version: VERSION css: component: css/components/user.css: weight: -10