Skip to content

Commit

Permalink
Fix link colours inside <code> 🟠.
Browse files Browse the repository at this point in the history
  • Loading branch information
gmarty committed May 24, 2024
1 parent a554bdd commit 442ecbd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tailwind.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,11 @@ module.exports = {
DEFAULT: {
css: {
'--tw-prose-body': theme('colors.gray.900'),
'--tw-prose-links': theme('colors.primary.600'),
a: {
color: theme('colors.primary.600'),
'&:hover': {
color: `${theme('colors.primary.800')}`,
color: theme('colors.primary.800'),
},
code: { color: theme('colors.primary.400') },
},
'h1,h2,h3,h4,h5,h6': {
color: theme('colors.gray.900'),
Expand All @@ -42,12 +41,13 @@ module.exports = {
invert: {
css: {
'--tw-prose-body': theme('colors.gray.100'),
'--tw-prose-links': theme('colors.primary.500'),
a: {
color: theme('colors.primary.500'),
'&:hover': {
color: `${theme('colors.primary.300')}`,
color: theme('colors.primary.300'),
code: { color: theme('colors.primary.300') },
},
code: { color: theme('colors.primary.300') },
code: { color: theme('colors.primary.500') },
},
'h1,h2,h3,h4,h5,h6': {
color: theme('colors.gray.100'),
Expand Down

0 comments on commit 442ecbd

Please sign in to comment.