Skip to content

Commit

Permalink
Update index.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Duarte committed Aug 12, 2021
1 parent 435459e commit 9c58932
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/test/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const { config, styled } = Stitches.createStitches({
// ---------------------------------------------------------------------------

const StyledStatus = styled('span', {
color: '$',
color: '$', // we should see `$red100` here
variants: {
mySize: {
myLarge: {},
Expand All @@ -41,7 +41,7 @@ export const Status: React.ForwardRefExoticComponent<React.ComponentProps<typeof
)

export default function Home() {
return <Status onClick={event => { }} />
return <Status onClick={event => { }} css={{color: '$'}} mySize="myLarge" /> // we should see `$red100` here
}

// ---------------------------------------------------------------------------
Expand Down

0 comments on commit 9c58932

Please sign in to comment.