discourse/app/assets/stylesheets
Penar Musaraj 882b0aac19
DEV: Let themes extend color definitions (#10429)
Themes can now declare custom colors that get compiled in core's color definitions stylesheet, thus allowing themes to better support dark/light color schemes. 

For example, if you need your theme to use tertiary for an element in a light color scheme and quaternary in a dark scheme, you can add the following SCSS to your theme's `color_definitions.scss` file: 

```
:root {
  --mytheme-tertiary-or-quaternary: #{dark-light-choose($tertiary, $quaternary)};
}
```

And then use the `--mytheme-tertiary-or-quaternary` variable as the color property of that element. You can also use this file to add color variables that use SCSS color transformation functions (lighten, darken, saturate, etc.) without compromising your theme's compatibility with different color schemes.
2020-08-18 13:02:13 -04:00
..
common DEV: Let themes extend color definitions (#10429) 2020-08-18 13:02:13 -04:00
desktop FEATURE: set notification levels when added to a group (#10378) 2020-08-06 12:27:27 -04:00
mobile Enable hamburger menu scrolling on mobile, follow-up to 1972364 2020-08-15 20:31:22 -04:00
vendor UX: Refactor pikaday month prev/next button styling 2020-08-04 14:39:25 -04:00
admin.scss
color_definitions.scss FEATURE: Dark mode alternative logos (#10441) 2020-08-17 15:43:20 -04:00
common.scss FIX: add table CSS rules to normalize (#10176) 2020-07-07 16:47:03 +10:00
desktop_rtl.scss
desktop.scss Revert "Revert "Merge branch 'master' of https://github.com/discourse/discourse"" 2020-05-23 00:56:13 -04:00
embed.scss DEV: Refactor dark-light-choose() usage in SCSS 2020-07-29 09:09:37 -04:00
mobile_rtl.scss
mobile.scss Revert "Revert "Merge branch 'master' of https://github.com/discourse/discourse"" 2020-05-23 00:56:13 -04:00
publish.scss FIX: Smaller header font size for published page (#10398) 2020-08-07 13:46:08 -05:00
wizard.scss UX: ensure CSS vars are loaded in the Wizard stylesheet 2020-08-06 19:19:15 +08:00