refactor(web): tailwind prose black

This commit is contained in:
Zack Spear
2023-10-04 22:18:24 -07:00
committed by Zack Spear
parent 65a69b2009
commit 9461a3e889

View File

@@ -150,7 +150,42 @@ export default <Partial<Config>>{
'--tw-prose-invert-pre-bg': theme('colors.beta'),
'--tw-prose-invert-th-borders': theme('colors.alpha'),
'--tw-prose-invert-td-borders': theme('colors.alpha'),
// ...
},
},
black: {
css: {
'--tw-prose-body': theme('colors.black'),
'--tw-prose-headings': theme('colors.black'),
'--tw-prose-lead': theme('colors.black'),
'--tw-prose-links': theme('colors.black'),
'--tw-prose-bold': theme('colors.black'),
'--tw-prose-counters': theme('colors.black'),
'--tw-prose-bullets': theme('colors.black'),
'--tw-prose-hr': theme('colors.black'),
'--tw-prose-quotes': theme('colors.black'),
'--tw-prose-quote-borders': theme('colors.black'),
'--tw-prose-captions': theme('colors.black'),
'--tw-prose-code': theme('colors.black'),
'--tw-prose-pre-code': theme('colors.black'),
'--tw-prose-pre-bg': theme('colors.black'),
'--tw-prose-th-borders': theme('colors.black'),
'--tw-prose-td-borders': theme('colors.black'),
'--tw-prose-invert-body': theme('colors.grey-darkest'),
'--tw-prose-invert-headings': theme('colors.grey-darkest'),
'--tw-prose-invert-lead': theme('colors.grey-darkest'),
'--tw-prose-invert-links': theme('colors.grey-darkest'),
'--tw-prose-invert-bold': theme('colors.grey-darkest'),
'--tw-prose-invert-counters': theme('colors.grey-darkest'),
'--tw-prose-invert-bullets': theme('colors.grey-darkest'),
'--tw-prose-invert-hr': theme('colors.grey-darkest'),
'--tw-prose-invert-quotes': theme('colors.grey-darkest'),
'--tw-prose-invert-quote-borders': theme('colors.grey-darkest'),
'--tw-prose-invert-captions': theme('colors.grey-darkest'),
'--tw-prose-invert-code': theme('colors.grey-darkest'),
'--tw-prose-invert-pre-code': theme('colors.grey-darkest'),
'--tw-prose-invert-pre-bg': 'rgb(0 0 0 / 50%)',
'--tw-prose-invert-th-borders': theme('colors.grey-darkest'),
'--tw-prose-invert-td-borders': theme('colors.grey-darkest'),
},
},
}),