Add configurable sidebar contrast settings
This commit is contained in:
@@ -150,6 +150,7 @@
|
||||
.local-db-fields[hidden] { display: none; }
|
||||
.settings-field { @apply grid grid-cols-[72px_minmax(0,1fr)] items-center gap-2 text-[11px] text-slate-700; }
|
||||
.settings-field input { @apply min-w-0 rounded border border-slate-300 bg-white px-1 py-1 text-[11px]; }
|
||||
.settings-select { @apply min-w-0 rounded border border-slate-300 bg-white px-1 py-1 text-[11px] text-slate-800; }
|
||||
.settings-note, .settings-permissions { @apply m-0 text-[10px] leading-tight text-slate-500; }
|
||||
.settings-permissions { @apply grid gap-0.5; }
|
||||
.connection-ok { @apply text-emerald-700; }
|
||||
@@ -221,6 +222,12 @@
|
||||
html:not(.dark) .app-status { @apply border-slate-300 bg-white text-slate-700; }
|
||||
html:not(.dark) .manufacturer-trigger { @apply border-slate-300 bg-white text-slate-700; }
|
||||
html:not(.dark) .manufacturer-trigger:hover { @apply border-slate-400 bg-slate-200; }
|
||||
html.contrast-light-high:not(.dark) .control-panel { @apply bg-slate-200 text-slate-900; }
|
||||
html.contrast-light-high:not(.dark) .action-button,
|
||||
html.contrast-light-high:not(.dark) .arrow-button,
|
||||
html.contrast-light-high:not(.dark) .input-like,
|
||||
html.contrast-light-high:not(.dark) .manufacturer-trigger { @apply border-slate-500 text-slate-900; }
|
||||
html.contrast-light-high:not(.dark) .sidebar-icon { @apply text-slate-700; }
|
||||
|
||||
html.dark body { @apply bg-slate-950 text-slate-100; }
|
||||
html.dark .control-panel { @apply bg-slate-950; }
|
||||
@@ -243,6 +250,12 @@
|
||||
html.dark .manufacturer-search { @apply border-slate-600 bg-slate-800 text-slate-100; }
|
||||
html.dark .manufacturer-option { @apply text-slate-200 hover:bg-slate-800; }
|
||||
html.dark .manufacturer-option[aria-selected="true"] { @apply bg-slate-700 text-white; }
|
||||
html.contrast-dark-high.dark .control-panel { @apply bg-slate-950 text-white; }
|
||||
html.contrast-dark-high.dark .action-button,
|
||||
html.contrast-dark-high.dark .arrow-button,
|
||||
html.contrast-dark-high.dark .input-like,
|
||||
html.contrast-dark-high.dark .manufacturer-trigger { @apply border-slate-500 bg-slate-700 text-white; }
|
||||
html.contrast-dark-high.dark .sidebar-icon { @apply text-slate-100; }
|
||||
html.dark .settings-dialog,
|
||||
html.dark .suggested-dialog,
|
||||
html.dark .source-dialog { @apply border-slate-700 bg-slate-900; }
|
||||
|
||||
Reference in New Issue
Block a user