Make HK sidebar menu text always 100% visible
Local Build and Deploy / deploy (push) Successful in 1m8s
Local Build and Deploy / deploy (push) Successful in 1m8s
- Set muted sidebar text equal to the readable sidebar text so inactive nav items and section labels are never dimmed - Active item remains distinguished by its accent background and border
This commit is contained in:
1 parent
d2243b5611
commit
8721cfcea4
1 file changed
+1
-1
@@ -34,7 +34,7 @@ export function adminPaletteCss(admin: AdminPalette): string {
|
||||
const parts: string[] = [
|
||||
`--admin-sidebar-background:${admin.sidebar};`,
|
||||
`--admin-sidebar-text-readable:${admin.sidebarText};`,
|
||||
`--admin-sidebar-muted-readable:color-mix(in srgb, var(--admin-sidebar-text-readable) 82%, transparent);`,
|
||||
`--admin-sidebar-muted-readable:var(--admin-sidebar-text-readable);`,
|
||||
`--admin-input-text-readable:${readableColor(admin.text, [admin.canvas, admin.surface])};`,
|
||||
`--admin-canvas:${admin.canvas};`,
|
||||
`--admin-surface:${admin.surface};`,
|
||||
|
||||
Reference in new issue
Block a user