You are here

styleswitcher.libraries.yml in Style Switcher 3.0.x

Same filename and directory in other branches
  1. 8.2 styleswitcher.libraries.yml

File

styleswitcher.libraries.yml
View source
  1. styleswitcher:
  2. version: "2.x"
  3. css:
  4. component:
  5. css/styleswitcher-overlay.css: {}
  6. js:
  7. js/styleswitcher.js: {}
  8. dependencies:
  9. - core/jquery.once
  10. - core/drupal
  11. dynamic-css:
  12. version: "2.x"
  13. css:
  14. theme:
  15. # Set 'media' to module name to determine this link among other html_tags
  16. # in styleswitcher_pre_render_html_tag().
  17. # Don't aggregate or compress the dynamic CSS.
  18. styleswitcher.active.css: { media: styleswitcher, preprocess: false }