Skip to content

Commit

Permalink
feat: starting exporting all themes
Browse files Browse the repository at this point in the history
  • Loading branch information
ggdaltoso committed Feb 23, 2024
1 parent 7bae39d commit d0468b8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions packages/core/components/ThemeProvider/theme.css.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { win95 } from './themes/win95.css';

export { win95 };
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createGlobalTheme } from '@vanilla-extract/css';
import { createGlobalTheme, createTheme } from '@vanilla-extract/css';

import { theme, generateShadows } from './baseTheme.css';
import { contract } from './contract.css';
Expand Down Expand Up @@ -27,6 +27,12 @@ const colors = {
inputBackgroundDisabled: '#d2d2d2',
};

export const win95 = createTheme(contract, {
...theme,
colors,
shadows: generateShadows(colors),
});

createGlobalTheme(':root', contract, {
...theme,
colors,
Expand Down

0 comments on commit d0468b8

Please sign in to comment.