add asset handling and colors to configure.php

This commit is contained in:
awcodes
2022-09-01 14:59:18 -04:00
parent 9c767f2e8e
commit 845fc39a73
13 changed files with 602 additions and 131 deletions

21
tailwind.config.js Normal file
View File

@@ -0,0 +1,21 @@
const colors = require("tailwindcss/colors");
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./resources/views/**/*.blade.php", "./src/**/*.php"],
darkMode: "class",
theme: {
extend: {
colors: {
danger: colors.rose,
primary: colors.yellow,
success: colors.green,
warning: colors.amber,
},
},
},
corePlugins: {
preflight: false,
},
plugins: [],
};