-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
47 lines (46 loc) · 1.07 KB
/
tailwind.config.js
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
42
43
44
45
46
47
const defaultTheme = require("tailwindcss/defaultTheme");
const colors = require("tailwindcss/colors");
module.exports = {
purge: ["./src/**/*.{js,jsx,ts,tsx,css}", "./public/index.html"],
darkMode: "media",
theme: {
extend: {
colors: {
"light-blue": colors.lightBlue,
teal: colors.teal,
cyan: colors.cyan,
rose: colors.rose,
brands: {
"nhs-blue": "#005EB8",
"nice-black": "#222222",
"who-blue": "#0093d5",
"bnf-black": "#111820",
},
},
fontFamily: {
sans: ["Inter var", ...defaultTheme.fontFamily.sans],
},
transitionProperty: {
height: "height",
},
},
},
variants: {
extend: {
cursor: ["responsive", "disabled"],
backgroundColor: [
"responsive",
"group-hover",
"focus-within",
"hover",
"focus",
"disabled",
],
},
},
plugins: [
require("@tailwindcss/aspect-ratio"),
require("@tailwindcss/forms"),
require("@tailwindcss/line-clamp"),
],
};