diff options
| author | Henry Jameson <me@hjkos.com> | 2022-10-17 21:50:49 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2022-10-17 21:50:49 +0300 |
| commit | 373fb077a820deae28f494e7d2dc8c19370a54bf (patch) | |
| tree | 1bb6c0635e7e8777a711d6c491be079c9145f507 /src | |
| parent | 1435b65e36a21dd3a05a9393803beb7e06bcd4ae (diff) | |
use new color slot for badges
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/timeline/timeline.scss | 2 | ||||
| -rw-r--r-- | src/services/theme_data/pleromafe.js | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/components/timeline/timeline.scss b/src/components/timeline/timeline.scss index 900bdad3..9fc2aeab 100644 --- a/src/components/timeline/timeline.scss +++ b/src/components/timeline/timeline.scss @@ -10,7 +10,7 @@ top: calc(50% - 4px); margin-left: 6px; margin-top: -6px; - background-color: var(--cGreen); + background-color: var(--badgeNeutral); } .loadmore-button { diff --git a/src/services/theme_data/pleromafe.js b/src/services/theme_data/pleromafe.js index c2983be7..dc7a5d89 100644 --- a/src/services/theme_data/pleromafe.js +++ b/src/services/theme_data/pleromafe.js @@ -709,6 +709,14 @@ export const SLOT_INHERITANCE = { textColor: 'bw' }, + badgeNeutral: '--cGreen', + badgeNeutralText: { + depends: ['text', 'badgeNeutral'], + layer: 'badge', + variant: 'badgeNeutral', + textColor: 'bw' + }, + chatBg: { depends: ['bg'] }, |
