commit: 373fb077a820deae28f494e7d2dc8c19370a54bf
parent 1435b65e36a21dd3a05a9393803beb7e06bcd4ae
Author: Henry Jameson <me@hjkos.com>
Date: Mon, 17 Oct 2022 21:50:49 +0300
use new color slot for badges
Diffstat:
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git 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
@@ -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']
},