Skip to content

Commit

Permalink
[docs] Add more selectors to global styles
Browse files Browse the repository at this point in the history
  • Loading branch information
rtivital committed Sep 9, 2022
1 parent 51c578a commit 680c0ca
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/src/docs/styles/global-styles.mdx
Expand Up @@ -30,6 +30,14 @@ function Demo() {
color: theme.colorScheme === 'dark' ? theme.colors.dark[0] : theme.black,
lineHeight: theme.lineHeight,
},

'.your-class': {
backgroundColor: 'red',
}

'#your-id > [data-active]': {
backgroundColor: 'pink'
}
})}
/>
);
Expand Down

0 comments on commit 680c0ca

Please sign in to comment.