Skip to content

Commit

Permalink
enhance: CMD-182 design tokens (#372)
Browse files Browse the repository at this point in the history
* Initial tokens

* Revert "Initial tokens"

This reverts commit 0df274d.

* Updates since adding v3

* feat: CMD-182 save v3 design tokens

* fix: CMD-182 wrong tokens keys normal/medium

* fix: CMD-182 token format v4 isntead of v3

`format('style-dictionary3')`

Must I find/replace every time I update tokens? Grumble.

* fix: CMD-182 token groups not unique, -xx to 2x

* refactor: design-tokens, no rgb vars, rel. colors

* docs: CMD-182 do not suggest var in rgb

- not supported by Safari v15*
- not polyfilled by postcss-relative-color-syntax

* Supported by v16. Once v18 coems ut, we can use var in rgb, because we only need support latest 2 major versions of common browsers.

* fix: CMD-182 do not use var in rgb

- not supported by Safari v15*
- not polyfilled by postcss-relative-color-syntax

* Supported by v16. Once v18 coems ut, we can use var in rgb, because we only need support latest 2 major versions of common browsers.

* fix: CMD-182 tokens core-v3 traffic

* feat: CMD-182 tokens core-v3 light

* build: CMD-182 tokens core-v2 light

* feat: CMD-182 design tokens core-v3 (#375)

* feat: CMD-182 use tokens core-v3

* build: CMD-182 tokens core-v3 light

* chore: CMD-182 delete dist of deleted files

* enhance: CMD-182 revise color grid

- add fifth accent
- flatten color token names

* enhance: CMD-182 revise color grid

- add fifth accent
- flatten color token names

* feat: deprecate alt/weak accent colors

These are like the values TACC/tup-ui uses.

* enhance: std message colors for portals

* build: std message colors for portals

* fix: CMD-182 revert color grid, keep new names

* refactor: brand color tokens v1, v2, v3, ds

* fix: CMD-182 revert from v3 to v2 (prep for merge)

Prepare to merge to base, then return to v3 a smarter way.

* chore: CMD-182 remove explicit v2 dist

* docs: CMD-182 do not distinguish colors per client

All clients use the same colors now.

* chore: show deprecated colors as such in demo

* fix: show deprecated colors as such in demo

* fix: deprecated colors not loading

* fix: deprecated colors not loading (v3)

* chore: show more deprecated colors as such

* fix: deprecated `on-light`/`dark` colors wrong

* 2024-08-26 tokens

- Primitives: v1, v2, v3, ds
- Tokens: dark, light

* (for real) 2024-08-26 tokens 

- Primitives: v1, v2, v3, ds
- Tokens: dark, light

* refactor: rename src/build to src/buuild-styles

* renamed Primitive modes to match Token groups

* fix: CMD-182 build tokens from single Figma export

* chore: CMD-182 token build better logging

* fix: CMD-182 token build excluding ever more data

* feat: CMD-182 use new token files

* fix: CMD-182 rgb relative color syntax
  • Loading branch information
wesleyboar authored Sep 5, 2024
1 parent 6b7df08 commit 212f167
Show file tree
Hide file tree
Showing 50 changed files with 2,943 additions and 234 deletions.
3 changes: 3 additions & 0 deletions bin/build-tokens.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env node

require('../src/bin/build-tokens.js')();
2 changes: 1 addition & 1 deletion dist/core-styles.base.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/core-styles.cms.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/core-styles.demo.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/core-styles.docs.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/core-styles.header.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/core-styles.portal.css

Large diffs are not rendered by default.

Loading

0 comments on commit 212f167

Please sign in to comment.