This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app
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
..
assets DEV: Let themes extend color definitions (#10429) 2020-08-18 13:02:13 -04:00
controllers FEATURE: add new user option skip_new_user_tips. (#10437) 2020-08-14 19:10:56 +05:30
helpers DEV: Let themes extend color definitions (#10429) 2020-08-18 13:02:13 -04:00
jobs DEV: IMAP log to database (#10435) 2020-08-14 12:01:31 +10:00
mailers PERF: Replace video and audio links in search blurb while indexing. 2020-08-06 12:25:03 +08:00
models DEV: Let themes extend color definitions (#10429) 2020-08-18 13:02:13 -04:00
serializers FIX: makes group_show_serializer#is_group_owner follow standards (#10466) 2020-08-18 18:30:08 +02:00
services FEATURE: add option to skip new user tips in first notification. (#10462) 2020-08-18 13:43:40 +05:30
views FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00