Skip to content

Commit 880b37b

Browse files
feat(colors, link, tokens): DLT-3360 retune blue/gold/purple/black/red palette, add mention semantic tokens, migrate success to positive (#1245)
1 parent 8554f5a commit 880b37b

10 files changed

Lines changed: 772 additions & 315 deletions

File tree

.coderabbit.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,13 @@ reviews:
137137
- Token naming: camelCase with category prefix (dtColor*, dtSpace*,
138138
dtFontSize*, dtFontWeight*, dtShadow*, dtRadius*, dtSize*).
139139
140-
- New tokens must have dark mode overrides in dark.json.
140+
- New tokens may inherit from default.json when the same value is correct
141+
in dark mode. Add a dark.json override only when the dark theme value
142+
must differ from the default.
141143
142-
- Component tokens must reference semantic tokens, not base palette.
144+
- Prefer semantic tokens when a suitable mapping exists, but direct
145+
base-palette references are valid when they are the correct source of
146+
truth (e.g., a token tied to a specific palette stop).
143147
144148
- Flag any circular references or references to non-existent tokens.
145149

apps/dialtone-documentation/docs/.vuepress/theme/assets/less/dialtone-syntax.less

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,15 @@ div[class*="language-"] {
4040
}
4141
}
4242

43+
code:not(.d-code--md, .d-code--sm, .d-prose *) {
44+
padding: var(--dt-size-200) var(--dt-size-300);
45+
color: var(--dt-color-foreground-info);
46+
background-color: var(--dt-color-surface-info-subtle);
47+
border-radius: var(--dt-size-radius-200);
48+
user-select: all;
49+
}
50+
51+
4352
code[class*="language-"],
4453
pre[class*="language-"] {
4554
margin: 0;

apps/dialtone-documentation/docs/guides/mcp-server/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ Find CSS utility classes to style HTML elements. Use when your query mentions CS
117117

118118
**Tool:** `search_tokens`
119119

120-
Find design tokens (CSS variables) from Dialtone's design system. Use when your query mentions token categories (color, space, font, size) or semantic names (primary, success, foreground, background).
120+
Find design tokens (CSS variables) from Dialtone's design system. Use when your query mentions token categories (color, space, font, size) or semantic names (primary, positive, foreground, background).
121121

122122
**Example queries:**
123123

0 commit comments

Comments
 (0)