mirror of
https://github.com/zombieFox/nightTab.git
synced 2024-11-25 01:23:15 +01:00
update theme accent control with keyboard shortcut
This commit is contained in:
parent
745b3e62a3
commit
bb6191ee50
@ -36,27 +36,3 @@
|
||||
height: 100%;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* @media (min-width: 550px) {
|
||||
:root {
|
||||
--theme-accent-preset-preview-space: 5;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 700px) {
|
||||
:root {
|
||||
--theme-accent-preset-preview-space: 5;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 900px) {
|
||||
:root {
|
||||
--theme-accent-preset-preview-space: 5;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1100px) {
|
||||
:root {
|
||||
--theme-accent-preset-preview-space: 5;
|
||||
}
|
||||
} */
|
||||
|
@ -92,6 +92,9 @@ keyboard.ctrAltR = new KeyboardShortcut({
|
||||
action: () => {
|
||||
theme.accent.random.render();
|
||||
toolbar.current.update.accent();
|
||||
if (themeSetting.control.accent.color) {
|
||||
themeSetting.control.accent.color.update();
|
||||
};
|
||||
applyCSSVar([
|
||||
'theme.accent.rgb.r',
|
||||
'theme.accent.rgb.g',
|
||||
|
Loading…
Reference in New Issue
Block a user