discourse/app/assets/javascripts/admin/models
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-dashboard.js Rename .js.es6 to .js in the admin application 2020-03-13 17:03:08 -04:00
admin-user.js REFACTOR: Remove Discourse.SiteSettings from user/admin-user 2020-07-15 11:48:55 -04:00
api-key.js FEATURE: Add scopes to API keys (#9844) 2020-07-16 15:51:24 -03:00
backup-status.js Rename .js.es6 to .js in the admin application 2020-03-13 17:03:08 -04:00
backup.js DEV: Move Discourse.getURL and related functions to a module (#9966) 2020-06-03 12:45:26 -04:00
color-scheme-color.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
color-scheme.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
email-log.js DEV: Move Discourse.getURL and related functions to a module (#9966) 2020-06-03 12:45:26 -04:00
email-preview.js Rename .js.es6 to .js in the admin application 2020-03-13 17:03:08 -04:00
email-settings.js Rename .js.es6 to .js in the admin application 2020-03-13 17:03:08 -04:00
email-style.js Rename .js.es6 to .js in the admin application 2020-03-13 17:03:08 -04:00
email-template.js DEV: Use type instead of method in ajax calls (#8974) 2020-03-26 21:00:10 +01:00
flag-type.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
incoming-email.js Rename .js.es6 to .js in the admin application 2020-03-13 17:03:08 -04:00
permalink.js FIX: Use 1 column instead of 4 for permalink destination (#9260) 2020-03-25 11:30:39 -07:00
report.js FIX: Pass siteSettings through in more places 2020-07-24 09:45:55 -04:00
screened-email.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
screened-ip-address.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
screened-url.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
site-setting.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
site-text.js DEV: Use type instead of method in ajax calls (#8974) 2020-03-26 21:00:10 +01:00
staff-action-log.js FEATURE: Create logs for Group Moderator changes (#10271) 2020-07-21 14:29:02 -04:00
theme-settings.js Rename .js.es6 to .js in the admin application 2020-03-13 17:03:08 -04:00
theme.js DEV: Let themes extend color definitions (#10429) 2020-08-18 13:02:13 -04:00
tl3-requirements.js PERF: Dematerialize topic_reply_count (#9769) 2020-05-14 15:42:00 -07:00
user-field.js Rename .js.es6 to .js in the admin application 2020-03-13 17:03:08 -04:00
version-check.js Rename .js.es6 to .js in the admin application 2020-03-13 17:03:08 -04:00
watched-word.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
web-hook.js Rename .js.es6 to .js in the admin application 2020-03-13 17:03:08 -04:00