zilliz-design-system 1.1.1 → 1.2.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/README.md CHANGED
@@ -13,7 +13,7 @@ skin awaiting design sign-off; the other three lines are empty shells.
13
13
  The public package is `zilliz-design-system`. Consumers must pin an exact version:
14
14
 
15
15
  ```bash
16
- pnpm add -E zilliz-design-system@1.0.1
16
+ pnpm add -E zilliz-design-system@1.2.0
17
17
  ```
18
18
 
19
19
  Do not use `latest`, `^`, `~`, Git branches, or raw commits. Supported CSS imports include:
@@ -172,7 +172,7 @@ zilliz-design-system/
172
172
  │ │ ├── semantic.css role names. The only layer components may reference
173
173
  │ │ ├── fonts.css Geist @font-face
174
174
  │ │ └── print.css CMYK / Pantone (empty — values must be set by a human)
175
- │ ├── tokens-studio/ W3C DTCG Dark-mode color + typography import package
175
+ │ ├── tokens-studio/ W3C DTCG Dark/Light color + typography import package
176
176
  │ ├── assets/
177
177
  │ │ ├── fonts/ Geist / Geist Mono woff2
178
178
  │ │ └── logos/ 312 logos from all four repos, sorted by what
@@ -3,6 +3,7 @@
3
3
  "primitives/color",
4
4
  "primitives/typography",
5
5
  "themes/dark",
6
+ "themes/light",
6
7
  "semantic/color",
7
8
  "semantic/typography"
8
9
  ]
@@ -7,6 +7,20 @@
7
7
  "primitives/color": "source",
8
8
  "primitives/typography": "source",
9
9
  "themes/dark": "enabled",
