force dark mode in Laravel Nova

This commit is contained in:
Benjamin Takats
2022-11-29 21:31:45 +01:00
parent 0c274f47ad
commit 0c6c44f224
8 changed files with 118 additions and 13 deletions

View File

@@ -2,14 +2,29 @@ const defaultTheme = require('tailwindcss/defaultTheme')
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
content: [
'./vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php',
'./vendor/laravel/jetstream/**/*.blade.php',
'./storage/framework/views/*.php',
'./resources/views/**/*.blade.php',
],
darkMode: 'class',
theme: {
theme: {
colors: {
'gray': {
DEFAULT: '#151515',
'50': '#AEAEAE',
'100': '#A4A4A4',
'200': '#8F8F8F',
'300': '#7B7B7B',
'400': '#676767',
'500': '#525252',
'600': '#3E3E3E',
'700': '#292929',
'800': '#151515',
'900': '#000000'
},
},
extend: {
fontFamily: {
sans: [
@@ -19,7 +34,7 @@ module.exports = {
},
},
},
plugins: [
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/typography')
],