Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Commit

Permalink
feat: add stitches example congfig
Browse files Browse the repository at this point in the history
  • Loading branch information
lukerohanbailey committed Jan 4, 2022
1 parent 8b22656 commit 68aa2df
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions stitches.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { createStitches } from '@stitches/react';

export const {
styled,
css,
globalCss,
keyframes,
getCssText,
theme,
createTheme,
config,
} = createStitches({
theme: {
colors: {
gray400: 'gainsboro',
gray500: 'lightgray',
},
},
media: {
bp1: '(min-width: 480px)',
},
utils: {
marginX: (value) => ({ marginLeft: value, marginRight: value }),
},
});

0 comments on commit 68aa2df

Please sign in to comment.