discourse/app/assets/javascripts/admin/components
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
..
report-filters FEATURE: Make report filters reusable (#9444) 2020-04-22 11:52:50 +03:00
site-settings UX: Add simple-list setting type (#9970) 2020-06-04 10:44:54 -04:00
ace-editor.js DEV: Let themes extend color definitions (#10429) 2020-08-18 13:02:13 -04:00
admin-backups-logs.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin-editable-field.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-form-row.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-graph.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-nav.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-report-chart.js FEATURE: allows to display charts by day/week/month (#10325) 2020-07-28 16:14:41 +02:00
admin-report-counters.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-report-counts.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-report-inline-table.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-report-per-day-counts.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-report-stacked-chart.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-report-storage-stats.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin-report-table-cell.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-report-table-header.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-report-table-row.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-report-table.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-report-trust-level-counts.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
admin-report.js FIX: Removes an error in the console in test mode 2020-07-31 14:06:52 -04:00
admin-theme-editor.js DEV: Let themes extend color definitions (#10429) 2020-08-18 13:02:13 -04:00
admin-user-field-item.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin-watched-word.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin-web-hook-event-chooser.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin-web-hook-event.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin-web-hook-status.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
admin-wrapper.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
cancel-link.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
color-input.js FIX: allows color-input to set hex and color names through input (#9339) 2020-04-02 21:19:31 +02:00
email-styles-editor.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
embeddable-host.js FIX: use allowlist and blocklist terminology (#10209) 2020-07-27 10:23:54 +10:00
embedding-setting.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
flag-user-lists.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
highlighted-code.js REFACTOR: Remove `Discourse.HighlightJSPath` from globals 2020-08-17 15:45:44 -04:00
inline-edit-checkbox.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
install-theme-item.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
ip-lookup.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
moderation-history-item.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
penalty-post-action.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
permalink-form.js FEATURE: Permalinks for tags 2020-05-25 14:51:01 +02:00
resumable-upload.js DEV: Move `Discourse.getURL` and related functions to a module (#9966) 2020-06-03 12:45:26 -04:00
screened-ip-address-form.js FIX: use allowlist and blocklist terminology (#10209) 2020-07-27 10:23:54 +10:00
secret-value-list.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
silence-details.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
simple-list.js UX: Add simple-list setting type (#9970) 2020-06-04 10:44:54 -04:00
site-setting.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
site-settings-image-uploader.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
site-text-summary.js FIX: remove word boundary regex (\b) for search result highlights. (#9338) 2020-04-15 11:11:00 +05:30
staff-actions.js FEATURE: Create logs for Group Moderator changes (#10271) 2020-07-21 14:29:02 -04:00
suspension-details.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
tags-uploader.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
theme-setting-editor.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
theme-setting-relatives-selector.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
theme-translation.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
themes-list-item.js Remove discourse constants (#9958) 2020-06-01 16:33:43 -04:00
themes-list.js REFACTOR: Remove `router:main` and `getOwner` 2020-08-14 12:49:53 -04:00
value-list.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
watched-word-form.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
watched-word-uploader.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00