feat: Add an option to use darkMode only in the widget (#7151)

This commit is contained in:
Pranav Raj S
2023-05-21 20:35:05 -07:00
committed by GitHub
parent e3f4be97c0
commit b8dae07c0f
5 changed files with 20 additions and 4 deletions

View File

@@ -1,6 +1,7 @@
const { colors } = require('tailwindcss/defaultTheme');
module.exports = {
dark: 'class',
purge: [
'./app/javascript/widget/**/*.vue',
'./app/javascript/portal/**/*.vue',
@@ -11,6 +12,9 @@ module.exports = {
future: {
removeDeprecatedGapUtilities: true,
},
experimental: {
darkModeVariant: true,
},
theme: {
colors: {
white: colors.white,