Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Propriedade asChild nos componentes Button e Text #17

Merged
merged 9 commits into from
Feb 10, 2023
Prev Previous commit
Next Next commit
Adicionando exportação de tipagem CSS com as configurações do stitches
  • Loading branch information
Leandro Pedroso committed Feb 9, 2023
commit 7f8d7dc01c153a708c194ab9f333b76dc17a3a71
6 changes: 4 additions & 2 deletions packages/visu/stitches.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createStitches } from '@stitches/react'
import { CSS as StitchesCSS, createStitches } from '@stitches/react'

const metrics = {
0.5: '0.125rem', // 2px
Expand Down Expand Up @@ -90,7 +90,7 @@ const alertColors = {
alert700: '#663C00',
}

export const { styled, css } = createStitches({
export const { styled, css, config } = createStitches({
theme: {
colors: {
background: backgroundColor,
Expand Down Expand Up @@ -137,3 +137,5 @@ export const { styled, css } = createStitches({
},
},
})

export type CSS = StitchesCSS<typeof config>