-
Notifications
You must be signed in to change notification settings - Fork 356
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(components): removing dep on needing style css file
- Loading branch information
github-actions
committed
Mar 13, 2024
1 parent
c63971f
commit cc5d218
Showing
11 changed files
with
23 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 0 additions & 4 deletions
4
libs/components/src/icon/_icon.scss → libs/components/src/icon/_icon.theme.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,3 @@ | ||
@use '@covalent/tokens' as tokens; | ||
@use './theme' as theme; | ||
@use './icon/icon' as icon; | ||
@use './skeleton/skeleton.styles' as skeleton; // TODO - should be a component for text and block | ||
@use './data-table/data-table.theme' as data-table; | ||
@import '../../icons/covalent-icons.css'; | ||
|
||
$theme-tokens: map-get(tokens.$tokens, 'theme'); | ||
$light-tokens: map-get($theme-tokens, 'light'); | ||
$light-colors: map-get($light-tokens, 'colors'); | ||
// Deprecated tokens | ||
$light-colors: map-merge($light-colors, map-get(tokens.$tokens, 'light')); | ||
$typography: map-get(tokens.$tokens, 'typography'); | ||
|
||
// Define the base theme using light tokens w/ dark tokens overriting for prefers-color-scheme:dark | ||
:root { | ||
@include theme.components-theme($light-colors, $typography); | ||
|
||
@include data-table.data-table-theme($light-colors); | ||
@include icon.core-styles(); // TODO - include future support in icons css | ||
@include skeleton.core-styles( | ||
|
||
); // TODO - should include support for text and block | ||
} | ||
@forward './theme' show components-theme; | ||
@forward './icon/icon.theme' show core-styles; | ||
@forward './data-table/data-table.theme' show data-table-theme; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters