aboutsummaryrefslogtreecommitdiffstats
path: root/tailwind.config.cjs
blob: 4ab8945fd0e3d4487066de4ab61a6e145fb496f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/** @type {import('tailwindcss').Config} */
module.exports = {
  content: [
    "./src/**/*.{html,js,svelte}",
    "./node_modules/stwui/**/*.{svelte,js,ts,html}",
  ],
  stwui: {
    themes: [
      "light",
      "dark",
      {
        mytheme: {
          primary: "#2563eb",
          default: "#333",
          danger: "#dc2626",
          surface: "#ffffff",
          background: "#F0F2F5",
          border: "#E8E9EC",
          hover: "#000000",
        },
      },
    ],
  },
  theme: {
    extend: {
      colors: {
        primary: "#F5F7FA",
        secondary: "#70757E",
        gradient: "#C3CFE2",
        lightgrey: "#EAECEF",
        grey: "#70757E",
      },
    },
  },
  plugins: [
    require("tailwind-scrollbar"),
    require("@tailwindcss/forms"),
    require("stwui/plugin"),
  ],
  safelist: ["w-16", "h-16", "w-20", "h-20", "w-24", "h-24"],
};