We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e5801e commit b278cf3Copy full SHA for b278cf3
1 file changed
src/components/GradientType.svelte
@@ -72,11 +72,12 @@
72
border: 1px solid transparent;
73
padding: var(--size-2);
74
place-content: center;
75
- color: var(--text-2);
+ color: oklch(from var(--text-2) l c h / 50%);
76
}
77
78
- .switch:hover {
79
- background: var(--surface-1);
+ .switch:is(:hover, :focus-visble) {
+ border-color: var(--surface-3);
80
+ color: var(--text-1);
81
82
83
.switch:has(input:focus-visible) {
@@ -85,18 +86,7 @@
85
86
87
.switch:has(input:checked) {
88
color: var(--text-1);
- background: var(--surface-2);
89
- border-color: var(--surface-4);
90
- }
91
-
92
- @media (prefers-color-scheme: light) {
93
94
95
96
97
- .switch:has(input:checked) {
98
99
+ border-color: var(--link);
100
101
102
.switch > * {
0 commit comments