Skip to content

Commit

Permalink
Fix link colours when 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 7465165
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 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')}`,
},
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')}`,
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 7465165

Please sign in to comment.