Skip to content

Commit

Permalink
fix: attempt deployment of tailwind config
Browse files Browse the repository at this point in the history
  • Loading branch information
AxonC committed Mar 28, 2024
1 parent 2847ad0 commit 892853e
Showing 1 changed file with 54 additions and 13 deletions.
67 changes: 54 additions & 13 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,20 +1,61 @@
/** @type {import('tailwindcss').Config} */
import preset from './vendor/filament/support/tailwind.config.preset';

const colors = require('tailwindcss/colors');

module.exports = {
content: [
'./resources/**/*.blade.php',
'./vendor/filament/**/*.blade.php',
],
presets: [preset],
darkMode: 'class',
mode: 'jit',
theme: {
extend: {
colors: {
brand: '#25ADE3'
}
},
colors: {
// Core
brand: '#25ADE3',
transparent: 'transparent',
black: colors.black,
white: colors.white,

// Filament
current: 'currentColor',
custom: colors.sky,
primary: colors.sky,
secondary: colors.slate,
positive: colors.green,
success: colors.green,
warning: colors.amber,
negative: colors.red,
danger: colors.red,
info: colors.teal,

// Named
blue: colors.sky,
gray: colors.slate,
neutral: colors.neutral,
green: colors.green,
red: colors.red,
amber: colors.amber,
teal: colors.teal,
orange: colors.orange,
yellow: colors.yellow,
lime: colors.lime,
emerald: colors.emerald,
cyan: colors.cyan,
indigo: colors.indigo,
violet: colors.violet,
purple: colors.purple,
fuchsia: colors.fuchsia,
pink: colors.pink,
rose: colors.rose,
}
}, content: {
files: [
'./app/**/*.php',
'./resources/*.php',
'./resources/**/*.php',
"./resources/**/*.blade.php",
'./vendor/filament/**/*.blade.php',
'./storage/framework/views/*.php'
]
},
plugins: [
require('@tailwindcss/forms'),
],
}
plugins: [require("@tailwindcss/forms")],
};

0 comments on commit 892853e

Please sign in to comment.