10
+ "themes/light": "disabled",
11
+ "semantic/color": "enabled",
12
+ "semantic/typography": "enabled"
13
+ }
14
+ },
15
+ {
16
+ "id": "56f34777-65c3-4e64-a27e-89ad9a9ba65f",
17
+ "name": "Light",
18
+ "group": "Mode",
19
+ "selectedTokenSets": {
20
+ "primitives/color": "source",
21
+ "primitives/typography": "source",
22
+ "themes/dark": "disabled",
23
+ "themes/light": "enabled",
10
24
  "semantic/color": "enabled",
11
25
  "semantic/typography": "enabled"
12
26
  }
@@ -101,6 +101,9 @@
101
101
  "palette": {
102
102
  "secondaryText": { "$value": "#b3b5c1", "$type": "color", "$description": "Current website dark secondary text; CSS: --ds-text-secondary" },
103
103
  "tertiaryText": { "$value": "#61626d", "$type": "color", "$description": "Current website dark tertiary text; CSS: --ds-text-tertiary" },
104
+ "lightSecondaryText": { "$value": "#514c48", "$type": "color", "$description": "Approved website light secondary text; CSS: --ds-text-secondary" },
105
+ "lightTertiaryText": { "$value": "#777169", "$type": "color", "$description": "Approved website light tertiary text; CSS: --ds-text-tertiary" },
106
+ "lightMutedText": { "$value": "#79726a", "$type": "color", "$description": "Approved website light muted text; CSS: --ds-text-muted" },
104
107
  "danger": { "$value": "#ec4e4e", "$type": "color", "$description": "CSS: --ds-danger" },
105
108
  "warning": { "$value": "#ffc300", "$type": "color", "$description": "CSS: --ds-warning" },
106
109
  "success": { "$value": "#4caf50", "$type": "color", "$description": "CSS: --ds-success" }
@@ -0,0 +1,42 @@
1
+ {
2
+ "theme": {
3
+ "surface": {
4
+ "page": { "$value": "{color.warm.100}", "$type": "color" },
5
+ "raised": { "$value": "{color.warm.50}", "$type": "color" },
6
+ "overlay": { "$value": "{color.neutral.000}", "$type": "color" },
7
+ "sunken": { "$value": "{color.warm.200}", "$type": "color" },
8
+ "hover": { "$value": "{color.alpha.ink.06}", "$type": "color" },
9
+ "active": { "$value": "{color.warm.300}", "$type": "color" },
10
+ "tabGroup": { "$value": "{color.warm.200}", "$type": "color" }
11
+ },
12
+ "text": {
13
+ "primary": { "$value": "{color.ink.900}", "$type": "color" },
14
+ "secondary": { "$value": "{color.palette.lightSecondaryText}", "$type": "color" },
15
+ "tertiary": { "$value": "{color.palette.lightTertiaryText}", "$type": "color" },
16
+ "muted": { "$value": "{color.palette.lightMutedText}", "$type": "color" },
17
+ "faint": { "$value": "{color.ink.400}", "$type": "color" },
18
+ "inverse": { "$value": "{color.neutral.000}", "$type": "color" },
19
+ "code": { "$value": "{color.ink.600}", "$type": "color" }
20
+ },
21
+ "border": {
22
+ "subtle": { "$value": "{color.alpha.ink.10}", "$type": "color" },
23
+ "default": { "$value": "{color.warm.300}", "$type": "color" },
24
+ "strong": { "$value": "{color.warm.900}", "$type": "color" },
25
+ "hover": { "$value": "{color.ink.400}", "$type": "color" },
26
+ "focus": { "$value": "{color.blue.650}", "$type": "color" }
27
+ },
28
+ "accent": {
29
+ "default": { "$value": "{color.blue.650}", "$type": "color" },
30
+ "hover": { "$value": "{color.blue.800}", "$type": "color" },
31
+ "subtle": { "$value": "{color.blue.100}", "$type": "color" },
32
+ "onAccent": { "$value": "{color.neutral.000}", "$type": "color" },
33
+ "glow": { "$value": "#3f46ff33", "$type": "color", "$description": "Source rgba(63,70,255,.20); CSS: --ds-accent-glow" }
34
+ },
35
+ "status": {
36
+ "danger": { "$value": "{color.palette.danger}", "$type": "color" },
37
+ "warning": { "$value": "{color.palette.warning}", "$type": "color" },
38
+ "success": { "$value": "{color.palette.success}", "$type": "color" },
39
+ "info": { "$value": "{color.blue.400}", "$type": "color" }
40
+ }
41
+ }
42
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zilliz-design-system",
3
- "version": "1.1.1",
3
+ "version": "1.2.0",
4
4
  "description": "Shared Zilliz design tokens, typography, assets, and product-line CSS skins.",
5
5
  "license": "MIT",
6
6
  "private": false,
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * The page sits on a WARM, yellow-leaning white, not pure white. Reference: the
7
7
  * BYOC landing page. Values come from the L1 --z-warm-* / --z-ink-* / --z-blue-*
8
- * ramps; no new decisions were made here.
8
+ * ramps plus the approved light text palette.
9
9
  *
10
10
  * ⚠️ The 24 existing components reference --z-* (hard-bound to dark) and therefore
11
11
  * DO NOT hold up under this skin. This file serves newly written components that
@@ -27,9 +27,9 @@
27
27
 
28
28
  /* ── Text: warm ink, never cold grey ──────────── */
29
29
  --ds-text-primary: var(--z-ink-900); /* #1c1917 headings, primary rows */
30
- --ds-text-secondary: var(--z-ink-700); /* #44403c body copy */
31
- --ds-text-tertiary: var(--z-ink-600); /* #57534e third-level supporting copy */
32
- --ds-text-muted: var(--z-ink-500); /* #78716c descriptions */
30
+ --ds-text-secondary: #514c48; /* body copy — 8.05:1 on page */
31
+ --ds-text-tertiary: #777169; /* supporting copy — 4.59:1 on page */
32
+ --ds-text-muted: #79726a; /* descriptions — 4.50:1 on page */
33
33
  --ds-text-faint: var(--z-ink-400); /* #a8a29e disabled, legal, placeholder */
34
34
  --ds-text-inverse: #ffffff; /* sits on accent */
35
35
  --ds-text-code: var(--z-ink-600); /* #57534e monospace body */
@@ -52,8 +52,9 @@
52
52
 
53
53
  /* ── Contrast (against #faf9f6, measured) ─────────
54
54
  * text-primary 16.6 ✓ AA
55
- * text-secondary 9.8 ✓ AA
56
- * text-muted 4.6 ✓ AA (only just — do not lighten further)
55
+ * text-secondary 8.1 ✓ AA
56
+ * text-tertiary 4.6 ✓ AA
57
+ * text-muted 4.5 ✓ AA (only just — do not lighten further)
57
58
  * text-faint 2.4 ✗ —— disabled states and pure decoration ONLY.
58
59
  * Use text-muted for legal copy and footnotes.
59
60
  * accent as text 5.7 ✓ AA | white on accent 6.0 ✓ AA