@cosxai/ui 0.2.3 → 0.2.4

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cosxai/ui",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "COSX design system — React 19 component primitives shared across product-meta and other consumers",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -17,6 +17,22 @@ body {
17
17
  transition: background-color 200ms var(--ck-ease), color 200ms var(--ck-ease);
18
18
  }
19
19
 
20
+ /* Anchor — defaults to the active chrome's accent + a clean
21
+ underline. Without this rule, the browser's visited-link
22
+ purple bleeds through any theme (most notably terminal /
23
+ editorial). Components that want different styling (NavItem,
24
+ TopBar nav, breadcrumbs, in-card secondary links) override
25
+ locally with a more-specific selector. */
26
+ a {
27
+ color: var(--ck-accent);
28
+ text-decoration: underline;
29
+ text-decoration-thickness: 1px;
30
+ text-underline-offset: 2px;
31
+ transition: color var(--ck-dur-fast) var(--ck-ease);
32
+ }
33
+ a:hover { color: var(--ck-accent-hover); }
34
+ a:visited { color: var(--ck-accent); }
35
+
20
36
  /* ---------- Typography utilities ---------- */
21
37
  .ck-h1 { font: 500 32px/1.2 var(--ck-font-sans); letter-spacing: -0.01em; color: var(--ck-text-primary); margin: 0; }
22
38
  .ck-h2 { font: 500 24px/1.3 var(--ck-font-sans); letter-spacing: -0.005em; color: var(--ck-text-primary); margin: 0; }