theme fixes

This commit is contained in:
Inhji 2023-06-27 22:05:14 +02:00
parent 787704d5cf
commit d200bca5b6
2 changed files with 12 additions and 3 deletions

View file

@ -81,6 +81,10 @@
.prose a {
@apply underline decoration-2 decoration-theme-primary hover:bg-theme-primary hover:text-theme-background transition;
}
.prose em {
@apply text-theme-quaternary;
}
}
@layer components {

View file

@ -21,21 +21,23 @@ module.exports = {
'--tw-prose-body': 'rgb(var(--color-foreground))',
'--tw-prose-links': 'rgb(var(--color-foreground))',
'--tw-prose-headings': 'rgb(var(--color-foreground))',
'--tw-prose-bold': 'rgb(var(--color-foreground))',
'--tw-prose-bold': 'rgb(var(--color-yellow1))',
'--tw-prose-quotes': 'rgb(var(--color-foreground))',
'--tw-prose-bullets': 'rgb(var(--color-primary))',
'--tw-prose-code': 'rgb(var(--color-base))',
'--tw-prose-pre-bg': 'rgb(var(--color-background1))',
'--tw-prose-quote-borders': 'rgb(var(--color-primary))',
'--tw-prose-counters': 'rgb(var(--color-foreground))',
'--tw-prose-invert-body': 'rgb(var(--color-foreground))',
'--tw-prose-invert-links': 'rgb(var(--color-foreground))',
'--tw-prose-invert-headings': 'rgb(var(--color-foreground))',
'--tw-prose-invert-bold': 'rgb(var(--color-foreground))',
'--tw-prose-invert-bold': 'rgb(var(--color-yellow))',
'--tw-prose-invert-quotes': 'rgb(var(--color-foreground))',
'--tw-prose-invert-bullets': 'rgb(var(--color-primary))',
'--tw-prose-invert-quote-borders': 'rgb(var(--color-primary))',
'--tw-prose-invert-code': 'rgb(var(--color-base))',
'--tw-prose-invert-pre-bg': 'rgb(var(--color-background1))'
'--tw-prose-invert-pre-bg': 'rgb(var(--color-background1))',
'--tw-prose-invert-counters': 'rgb(var(--color-foreground))',
}
}
},
@ -52,8 +54,11 @@ module.exports = {
secondary: 'rgb(var(--color-secondary) / <alpha-value>)',
secondary1: 'rgb(var(--color-secondary1) / <alpha-value>)',
tertiary: 'rgb(var(--color-blue) / <alpha-value>)',
tertiary1: 'rgb(var(--color-blue1) / <alpha-value>)',
quaternary: 'rgb(var(--color-purple) / <alpha-value>)',
quaternary1: 'rgb(var(--color-purple1) / <alpha-value>)',
quinary: 'rgb(var(--color-yellow) / <alpha-value>)',
quinary1: 'rgb(var(--color-yellow1) / <alpha-value>)',
heading: 'rgb(var(--color-heading) / <alpha-value>)'
}
}