Commit a1adc22
fix(ui-badge,ui-scripts): use primaryTextColor for primary badge text
Use componentTheme.primaryTextColor instead of componentTheme.color for the
primary badge text color, and tidy the generateStyle JSDoc.
Bump @instructure/instructure-design-tokens from v1.4.0 to v1.5.0.
instructure-design-tokens v1.5.0 release notes:
- Badge: reduced the fontSize token from textSm to textXs for a compact appearance.
- Badge: reduced the size token from 1.25rem to 1rem.
- Badge: added a new primaryTextColor token that references the inverse text color
(consumed by this change).
- Badge: applied to canvas and rebrand themes.
- BaseButton: updated all ghost background tokens to use the "color" token type
instead of "text" for consistency, and adjusted alpha values in new themes.
- BaseButton: institutional theming now works for secondary buttons.
- TruncateText: removed the lineHeight token.
- Sidenavbar: updated the globalNavLinkHover semantic color to use a navy shade
instead of grey, fixing menu item hover color in light theme.
Fixes INSTUI-5115
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 7ff3718 commit a1adc22
3 files changed
Lines changed: 11 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
47 | 46 | | |
48 | 47 | | |
49 | 48 | | |
| |||
78 | 77 | | |
79 | 78 | | |
80 | 79 | | |
81 | | - | |
| 80 | + | |
82 | 81 | | |
83 | 82 | | |
84 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments