2023-12-08 07:33:22 -06:00
|
|
|
/** @type {import('tailwindcss').Config} */
|
|
|
|
module.exports = {
|
|
|
|
darkMode: ["class"],
|
|
|
|
content: [
|
2024-02-10 06:30:53 -06:00
|
|
|
"./pages/**/*.{ts,tsx}",
|
|
|
|
"./components/**/*.{ts,tsx}",
|
|
|
|
"./app/**/*.{ts,tsx}",
|
|
|
|
"./src/**/*.{ts,tsx}",
|
|
|
|
],
|
2024-02-27 13:41:26 -06:00
|
|
|
safelist: [
|
|
|
|
{
|
2024-03-24 21:37:44 -05:00
|
|
|
pattern: /(outline|shadow)-severity_(alert|detection|significant_motion)/,
|
2024-02-27 13:41:26 -06:00
|
|
|
},
|
|
|
|
],
|
2023-12-08 07:33:22 -06:00
|
|
|
theme: {
|
|
|
|
container: {
|
|
|
|
center: true,
|
|
|
|
padding: "2rem",
|
|
|
|
screens: {
|
|
|
|
"2xl": "1400px",
|
|
|
|
},
|
|
|
|
},
|
2024-02-10 06:30:53 -06:00
|
|
|
fontFamily: {
|
|
|
|
sans: ['"Inter"', "sans-serif"],
|
|
|
|
},
|
2023-12-08 07:33:22 -06:00
|
|
|
extend: {
|
2024-02-10 06:30:53 -06:00
|
|
|
animation: {
|
|
|
|
"accordion-down": "accordion-down 0.2s ease-out",
|
|
|
|
"accordion-up": "accordion-up 0.2s ease-out",
|
2024-03-03 10:32:47 -06: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 06:30:53 -06:00
|
|
|
},
|
|
|
|
aspectRatio: {
|
|
|
|
wide: "32 / 9",
|
2024-02-12 19:28:36 -06:00
|
|
|
tall: "8 / 9",
|
2024-02-10 06:30:53 -06:00
|
|
|
},
|
2023-12-08 07:33:22 -06:00
|
|
|
colors: {
|
|
|
|
border: "hsl(var(--border))",
|
|
|
|
input: "hsl(var(--input))",
|
|
|
|
ring: "hsl(var(--ring))",
|
2024-01-03 17:40:14 -06:00
|
|
|
danger: "#ef4444",
|
|
|
|
success: "#22c55e",
|
2023-12-08 07:33:22 -06:00
|
|
|
background: "hsl(var(--background))",
|
2024-04-09 17:49:14 -05:00
|
|
|
background_alt: "hsl(var(--background-alt))",
|
2023-12-08 07:33:22 -06:00
|
|
|
foreground: "hsl(var(--foreground))",
|
2024-04-09 18:19:31 -05:00
|
|
|
selected: {
|
|
|
|
DEFAULT: "hsl(var(--selected))",
|
|
|
|
foreground: "hsl(var(--selected-foreground))",
|
|
|
|
},
|
2023-12-08 07:33:22 -06:00
|
|
|
primary: {
|
|
|
|
DEFAULT: "hsl(var(--primary))",
|
|
|
|
foreground: "hsl(var(--primary-foreground))",
|
2024-04-19 06:34:07 -05:00
|
|
|
variant: "hsl(var(--primary-variant))",
|
2023-12-08 07:33:22 -06:00
|
|
|
},
|
|
|
|
secondary: {
|
|
|
|
DEFAULT: "hsl(var(--secondary))",
|
|
|
|
foreground: "hsl(var(--secondary-foreground))",
|
2024-03-02 21:59:50 -06:00
|
|
|
highlight: "hsl(var(--secondary-highlight))",
|
2023-12-08 07:33:22 -06:00
|
|
|
},
|
|
|
|
destructive: {
|
|
|
|
DEFAULT: "hsl(var(--destructive))",
|
|
|
|
foreground: "hsl(var(--destructive-foreground))",
|
|
|
|
},
|
2024-04-07 15:36:08 -05:00
|
|
|
warning: {
|
|
|
|
DEFAULT: "hsl(var(--warning))",
|
|
|
|
foreground: "hsl(var(--warning-foreground))",
|
|
|
|
},
|
2023-12-08 07:33:22 -06: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-20 17:22:59 -06: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-24 21:37:44 -05:00
|
|
|
severity_significant_motion: {
|
|
|
|
DEFAULT: "hsl(var(--severity_significant_motion))",
|
|
|
|
dimmed: "hsl(var(--severity_significant_motion_dimmed))",
|
2024-02-20 17:22:59 -06:00
|
|
|
},
|
2024-03-04 10:42:51 -06:00
|
|
|
motion_review: {
|
|
|
|
DEFAULT: "hsl(var(--motion_review))",
|
2024-03-14 10:35:13 -05:00
|
|
|
dimmed: "hsl(var(--motion_review_dimmed))",
|
2024-03-04 10:42:51 -06:00
|
|
|
},
|
|
|
|
audio_review: {
|
|
|
|
DEFAULT: "hsl(var(--audio_review))",
|
|
|
|
},
|
2024-07-10 07:04:02 -05:00
|
|
|
neutral: {
|
|
|
|
DEFAULT: "hsl(var(--neutral))",
|
|
|
|
},
|
|
|
|
neutral_variant: {
|
|
|
|
DEFAULT: "hsl(var(--neutral_variant))",
|
|
|
|
},
|
2023-12-08 07:33:22 -06: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 10:32:47 -06: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 07:33:22 -06:00
|
|
|
},
|
2023-12-13 21:15:28 -06:00
|
|
|
screens: {
|
2024-02-10 06:30:53 -06:00
|
|
|
xs: "480px",
|
2023-12-31 07:35:15 -06:00
|
|
|
"2xl": "1440px",
|
|
|
|
"3xl": "1920px",
|
2024-04-30 19:35:23 -05:00
|
|
|
"2k": "2560px",
|
|
|
|
"4k": "3180px",
|
2023-12-13 21:15:28 -06:00
|
|
|
},
|
2023-12-08 07:33:22 -06:00
|
|
|
},
|
|
|
|
},
|
2024-06-03 13:43:30 -05:00
|
|
|
plugins: [
|
|
|
|
require("tailwindcss-animate"),
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
|
|
require("tailwind-scrollbar")({ nocompatible: true }),
|
|
|
|
],
|
2024-02-10 06:30:53 -06:00
|
|
|
};
|