mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-26 17:26:23 +02:00
47 lines
953 B
TypeScript
47 lines
953 B
TypeScript
import { content, theme } from "@/tailwind.config";
|
|
import resolveConfig from "tailwindcss/resolveConfig";
|
|
import type { DefaultColors } from "tailwindcss/types/generated/colors";
|
|
|
|
export const fullTwConfig = resolveConfig({
|
|
content,
|
|
theme,
|
|
});
|
|
|
|
interface TailwindCustomColours extends DefaultColors {
|
|
border: string;
|
|
input: string;
|
|
ring: string;
|
|
background: string;
|
|
foreground: string;
|
|
primary: {
|
|
DEFAULT: string;
|
|
foreground: string;
|
|
};
|
|
secondary: {
|
|
DEFAULT: string;
|
|
foreground: string;
|
|
};
|
|
destructive: {
|
|
DEFAULT: string;
|
|
foreground: string;
|
|
};
|
|
muted: {
|
|
DEFAULT: string;
|
|
foreground: string;
|
|
};
|
|
accent: {
|
|
DEFAULT: string;
|
|
foreground: string;
|
|
};
|
|
popover: {
|
|
DEFAULT: string;
|
|
foreground: string;
|
|
};
|
|
card: {
|
|
DEFAULT: string;
|
|
foreground: string;
|
|
};
|
|
}
|
|
|
|
export const twColourConfig: TailwindCustomColours = fullTwConfig.theme
|
|
.colors as TailwindCustomColours;
|