Skip to content

Commit fb432f3

Browse files
authored
Fix issue: black theme does not work. (#5)
1 parent dbd79ac commit fb432f3

File tree

2 files changed

+3100
-2
lines changed

2 files changed

+3100
-2
lines changed

src/Umbraco.Commerce.Checkout/Client/tailwind.config.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
module.exports = {
2-
mode: 'jit',
2+
mode: 'jit',
33
content: [
44
'../Views/UmbracoCommerceCheckout/**/*.cshtml',
55
'./src/scripts/**/*.js'
66
],
77
safelist: [
8+
// Make configurable theme colors safe
9+
{
10+
pattern: /(bg|text)-black/,
11+
variants: ['hover'],
12+
},
813
{
9-
// Make configurable theme colors safe
1014
pattern: /(bg|text)-(red|orange|yellow|green|teal|blue|indigo|purple|pink)-500/,
1115
variants: ['hover'],
1216
}

0 commit comments

Comments
 (0)