mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2025-12-21 13:23:14 +01:00
* chore: remove unused lunr and add types for semver
* fix: try pinning using dlx
* chore: update typecheck command in package.json and clean up tailwind config
* chore: add vite as a dep
* fix: tests
* fix: wait for toast
* fix: use first
* feat: try adding waiting?
* fix: i was stupid
* fix: one day it will work (apple)
* fix: api
* fix: booleans are the enemy
* feat: try switching from blob to file
* Revert "feat: try switching from blob to file"
This reverts commit 3728b444e6.
130 lines
3.7 KiB
JavaScript
130 lines
3.7 KiB
JavaScript
/** @type {import('tailwindcss').Config} */
|
|
module.exports = {
|
|
darkMode: ["class"],
|
|
safelist: [
|
|
"dark",
|
|
"theme-aqua",
|
|
"theme-black",
|
|
"theme-bumblebee",
|
|
"theme-cmyk",
|
|
"theme-corporate",
|
|
"theme-cupcake",
|
|
"theme-cyberpunk",
|
|
"theme-dracula",
|
|
"theme-emerald",
|
|
"theme-fantasy",
|
|
"theme-forest",
|
|
"theme-garden",
|
|
"theme-halloween",
|
|
"theme-light",
|
|
"theme-lofi",
|
|
"theme-luxury",
|
|
"theme-pastel",
|
|
"theme-retro",
|
|
"theme-synthwave",
|
|
"theme-valentine",
|
|
"theme-wireframe",
|
|
"theme-autumn",
|
|
"theme-business",
|
|
"theme-acid",
|
|
"theme-lemonade",
|
|
"theme-night",
|
|
"theme-coffee",
|
|
"theme-winter",
|
|
],
|
|
prefix: "",
|
|
|
|
theme: {
|
|
container: {
|
|
center: true,
|
|
padding: "2rem",
|
|
screens: {
|
|
"2xl": "1400px",
|
|
},
|
|
},
|
|
extend: {
|
|
colors: {
|
|
border: "hsl(var(--border))",
|
|
input: "hsl(var(--input))",
|
|
ring: "hsl(var(--ring))",
|
|
background: "hsl(var(--background))",
|
|
"background-accent": "hsl(var(--background-accent))",
|
|
foreground: "hsl(var(--foreground))",
|
|
primary: {
|
|
DEFAULT: "hsl(var(--primary))",
|
|
foreground: "hsl(var(--primary-foreground))",
|
|
},
|
|
secondary: {
|
|
DEFAULT: "hsl(var(--secondary))",
|
|
foreground: "hsl(var(--secondary-foreground))",
|
|
},
|
|
destructive: {
|
|
DEFAULT: "hsl(var(--destructive))",
|
|
foreground: "hsl(var(--destructive-foreground))",
|
|
},
|
|
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))",
|
|
},
|
|
sidebar: {
|
|
DEFAULT: "hsl(var(--sidebar-background))",
|
|
foreground: "hsl(var(--sidebar-foreground))",
|
|
},
|
|
"sidebar-primary": {
|
|
DEFAULT: "hsl(var(--sidebar-primary))",
|
|
foreground: "hsl(var(--sidebar-primary-foreground))",
|
|
},
|
|
"sidebar-accent": {
|
|
DEFAULT: "hsl(var(--sidebar-accent))",
|
|
foreground: "hsl(var(--sidebar-accent-foreground))",
|
|
},
|
|
"sidebar-border": "hsl(var(--sidebar-border))",
|
|
"sidebar-ring": "hsl(var(--sidebar-ring))",
|
|
},
|
|
borderRadius: {
|
|
xl: "calc(var(--radius) + 4px)",
|
|
lg: "var(--radius)",
|
|
md: "calc(var(--radius) - 2px)",
|
|
sm: "calc(var(--radius) - 4px)",
|
|
},
|
|
keyframes: {
|
|
"accordion-down": {
|
|
from: { height: 0 },
|
|
to: { height: "var(--reka-accordion-content-height)" },
|
|
},
|
|
"accordion-up": {
|
|
from: { height: "var(--reka-accordion-content-height)" },
|
|
to: { height: 0 },
|
|
},
|
|
"collapsible-down": {
|
|
from: { height: 0 },
|
|
to: { height: "var(--reka-collapsible-content-height)" },
|
|
},
|
|
"collapsible-up": {
|
|
from: { height: "var(--reka-collapsible-content-height)" },
|
|
to: { height: 0 },
|
|
},
|
|
},
|
|
animation: {
|
|
"accordion-down": "accordion-down 0.2s ease-out",
|
|
"accordion-up": "accordion-up 0.2s ease-out",
|
|
"collapsible-down": "collapsible-down 0.2s ease-in-out",
|
|
"collapsible-up": "collapsible-up 0.2s ease-in-out",
|
|
},
|
|
},
|
|
},
|
|
plugins: [require("@tailwindcss/aspect-ratio"), require("@tailwindcss/typography"), require("tailwindcss-animate")],
|
|
};
|