mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-27 01:36:30 +02:00
Initial commit
This commit is contained in:
commit
55332d1ddb
168 changed files with 18456 additions and 0 deletions
47
apps/web/lib/twConfig.ts
Normal file
47
apps/web/lib/twConfig.ts
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue