2023-12-08 14:33:22 +01:00
|
|
|
/** @type {import('tailwindcss').Config} */
|
|
|
|
module.exports = {
|
|
|
|
darkMode: ["class"],
|
|
|
|
content: [
|
2024-02-10 13:30:53 +01:00
|
|
|
"./pages/**/*.{ts,tsx}",
|
|
|
|
"./components/**/*.{ts,tsx}",
|
|
|
|
"./app/**/*.{ts,tsx}",
|
|
|
|
"./src/**/*.{ts,tsx}",
|
|
|
|
],
|
2024-02-27 20:41:26 +01:00
|
|
|
safelist: [
|
|
|
|
{
|
2024-03-25 03:37:44 +01:00
|
|
|
pattern: /(outline|shadow)-severity_(alert|detection|significant_motion)/,
|
2024-02-27 20:41:26 +01:00
|
|
|
},
|
|
|
|
],
|
2023-12-08 14:33:22 +01:00
|
|
|
theme: {
|
|
|
|
container: {
|
|
|
|
center: true,
|
|
|
|
padding: "2rem",
|
|
|
|
screens: {
|
|
|
|
"2xl": "1400px",
|
|
|
|
},
|
|
|
|
},
|
2024-02-10 13:30:53 +01:00
|
|
|
fontFamily: {
|
|
|
|
sans: ['"Inter"', "sans-serif"],
|
|
|
|
},
|
2023-12-08 14:33:22 +01:00
|
|
|
extend: {
|
2024-02-10 13:30:53 +01:00
|
|
|
animation: {
|
|
|
|
"accordion-down": "accordion-down 0.2s ease-out",
|
|
|
|
"accordion-up": "accordion-up 0.2s ease-out",
|
2024-03-03 17:32:47 +01:00
|
|
|
move: "move 3s ease-in-out infinite",
|
|
|
|
scale1: "scale1 3s ease-in-out infinite",
|
|
|
|
scale2: "scale2 3s ease-in-out infinite",
|
|
|
|
scale3: "scale3 3s ease-in-out infinite",
|
|
|
|
scale4: "scale4 3s ease-in-out infinite",
|
2024-02-10 13:30:53 +01:00
|
|
|
},
|
|
|
|
aspectRatio: {
|
|
|
|
wide: "32 / 9",
|
2024-02-13 02:28:36 +01:00
|
|
|
tall: "8 / 9",
|
2024-02-10 13:30:53 +01:00
|
|
|
},
|
2023-12-08 14:33:22 +01:00
|
|
|
colors: {
|
|
|
|
border: "hsl(var(--border))",
|
|
|
|
input: "hsl(var(--input))",
|
|
|
|
ring: "hsl(var(--ring))",
|
2024-01-04 00:40:14 +01:00
|
|
|
danger: "#ef4444",
|
|
|
|
success: "#22c55e",
|
2023-12-08 14:33:22 +01:00
|
|
|
background: "hsl(var(--background))",
|
2024-04-10 00:49:14 +02:00
|
|
|
background_alt: "hsl(var(--background-alt))",
|
2023-12-08 14:33:22 +01:00
|
|
|
foreground: "hsl(var(--foreground))",
|
2024-04-10 01:19:31 +02:00
|
|
|
selected: {
|
|
|
|
DEFAULT: "hsl(var(--selected))",
|
|
|
|
foreground: "hsl(var(--selected-foreground))",
|
|
|
|
},
|
2023-12-08 14:33:22 +01:00
|
|
|
primary: {
|
|
|
|
DEFAULT: "hsl(var(--primary))",
|
|
|
|
foreground: "hsl(var(--primary-foreground))",
|
2024-04-19 13:34:07 +02:00
|
|
|
variant: "hsl(var(--primary-variant))",
|
2023-12-08 14:33:22 +01:00
|
|
|
},
|
|
|
|
secondary: {
|
|
|
|
DEFAULT: "hsl(var(--secondary))",
|
|
|
|
foreground: "hsl(var(--secondary-foreground))",
|
2024-03-03 04:59:50 +01:00
|
|
|
highlight: "hsl(var(--secondary-highlight))",
|
2023-12-08 14:33:22 +01:00
|
|
|
},
|
|
|
|
destructive: {
|
|
|
|
DEFAULT: "hsl(var(--destructive))",
|
|
|
|
foreground: "hsl(var(--destructive-foreground))",
|
|
|
|
},
|
2024-04-07 22:36:08 +02:00
|
|
|
warning: {
|
|
|
|
DEFAULT: "hsl(var(--warning))",
|
|
|
|
foreground: "hsl(var(--warning-foreground))",
|
|
|
|
},
|
2023-12-08 14:33:22 +01:00
|
|
|
muted: {
|
|
|
|
DEFAULT: "hsl(var(--muted))",
|
|
|
|
foreground: "hsl(var(--muted-foreground))",
|
|
|
|
},
|
|
|
|
accent: {
|
|
|
|
DEFAULT: "hsl(var(--accent))",
|
|
|
|
foreground: "hsl(var(--accent-foreground))",
|
|
|
|
},
|
|
|
|
popover: {
|
|
|
|
DEFAULT: "hsl(var(--popover))",
|
|
|
|
foreground: "hsl(var(--popover-foreground))",
|
|
|
|
},
|
|
|
|
card: {
|
|
|
|
DEFAULT: "hsl(var(--card))",
|
|
|
|
foreground: "hsl(var(--card-foreground))",
|
|
|
|
},
|
2024-02-21 00:22:59 +01:00
|
|
|
severity_alert: {
|
|
|
|
DEFAULT: "hsl(var(--severity_alert))",
|
|
|
|
dimmed: "hsl(var(--severity_alert_dimmed))",
|
|
|
|
},
|
|
|
|
severity_detection: {
|
|
|
|
DEFAULT: "hsl(var(--severity_detection))",
|
|
|
|
dimmed: "hsl(var(--severity_detection_dimmed))",
|
|
|
|
},
|
2024-03-25 03:37:44 +01:00
|
|
|
severity_significant_motion: {
|
|
|
|
DEFAULT: "hsl(var(--severity_significant_motion))",
|
|
|
|
dimmed: "hsl(var(--severity_significant_motion_dimmed))",
|
2024-02-21 00:22:59 +01:00
|
|
|
},
|
2024-03-04 17:42:51 +01:00
|
|
|
motion_review: {
|
|
|
|
DEFAULT: "hsl(var(--motion_review))",
|
2024-03-14 16:35:13 +01:00
|
|
|
dimmed: "hsl(var(--motion_review_dimmed))",
|
2024-03-04 17:42:51 +01:00
|
|
|
},
|
|
|
|
audio_review: {
|
|
|
|
DEFAULT: "hsl(var(--audio_review))",
|
|
|
|
},
|
2023-12-08 14:33:22 +01:00
|
|
|
},
|
|
|
|
keyframes: {
|
|
|
|
"accordion-down": {
|
|
|
|
from: { height: 0 },
|
|
|
|
to: { height: "var(--radix-accordion-content-height)" },
|
|
|
|
},
|
|
|
|
"accordion-up": {
|
|
|
|
from: { height: "var(--radix-accordion-content-height)" },
|
|
|
|
to: { height: 0 },
|
|
|
|
},
|
2024-03-03 17:32:47 +01:00
|
|
|
move: {
|
|
|
|
"50%": { left: "calc(100% - 7px)" },
|
|
|
|
},
|
|
|
|
scale1: {
|
|
|
|
"0%, 100%": { transform: "scale(1.3)" },
|
|
|
|
"10%, 90%": { transform: "scale(1.4)" },
|
|
|
|
"20%, 80%": { transform: "scale(1)" },
|
|
|
|
},
|
|
|
|
scale2: {
|
|
|
|
"20%, 80%": { transform: "scale(1.4)" },
|
|
|
|
"10%, 30%, 70%, 90%": { transform: "scale(1)" },
|
|
|
|
},
|
|
|
|
scale3: {
|
|
|
|
"30%, 70%": { transform: "scale(1.4)" },
|
|
|
|
"20%, 40%, 60%, 80%": { transform: "scale(1)" },
|
|
|
|
},
|
|
|
|
scale4: {
|
|
|
|
"50%": { transform: "scale(1.3)" },
|
|
|
|
"40%, 60%": { transform: "scale(1.4)" },
|
|
|
|
"30%, 70%": { transform: "scale(1)" },
|
|
|
|
},
|
2023-12-08 14:33:22 +01:00
|
|
|
},
|
2023-12-14 04:15:28 +01:00
|
|
|
screens: {
|
2024-02-10 13:30:53 +01:00
|
|
|
xs: "480px",
|
2023-12-31 14:35:15 +01:00
|
|
|
"2xl": "1440px",
|
|
|
|
"3xl": "1920px",
|
2024-01-31 13:29:18 +01:00
|
|
|
"4xl": "2560px",
|
2023-12-14 04:15:28 +01:00
|
|
|
},
|
2023-12-08 14:33:22 +01:00
|
|
|
},
|
|
|
|
},
|
|
|
|
plugins: [require("tailwindcss-animate")],
|
2024-02-10 13:30:53 +01:00
|
|
|
};
|