chore: improve contrast in dark mode

This commit is contained in:
Cory Dransfeldt 2023-05-31 12:59:01 -07:00
parent a7c23c38a4
commit 8c3fe2346a
No known key found for this signature in database
25 changed files with 113 additions and 72 deletions

View file

@ -20,29 +20,6 @@ module.exports = {
'cover-gradient':
'linear-gradient(180deg,transparent 0,rgba(0,0,0,.15) 70%,rgba(0,0,0,.5))',
},
typography: (theme) => ({
DEFAULT: {
css: {
a: {
color: theme('colors.purple.600'),
'&:hover': {
color: `${theme('colors.purple.500')} !important`,
},
code: { color: theme('colors.purple.500') },
},
pre: {
backgroundColor: theme('colors.gray.900'),
border: `1px solid ${theme('colors.gray.700')}`,
},
code: {
color: `${theme('colors.gray.50')} !important`,
backgroundColor: theme('colors.gray.900'),
borderRadius: '0.25rem',
padding: '0.25rem',
},
},
},
}),
},
},
corePlugins: {