Bumps stitches
This commit is contained in:
parent
7c7d1d317d
commit
303396cf05
3 changed files with 10 additions and 5 deletions
|
@ -18,7 +18,7 @@
|
|||
"lint": "next lint"
|
||||
},
|
||||
"dependencies": {
|
||||
"@stitches/react": "^0.2.3",
|
||||
"@stitches/react": "^1.0.0",
|
||||
"@tldraw/tldraw": "^0.0.57",
|
||||
"idb": "^6.1.2",
|
||||
"next": "^11.1.0",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { createCss, defaultThemeMap } from '@stitches/react'
|
||||
import { createStitches, defaultThemeMap } from '@stitches/react'
|
||||
|
||||
const { styled, css, theme, getCssString } = createCss({
|
||||
const { styled, css, createTheme, getCssText } = createStitches({
|
||||
themeMap: {
|
||||
...defaultThemeMap,
|
||||
},
|
||||
|
@ -99,7 +99,7 @@ const { styled, css, theme, getCssString } = createCss({
|
|||
},
|
||||
})
|
||||
|
||||
const dark = theme({
|
||||
const dark = createTheme({
|
||||
colors: {
|
||||
brushFill: 'rgba(180, 180, 180, .05)',
|
||||
brushStroke: 'rgba(180, 180, 180, .25)',
|
||||
|
@ -136,4 +136,4 @@ const dark = theme({
|
|||
|
||||
export default styled
|
||||
|
||||
export { css, getCssString, dark }
|
||||
export { css, getCssText, dark }
|
||||
|
|
|
@ -2689,6 +2689,11 @@
|
|||
resolved "https://registry.yarnpkg.com/@stitches/react/-/react-0.2.5.tgz#ad15b4e59ac2a0679542ba002d41253244be7dab"
|
||||
integrity sha512-RDVn89kW0R/M4q4TdYvsJ7nckFndzRWGGFJnEHbIH9flOpahtNdPsrxVSsZSjFpxeVqCoOxKujlQjiyRrec1VA==
|
||||
|
||||
"@stitches/react@^1.0.0":
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/@stitches/react/-/react-1.0.0.tgz#311413630d96a627ca28f44ebcc9179455cdb73a"
|
||||
integrity sha512-D0/YUbjuZ52Xd/ojT+TjyjZ7p/hBuPlOQ8VBahpMT6ElXriImhsb+RJwr31FP5HeN+y3wuGrRty6/VQjcHjlyA==
|
||||
|
||||
"@testing-library/dom@^8.0.0":
|
||||
version "8.2.0"
|
||||
resolved "https://registry.yarnpkg.com/@testing-library/dom/-/dom-8.2.0.tgz#ac46a1b9d7c81f0d341ae38fb5424b64c27d151e"
|
||||
|
|
Loading…
Reference in a new issue