Added options to use global setting
This commit is contained in:
146
options.ts
146
options.ts
@@ -161,33 +161,39 @@ const options = mkOptions(OPTIONS, {
|
||||
album: opt(colors.base2),
|
||||
buttons: {
|
||||
inactive: {
|
||||
global: opt(false),
|
||||
background: opt(colors.surface2),
|
||||
text: opt(colors.crust)
|
||||
},
|
||||
shuffle: {
|
||||
global: opt(false),
|
||||
background: opt(colors.lavender),
|
||||
hover: opt(colors.pink),
|
||||
active: opt(colors.pink),
|
||||
text: opt(colors.crust)
|
||||
},
|
||||
previous: {
|
||||
global: opt(false),
|
||||
background: opt(colors.lavender),
|
||||
hover: opt(colors.pink),
|
||||
text: opt(colors.crust)
|
||||
},
|
||||
playpause: {
|
||||
global: opt(false),
|
||||
background: opt(colors.lavender),
|
||||
hover: opt(colors.pink),
|
||||
text: opt(colors.crust)
|
||||
|
||||
},
|
||||
next: {
|
||||
global: opt(false),
|
||||
background: opt(colors.lavender),
|
||||
hover: opt(colors.pink),
|
||||
text: opt(colors.crust)
|
||||
|
||||
},
|
||||
loop: {
|
||||
global: opt(false),
|
||||
background: opt(colors.lavender),
|
||||
hover: opt(colors.pink),
|
||||
active: opt(colors.pink),
|
||||
@@ -196,6 +202,7 @@ const options = mkOptions(OPTIONS, {
|
||||
}
|
||||
},
|
||||
slider: {
|
||||
global: opt(false),
|
||||
primary: opt(colors.pink),
|
||||
background: opt(colors.surface2),
|
||||
backgroundhover: opt(colors.surface1),
|
||||
@@ -203,27 +210,43 @@ const options = mkOptions(OPTIONS, {
|
||||
}
|
||||
},
|
||||
volume: {
|
||||
card: opt(colors.base),
|
||||
background: opt(colors.crust),
|
||||
border: opt(colors.surface0),
|
||||
label: opt(colors.maroon),
|
||||
card: {
|
||||
global: opt(false),
|
||||
color: opt(colors.base),
|
||||
},
|
||||
background: {
|
||||
global: opt(false),
|
||||
color: opt(colors.crust),
|
||||
},
|
||||
border: {
|
||||
global: opt(false),
|
||||
color: opt(colors.surface0),
|
||||
},
|
||||
label: {
|
||||
global: opt(false),
|
||||
color: opt(colors.maroon),
|
||||
},
|
||||
text: opt(colors.text),
|
||||
listitems: {
|
||||
global: opt(false),
|
||||
passive: opt(colors.text),
|
||||
active: opt(colors.maroon)
|
||||
},
|
||||
icons: {
|
||||
global: opt(false),
|
||||
passive: opt(colors.overlay2),
|
||||
active: opt(colors.maroon),
|
||||
hover: opt(colors.maroon)
|
||||
},
|
||||
audio_slider: {
|
||||
global: opt(false),
|
||||
primary: opt(colors.maroon),
|
||||
background: opt(colors.surface2),
|
||||
backgroundhover: opt(colors.surface1),
|
||||
puck: opt(colors.overlay0)
|
||||
},
|
||||
input_slider: {
|
||||
global: opt(false),
|
||||
primary: opt(colors.maroon),
|
||||
background: opt(colors.surface2),
|
||||
backgroundhover: opt(colors.surface1),
|
||||
@@ -231,81 +254,142 @@ const options = mkOptions(OPTIONS, {
|
||||
}
|
||||
},
|
||||
network: {
|
||||
card: opt(colors.base),
|
||||
background: opt(colors.crust),
|
||||
border: opt(colors.surface0),
|
||||
label: opt(colors.mauve),
|
||||
card: {
|
||||
global: opt(false),
|
||||
color: opt(colors.base),
|
||||
},
|
||||
background: {
|
||||
global: opt(false),
|
||||
color: opt(colors.crust),
|
||||
},
|
||||
border: {
|
||||
global: opt(false),
|
||||
color: opt(colors.surface0),
|
||||
},
|
||||
label: {
|
||||
global: opt(false),
|
||||
color: opt(colors.mauve),
|
||||
},
|
||||
text: opt(colors.text),
|
||||
status: opt(colors.overlay0),
|
||||
status: {
|
||||
global: opt(false),
|
||||
color: opt(colors.overlay0),
|
||||
},
|
||||
listitems: {
|
||||
global: opt(false),
|
||||
passive: opt(colors.text),
|
||||
active: opt(colors.mauve)
|
||||
},
|
||||
icons: {
|
||||
global: opt(false),
|
||||
passive: opt(colors.overlay2),
|
||||
active: opt(colors.mauve),
|
||||
hover: opt(colors.mauve)
|
||||
},
|
||||
iconbuttons: {
|
||||
global: opt(false),
|
||||
passive: opt(colors.text),
|
||||
hover: opt(colors.mauve)
|
||||
},
|
||||
},
|
||||
bluetooth: {
|
||||
card: opt(colors.base),
|
||||
background: opt(colors.crust),
|
||||
border: opt(colors.surface0),
|
||||
label: opt(colors.sky),
|
||||
card: {
|
||||
global: opt(false),
|
||||
color: opt(colors.base),
|
||||
},
|
||||
background: {
|
||||
global: opt(false),
|
||||
color: opt(colors.crust),
|
||||
},
|
||||
border: {
|
||||
global: opt(false),
|
||||
color: opt(colors.surface0),
|
||||
},
|
||||
label: {
|
||||
global: opt(false),
|
||||
color: opt(colors.sky),
|
||||
},
|
||||
text: opt(colors.text),
|
||||
status: opt(colors.overlay0),
|
||||
switch_divider: opt(colors.surface1),
|
||||
switch: {
|
||||
global: opt(false),
|
||||
enabled: opt(colors.sky),
|
||||
disabled: opt(colors.surface0),
|
||||
puck: opt(colors.overlay0)
|
||||
},
|
||||
listitems: {
|
||||
global: opt(false),
|
||||
passive: opt(colors.text),
|
||||
active: opt(colors.sky)
|
||||
},
|
||||
icons: {
|
||||
global: opt(false),
|
||||
passive: opt(colors.overlay2),
|
||||
active: opt(colors.sky),
|
||||
hover: opt(colors.sky)
|
||||
},
|
||||
iconbuttons: {
|
||||
global: opt(false),
|
||||
passive: opt(colors.text),
|
||||
hover: opt(colors.sky)
|
||||
},
|
||||
},
|
||||
systray: {
|
||||
background: opt(colors.base2),
|
||||
background: {
|
||||
global: opt(false),
|
||||
color: opt(colors.base2),
|
||||
},
|
||||
dropdownmenu: {
|
||||
global: opt(false),
|
||||
background: opt(colors.crust),
|
||||
text: opt(colors.text),
|
||||
divider: opt(colors.base)
|
||||
},
|
||||
},
|
||||
battery: {
|
||||
card: opt(colors.base),
|
||||
background: opt(colors.crust),
|
||||
border: opt(colors.surface0),
|
||||
label: opt(colors.yellow),
|
||||
card: {
|
||||
global: opt(false),
|
||||
color: opt(colors.base),
|
||||
},
|
||||
background: {
|
||||
global: opt(false),
|
||||
color: opt(colors.crust),
|
||||
},
|
||||
border: {
|
||||
global: opt(false),
|
||||
color: opt(colors.surface0),
|
||||
},
|
||||
label: {
|
||||
global: opt(false),
|
||||
color: opt(colors.yellow),
|
||||
},
|
||||
text: opt(colors.text),
|
||||
listitems: {
|
||||
global: opt(false),
|
||||
passive: opt(colors.text),
|
||||
active: opt(colors.yellow)
|
||||
},
|
||||
icons: {
|
||||
global: opt(false),
|
||||
passive: opt(colors.overlay2),
|
||||
active: opt(colors.yellow),
|
||||
hover: opt(colors.yellow)
|
||||
},
|
||||
},
|
||||
clock: {
|
||||
card: opt(colors.base),
|
||||
background: opt(colors.crust),
|
||||
border: opt(colors.surface0),
|
||||
card: {
|
||||
global: opt(false),
|
||||
color: opt(colors.base),
|
||||
},
|
||||
background: {
|
||||
global: opt(false),
|
||||
color: opt(colors.crust),
|
||||
},
|
||||
border: {
|
||||
global: opt(false),
|
||||
color: opt(colors.surface0),
|
||||
},
|
||||
text: opt(colors.text),
|
||||
time: {
|
||||
time: opt(colors.pink),
|
||||
@@ -338,14 +422,25 @@ const options = mkOptions(OPTIONS, {
|
||||
},
|
||||
},
|
||||
dashboard: {
|
||||
card: opt(colors.base),
|
||||
background: opt(colors.crust),
|
||||
border: opt(colors.surface0),
|
||||
card: {
|
||||
global: opt(false),
|
||||
color: opt(colors.base),
|
||||
},
|
||||
background: {
|
||||
global: opt(false),
|
||||
color: opt(colors.crust),
|
||||
},
|
||||
border: {
|
||||
global: opt(false),
|
||||
color: opt(colors.surface0),
|
||||
},
|
||||
profile: {
|
||||
global: opt(false),
|
||||
card: opt(colors.base),
|
||||
name: opt(colors.pink)
|
||||
},
|
||||
powermenu: {
|
||||
global: opt(false),
|
||||
shutdown: opt(colors.red),
|
||||
restart: opt(colors.peach),
|
||||
logout: opt(colors.green),
|
||||
@@ -361,6 +456,7 @@ const options = mkOptions(OPTIONS, {
|
||||
}
|
||||
},
|
||||
shortcuts_left: {
|
||||
global: opt(false),
|
||||
shortcut1: {
|
||||
background: opt(colors.lavender),
|
||||
hover: opt(colors.pink),
|
||||
@@ -383,6 +479,7 @@ const options = mkOptions(OPTIONS, {
|
||||
},
|
||||
},
|
||||
shortcuts_right: {
|
||||
global: opt(false),
|
||||
shortcut1: {
|
||||
background: opt(colors.lavender),
|
||||
hover: opt(colors.pink),
|
||||
@@ -475,6 +572,7 @@ const options = mkOptions(OPTIONS, {
|
||||
}
|
||||
},
|
||||
notifications: {
|
||||
global: opt(false),
|
||||
background: opt(colors.mantle),
|
||||
card: opt(colors.base),
|
||||
border: opt(colors.surface0),
|
||||
|
||||
Reference in New Issue
Block a user