presseportale/tailwind.web.config.js
Kevin Adametz 5b8bdf4182
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (push) Waiting to run
12-05-2026 Frontend dev
2026-05-12 18:32:33 +02:00

89 lines
3.8 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>)",
// Custom Zinc Colors - Neutrale Grautöne ohne Blaustich
zinc: {
50: "var(--zinc-50)",
100: "var(--zinc-100)",
200: "var(--zinc-200)",
300: "var(--zinc-300)",
400: "var(--zinc-400)",
500: "var(--zinc-500)",
600: "var(--zinc-600)",
700: "var(--zinc-700)",
800: "var(--zinc-800)",
900: "var(--zinc-900)",
950: "var(--zinc-950)",
},
},
borderRadius: {
lg: "var(--radius)",
md: "calc(var(--radius) - 2px)",
sm: "calc(var(--radius) - 4px)",
},
},
},
plugins: [],
darkMode: "class",
};