Skip to content

Commit

Permalink
enhanced CSS test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
thescientist13 committed Dec 10, 2024
1 parent c4e0f4e commit 9256ddf
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
},
"dependencies": {
"@spectrum-css/card": "^9.3.0",
"@spectrum-css/tokens": "^14.6.0",
"@spectrum-web-components/action-menu": "^1.0.1",
"@spectrum-web-components/button": "^1.0.1",
"@spectrum-web-components/menu": "^1.0.1",
Expand Down
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

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

3 changes: 2 additions & 1 deletion src/spectrum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ import '@spectrum-web-components/menu/sp-menu-divider.js';
import '@spectrum-web-components/menu/sp-menu-group.js';

import SpectrumCard from '@spectrum-css/card' with { type: 'css' };
import SpectrumTokens from "@spectrum-css/tokens" with { type: "css" };

console.log({ SpectrumCard });
console.log({ SpectrumCard, SpectrumTokens });
2 changes: 1 addition & 1 deletion src/styles/main.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import url('../../node_modules/@spectrum-web-components/styles/all-large-dark.css');
@import url('/node_modules/@spectrum-web-components/styles/all-large-dark.css');

:root, :host {
--color-white: white;
Expand Down

0 comments on commit 9256ddf

Please sign in to comment.