Skip to content

Commit

Permalink
backstage: Update components to depend on token dictionary
Browse files Browse the repository at this point in the history
  • Loading branch information
notlee committed Nov 7, 2024
1 parent 2d53556 commit 7f64075
Show file tree
Hide file tree
Showing 71 changed files with 41 additions and 15,574 deletions.
3 changes: 2 additions & 1 deletion components/o3-button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
},
"private": false,
"peerDependencies": {
"@financial-times/o3-foundation": "^2.0.0"
"@financial-times/o3-foundation": "^2.0.0",
"@financial-times/origami-dictionary": "^0.0.0"
},
"devDependencies": {
"@financial-times/o3-figma-sb-links": "^0.0.0"
Expand Down
2 changes: 1 addition & 1 deletion components/o3-button/src/css/brands/core.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@import '@financial-times/o3-foundation/css/core.css';
@import '../tokens/core/o3-button/_variables.css';
@import '@financial-times/origami-dictionary/css/core/o3-button.css';
@import '../../../main.css';
2 changes: 1 addition & 1 deletion components/o3-button/src/css/brands/internal.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@import '@financial-times/o3-foundation/css/internal.css';
@import '../tokens/internal/o3-button/_variables.css';
@import '@financial-times/origami-dictionary/css/internal/o3-button.css';
@import '../../../main.css';
2 changes: 1 addition & 1 deletion components/o3-button/src/css/brands/professional.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@import '@financial-times/o3-foundation/css/professional.css';
@import '../tokens/core/professional/o3-button/_variables.css';
@import '@financial-times/origami-dictionary/css/professional/o3-button.css';
@import '../../../main.css';
2 changes: 1 addition & 1 deletion components/o3-button/src/css/brands/sustainable-views.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@import '@financial-times/o3-foundation/css/sustainable-views.css';
@import '../tokens/sustainable-views/o3-button/_variables.css';
@import '@financial-times/origami-dictionary/css/sustainable-views/o3-button.css';
@import '../../../main.css';
2 changes: 1 addition & 1 deletion components/o3-button/src/css/brands/whitelabel.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@import '@financial-times/o3-foundation/css/whitelabel.css';
@import '../tokens/whitelabel/o3-button/_variables.css';
@import '@financial-times/origami-dictionary/css/whitelabel/o3-button.css';
@import '../../../main.css';
115 changes: 0 additions & 115 deletions components/o3-button/src/css/tokens/core/o3-button/_variables.css

This file was deleted.

This file was deleted.

115 changes: 0 additions & 115 deletions components/o3-button/src/css/tokens/internal/o3-button/_variables.css

This file was deleted.

Loading

0 comments on commit 7f64075

Please sign in to comment.