discourse/app/assets/stylesheets/common/admin
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
..
admin_base.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
admin_emojis.scss UX: better customize emoji layout on mobile (#9319) 2020-03-31 08:55:47 +02:00
admin_intro.scss UX: Mobile editor style fixes (#7878) 2019-07-11 09:57:53 -04:00
admin_report_chart.scss FIX: reduces charts height (#10327) 2020-07-28 18:42:14 +02:00
admin_report_counters.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
admin_report_inline_table.scss FEATURE: part 2 of dashboard improvements 2018-07-19 14:33:11 -04:00
admin_report_stacked_chart.scss FIX: better handling of resizing in stacked charts (#6921) 2019-01-22 11:20:50 +01:00
admin_report_table.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
admin_report.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
admin_reports.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
api.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
backups.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
badges.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
customize-install-theme.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
customize.scss DEV: Let themes extend color definitions (#10429) 2020-08-18 13:02:13 -04:00
dashboard.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
emails.scss prevent long email addresses from breaking admin table layout 2020-08-04 16:47:50 -04:00
plugins.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
settings.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
staff_logs.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
suspend.scss DEV: adds prettier (#5956) 2018-06-08 11:49:31 +02:00
users.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00