Skip to content

Commit

Permalink
build: optimize and harden css token imports
Browse files Browse the repository at this point in the history
  • Loading branch information
castastrophe committed Jan 10, 2025
1 parent 8aa7734 commit d392b20
Show file tree
Hide file tree
Showing 86 changed files with 14,582 additions and 21,041 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
"@webcomponents/webcomponentsjs": "^2.8.0",
"alex": "^11.0.1",
"cem-plugin-module-file-extensions": "^0.0.5",
"chalk": "^5.0.1",
"colors": "^1.4.0",
"chromatic": "^11.20.0",
"chromedriver": "^130.0.1",
"common-tags": "^1.8.2",
Expand Down
1 change: 0 additions & 1 deletion projects/documentation/src/components/large.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@import '@spectrum-web-components/styles/tokens/large-vars.css';
@import '@spectrum-web-components/styles/tokens/spectrum/custom-large-vars.css';
@import '@spectrum-web-components/styles/tokens/spectrum/large-vars.css';

:root {
Expand Down
1 change: 0 additions & 1 deletion projects/documentation/src/components/medium.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@import '@spectrum-web-components/styles/tokens/medium-vars.css';
@import '@spectrum-web-components/styles/tokens/spectrum/custom-medium-vars.css';
@import '@spectrum-web-components/styles/tokens/spectrum/medium-vars.css';

:root {
Expand Down
1 change: 1 addition & 0 deletions projects/documentation/src/components/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ governing permissions and limitations under the License.
@import '@spectrum-web-components/styles/tokens/global-vars.css';
@import '@spectrum-web-components/styles/tokens/spectrum/global-vars.css';
@import '@spectrum-web-components/styles/tokens/spectrum/custom-vars.css';
@import '@spectrum-web-components/styles/tokens/spectrum/system-theme-bridge.css';
@import '@spectrum-web-components/styles/src/spectrum-heading.css';
@import '@spectrum-web-components/styles/src/heading-overrides.css';
@import '@spectrum-web-components/styles/src/spectrum-body.css';
Expand Down
Loading

0 comments on commit d392b20

Please sign in to comment.