Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Design tokens v3.1.0 #466

Merged
merged 6 commits into from
Aug 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions packages/design-tokens/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Changelog

## 3.1.0

### Added

- Comments added to tokens to document intended usage
- `layout.padding.hair` added to match `layout.margin.hair`
- New color tokens added:
- `surface.color.primary.default`
- `surface.color.primary.hover`
- `surface.color.primary.pressed`
- `surface.color.primary.disabled`
- `surface.color.secondary.default`
- `surface.color.secondary.hover`
- `surface.color.secondary.pressed`
- `surface.color.secondary.disabled`
- `surface.color.tertiary.default`
- `surface.color.tertiary.hover`
- `surface.color.tertiary.pressed`
- `surface.color.tertiary.disabled`

## 3.0.1

### Changed
Expand Down
172 changes: 169 additions & 3 deletions packages/design-tokens/build/cjs-prefixed/index.d.ts

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions packages/design-tokens/build/cjs-prefixed/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,24 @@ module.exports = {
"bcdsSurfaceColorPrimaryDangerButtonDefault": "#CE3E39",
"bcdsSurfaceColorPrimaryDangerButtonHover": "#A2312D",
"bcdsSurfaceColorPrimaryDangerButtonDisabled": "#EDEBE9",
"bcdsSurfaceColorPrimaryDefault": "#013366",
"bcdsSurfaceColorPrimaryHover": "#1E5189",
"bcdsSurfaceColorPrimaryPressed": "#01264C",
"bcdsSurfaceColorPrimaryDisabled": "#EDEBE9",
"bcdsSurfaceColorSecondaryButtonDefault": "#FFFFFF",
"bcdsSurfaceColorSecondaryButtonHover": "#EDEBE9",
"bcdsSurfaceColorSecondaryButtonDisabled": "#EDEBE9",
"bcdsSurfaceColorSecondaryDefault": "#FFFFFF",
"bcdsSurfaceColorSecondaryHover": "#EDEBE9",
"bcdsSurfaceColorSecondaryPressed": "#E0DEDC",
"bcdsSurfaceColorSecondaryDisabled": "#EDEBE9",
"bcdsSurfaceColorTertiaryButtonDefault": "rgba(255,255,255,0)",
"bcdsSurfaceColorTertiaryButtonHover": "#ECEAE8",
"bcdsSurfaceColorTertiaryButtonDisabled": "#EDEBE9",
"bcdsSurfaceColorTertiaryDefault": "#FFFFFF",
"bcdsSurfaceColorTertiaryHover": "#ECEAE8",
"bcdsSurfaceColorTertiaryPressed": "#E0DEDC",
"bcdsSurfaceColorTertiaryDisabled": "#EDEBE9",
"bcdsSurfaceColorMenusDefault": "#FFFFFF",
"bcdsSurfaceColorMenusHover": "#EDEBE9",
"bcdsSurfaceColorFormsDefault": "#FFFFFF",
Expand Down Expand Up @@ -70,6 +82,7 @@ module.exports = {
"bcdsLayoutBorderWidthMedium": "2px",
"bcdsLayoutBorderWidthLarge": "4px",
"bcdsLayoutPaddingNone": "0",
"bcdsLayoutPaddingHair": "0.125rem",
"bcdsLayoutPaddingXsmall": "0.25rem",
"bcdsLayoutPaddingSmall": "0.5rem",
"bcdsLayoutPaddingMedium": "1rem",
Expand Down
Loading