Limit colors and re-use tailwind config in desktop
This commit is contained in:
parent
d8c356a008
commit
98ce0408f7
11 changed files with 43 additions and 22 deletions
21
crates/librqbit/webui/tailwind.config.ts
Normal file
21
crates/librqbit/webui/tailwind.config.ts
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
import colors from "tailwindcss/colors";
|
||||
|
||||
import type { Config } from "tailwindcss";
|
||||
|
||||
export default {
|
||||
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
|
||||
darkMode: "class",
|
||||
theme: {
|
||||
colors: {
|
||||
transparent: colors.transparent,
|
||||
amber: colors.amber,
|
||||
black: colors.black,
|
||||
blue: colors.blue,
|
||||
slate: colors.slate,
|
||||
white: colors.white,
|
||||
gray: colors.gray,
|
||||
green: colors.green,
|
||||
red: colors.red,
|
||||
},
|
||||
},
|
||||
} satisfies Config;
|
||||
Loading…
Add table
Add a link
Reference in a new issue