theme fixes
This commit is contained in:
parent
787704d5cf
commit
d200bca5b6
2 changed files with 12 additions and 3 deletions
|
@ -81,6 +81,10 @@
|
||||||
.prose a {
|
.prose a {
|
||||||
@apply underline decoration-2 decoration-theme-primary hover:bg-theme-primary hover:text-theme-background transition;
|
@apply underline decoration-2 decoration-theme-primary hover:bg-theme-primary hover:text-theme-background transition;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.prose em {
|
||||||
|
@apply text-theme-quaternary;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@layer components {
|
@layer components {
|
||||||
|
|
|
@ -21,21 +21,23 @@ module.exports = {
|
||||||
'--tw-prose-body': 'rgb(var(--color-foreground))',
|
'--tw-prose-body': 'rgb(var(--color-foreground))',
|
||||||
'--tw-prose-links': 'rgb(var(--color-foreground))',
|
'--tw-prose-links': 'rgb(var(--color-foreground))',
|
||||||
'--tw-prose-headings': '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-quotes': 'rgb(var(--color-foreground))',
|
||||||
'--tw-prose-bullets': 'rgb(var(--color-primary))',
|
'--tw-prose-bullets': 'rgb(var(--color-primary))',
|
||||||
'--tw-prose-code': 'rgb(var(--color-base))',
|
'--tw-prose-code': 'rgb(var(--color-base))',
|
||||||
'--tw-prose-pre-bg': 'rgb(var(--color-background1))',
|
'--tw-prose-pre-bg': 'rgb(var(--color-background1))',
|
||||||
'--tw-prose-quote-borders': 'rgb(var(--color-primary))',
|
'--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-body': 'rgb(var(--color-foreground))',
|
||||||
'--tw-prose-invert-links': 'rgb(var(--color-foreground))',
|
'--tw-prose-invert-links': 'rgb(var(--color-foreground))',
|
||||||
'--tw-prose-invert-headings': '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-quotes': 'rgb(var(--color-foreground))',
|
||||||
'--tw-prose-invert-bullets': 'rgb(var(--color-primary))',
|
'--tw-prose-invert-bullets': 'rgb(var(--color-primary))',
|
||||||
'--tw-prose-invert-quote-borders': 'rgb(var(--color-primary))',
|
'--tw-prose-invert-quote-borders': 'rgb(var(--color-primary))',
|
||||||
'--tw-prose-invert-code': 'rgb(var(--color-base))',
|
'--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>)',
|
secondary: 'rgb(var(--color-secondary) / <alpha-value>)',
|
||||||
secondary1: 'rgb(var(--color-secondary1) / <alpha-value>)',
|
secondary1: 'rgb(var(--color-secondary1) / <alpha-value>)',
|
||||||
tertiary: 'rgb(var(--color-blue) / <alpha-value>)',
|
tertiary: 'rgb(var(--color-blue) / <alpha-value>)',
|
||||||
|
tertiary1: 'rgb(var(--color-blue1) / <alpha-value>)',
|
||||||
quaternary: 'rgb(var(--color-purple) / <alpha-value>)',
|
quaternary: 'rgb(var(--color-purple) / <alpha-value>)',
|
||||||
|
quaternary1: 'rgb(var(--color-purple1) / <alpha-value>)',
|
||||||
quinary: 'rgb(var(--color-yellow) / <alpha-value>)',
|
quinary: 'rgb(var(--color-yellow) / <alpha-value>)',
|
||||||
|
quinary1: 'rgb(var(--color-yellow1) / <alpha-value>)',
|
||||||
heading: 'rgb(var(--color-heading) / <alpha-value>)'
|
heading: 'rgb(var(--color-heading) / <alpha-value>)'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue