aboutsummaryrefslogtreecommitdiff
path: root/src/services
diff options
context:
space:
mode:
Diffstat (limited to 'src/services')
-rw-r--r--src/services/theme_data/theme_data.service.js15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/services/theme_data/theme_data.service.js b/src/services/theme_data/theme_data.service.js
index e2e9331c..21bab1a2 100644
--- a/src/services/theme_data/theme_data.service.js
+++ b/src/services/theme_data/theme_data.service.js
@@ -20,7 +20,8 @@ export const LAYERS = {
inputPanel: 'panel',
inputTopBar: 'topBar',
alert: 'bg',
- alertPanel: 'panel'
+ alertPanel: 'panel',
+ poll: 'bg'
}
export const DEFAULT_OPACITY = {
@@ -33,7 +34,8 @@ export const DEFAULT_OPACITY = {
alert: 0.5,
input: 0.5,
faint: 0.5,
- underlay: 0.15
+ underlay: 0.15,
+ poll: 1
}
export const SLOT_INHERITANCE = {
@@ -65,9 +67,14 @@ export const SLOT_INHERITANCE = {
color: (mod, fg) => brightness(2 * mod, fg).rgb
},
- linkBg: {
+ poll: {
depends: ['accent', 'bg'],
- color: (mod, accent, bg) => alphaBlend(accent, 0.4, bg).rgb
+ color: (mod, accent, bg) => alphaBlend(accent, 0.4, bg)
+ },
+ pollText: {
+ depends: ['text'],
+ layer: 'poll',
+ textColor: true
},
icon: {