presseportale/tailwind.web.config.js
Kevin Adametz 405df0a122
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
first commit
2025-10-20 17:53:02 +02:00

74 lines
3.2 KiB
JavaScript

/**
* Tailwind-Konfiguration für Frontend (Web)
* - Domains: presseecho.test & businessportal24.test
* - Verwendet KEIN FluxUI
* - Vite-Port: 5178
* - Build-Verzeichnis: public/build/web
* - Theme-Unterschiede werden durch CSS-Variablen gesteuert
*/
const defaultTheme = require("tailwindcss/defaultTheme");
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./resources/views/web/**/*.blade.php",
"./resources/views/livewire/web/**/*.blade.php",
"./resources/views/livewire/web/components/**/*.blade.php",
"./app/Livewire/Web/**/*.php",
"./app/Livewire/Web/Components/**/*.php",
],
theme: {
extend: {
fontFamily: {
sans: ["Montserrat", ...defaultTheme.fontFamily.sans],
},
colors: {
// Theme-spezifische Farben mit CSS-Variablen (zusätzlich zu Standard-Farben)
background: "hsl(var(--background) / <alpha-value>)",
foreground: "hsl(var(--foreground) / <alpha-value>)",
card: {
DEFAULT: "hsl(var(--card) / <alpha-value>)",
foreground: "hsl(var(--card-foreground) / <alpha-value>)",
},
popover: {
DEFAULT: "hsl(var(--popover) / <alpha-value>)",
foreground: "hsl(var(--popover-foreground) / <alpha-value>)",
},
primary: {
DEFAULT: "hsl(var(--primary) / <alpha-value>)",
foreground: "hsl(var(--primary-foreground) / <alpha-value>)",
50: "hsl(var(--primary-50) / <alpha-value>)",
100: "hsl(var(--primary-100) / <alpha-value>)",
200: "hsl(var(--primary-200) / <alpha-value>)",
300: "hsl(var(--primary-300) / <alpha-value>)",
400: "hsl(var(--primary-400) / <alpha-value>)",
500: "hsl(var(--primary-500) / <alpha-value>)",
600: "hsl(var(--primary-600) / <alpha-value>)",
700: "hsl(var(--primary-700) / <alpha-value>)",
800: "hsl(var(--primary-800) / <alpha-value>)",
900: "hsl(var(--primary-900) / <alpha-value>)",
950: "hsl(var(--primary-950) / <alpha-value>)",
},
secondary: "hsl(var(--secondary) / <alpha-value>)",
muted: {
DEFAULT: "hsl(var(--muted) / <alpha-value>)",
foreground: "hsl(var(--muted-foreground) / <alpha-value>)",
},
destructive: {
DEFAULT: "hsl(var(--destructive) / <alpha-value>)",
foreground: "hsl(var(--destructive-foreground) / <alpha-value>)",
},
border: "hsl(var(--border) / <alpha-value>)",
input: "hsl(var(--input) / <alpha-value>)",
ring: "hsl(var(--ring) / <alpha-value>)",
},
borderRadius: {
lg: "var(--radius)",
md: "calc(var(--radius) - 2px)",
sm: "calc(var(--radius) - 4px)",
},
},
},
plugins: [],
darkMode: "class",
};