mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-03 05:19:37 +00:00
fix(ui): mute custom theme input placeholders
Darken --theme-placeholder-color and lower placeholder opacity so custom-theme inputs read more clearly; update AppearanceThemeTest.
This commit is contained in:
1 parent
de4e74b4cd
commit
4926cdba0e
2 files changed
+4
-3
No files matched your search
@@ -40,7 +40,7 @@ test('custom color theme is available and applied across theme controls', functi
|
||||
->toContain('html[data-theme="custom"] .control-selected')
|
||||
->toContain('--theme-scrollbar-thumb: color-mix(in srgb, var(--theme-bright-color) 70%, var(--theme-accent-foreground));')
|
||||
->toContain('--theme-border-color: color-mix(in oklab, var(--theme-base-color) 42%, #52525b);')
|
||||
->toContain('--theme-placeholder-color: color-mix(in srgb, white 82%, var(--theme-base-color));')
|
||||
->toContain('--theme-placeholder-color: color-mix(in srgb, white 20%, var(--theme-base-color));')
|
||||
->toContain('html[data-theme="custom"] *')
|
||||
->toContain('scrollbar-color: var(--theme-scrollbar-thumb) var(--color-panel);')
|
||||
->toContain('html[data-theme="custom"] *::-webkit-scrollbar-thumb')
|
||||
@@ -72,6 +72,7 @@ test('custom color theme is available and applied across theme controls', functi
|
||||
->toContain('border-color: var(--coollabs-hairline) !important;')
|
||||
->toContain('html[data-theme="custom"] input::placeholder')
|
||||
->toContain('color: var(--theme-placeholder-color) !important;')
|
||||
->toMatch('/html\[data-theme="custom"\] input::placeholder,[^{]+\{[^}]*opacity: 0\.7;/s')
|
||||
->toContain('html[data-theme="custom"] input:read-only')
|
||||
->and($deploymentLogs)
|
||||
->toContain('dark:bg-log')
|
||||
|
||||
Reference in new issue
Block a user