Limit colors and re-use tailwind config in desktop

This commit is contained in:
Igor Katson 2023-12-16 19:15:09 +00:00
parent d8c356a008
commit 98ce0408f7
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
11 changed files with 43 additions and 22 deletions

View 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;