@cocso-ui/css 1.3.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/tailwind4.css +2 -0
- package/theme-dark.css +9 -0
- package/token.css +2 -0
package/package.json
CHANGED
package/tailwind4.css
CHANGED
|
@@ -176,6 +176,8 @@
|
|
|
176
176
|
--color-interactive-info-hover: var(--cocso-color-interactive-info-hover);
|
|
177
177
|
--color-interactive-info-active: var(--cocso-color-interactive-info-active);
|
|
178
178
|
--color-interactive-info-hover-subtle: var(--cocso-color-interactive-info-hover-subtle);
|
|
179
|
+
--color-interactive-info-text: var(--cocso-color-interactive-info-text);
|
|
180
|
+
--color-interactive-info-text-hover: var(--cocso-color-interactive-info-text-hover);
|
|
179
181
|
--color-focus-ring: var(--cocso-color-focus-ring);
|
|
180
182
|
--color-feedback-danger: var(--cocso-color-feedback-danger);
|
|
181
183
|
--color-feedback-danger-subtle: var(--cocso-color-feedback-danger-subtle);
|
package/theme-dark.css
CHANGED
|
@@ -76,6 +76,15 @@
|
|
|
76
76
|
--cocso-color-interactive-neutral-hover: var(--cocso-color-neutral-700);
|
|
77
77
|
--cocso-color-interactive-neutral-active: var(--cocso-color-neutral-600);
|
|
78
78
|
|
|
79
|
+
/* Interactive — info as text (Link). The `interactive-info` fills above keep
|
|
80
|
+
their hue in both themes because a saturated accent reads on either
|
|
81
|
+
surface, but Link paints *text* with them, and there the ramp runs the
|
|
82
|
+
wrong way: on a dark surface `info-500` is 4.05:1 and the `info-700`
|
|
83
|
+
hover state is 1.74:1, so hovering a link nearly erased it. These two
|
|
84
|
+
carry the light theme's values unchanged and flip here. */
|
|
85
|
+
--cocso-color-interactive-info-text: var(--cocso-color-info-300);
|
|
86
|
+
--cocso-color-interactive-info-text-hover: var(--cocso-color-info-200);
|
|
87
|
+
|
|
79
88
|
/* Focus ring */
|
|
80
89
|
--cocso-color-focus-ring: var(--cocso-color-primary-50);
|
|
81
90
|
|
package/token.css
CHANGED
|
@@ -199,6 +199,8 @@
|
|
|
199
199
|
--cocso-color-interactive-info-hover: var(--cocso-color-info-600);
|
|
200
200
|
--cocso-color-interactive-info-active: var(--cocso-color-info-700);
|
|
201
201
|
--cocso-color-interactive-info-hover-subtle: var(--cocso-color-info-400);
|
|
202
|
+
--cocso-color-interactive-info-text: var(--cocso-color-info-500);
|
|
203
|
+
--cocso-color-interactive-info-text-hover: var(--cocso-color-info-700);
|
|
202
204
|
--cocso-color-focus-ring: var(--cocso-color-primary-950);
|
|
203
205
|
--cocso-color-feedback-danger: var(--cocso-color-danger-500);
|
|
204
206
|
--cocso-color-feedback-danger-subtle: var(--cocso-color-danger-50);
|