This repository has been archived by the owner on Aug 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 68
/
tailwind.config.js
101 lines (100 loc) · 2.36 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
/** @type {import('tailwindcss').Config} */
const defaultTheme = require("tailwindcss/defaultTheme");
const plugin = require("tailwindcss/plugin");
module.exports = {
content: [
"./components/**/*.{js,vue,ts}",
"./views/**/*.vue",
"./layouts/**/*.vue",
"./pages/**/*.vue",
"./plugins/**/*.{js,ts}",
"./utils/**/*.{js,ts}",
"./nuxt.config.{js,ts}",
"./app.vue",
],
theme: {
extend: {
fontFamily: {
sans: [`'Inter'`, ...defaultTheme.fontFamily.sans],
},
colors: {
gray: {
DEFAULT: "#f7f7f7",
secondary: "#75808a",
input: "#edeff2",
"input-focus": "#dfe3e7",
},
},
},
screens: {
xxs: "320px",
xs: "480px",
sm: "640px",
md: "720px",
lg: "1024px",
xl: "1280px",
"2xl": "1920px",
},
},
plugins: [
plugin(function ({ addBase, theme }) {
addBase({
".h1": {
fontSize: "32px",
fontWeight: theme("fontWeight.bold"),
lineHeight: theme("lineHeight.tight"),
paddingTop: theme("padding.5"),
paddingBottom: theme("padding.4"),
},
".h2": {
fontSize: "26px",
fontWeight: theme("fontWeight.bold"),
lineHeight: theme("lineHeight.tight"),
paddingTop: theme("padding.5"),
paddingBottom: theme("padding.4"),
},
});
}),
require("tailwindcss-themer")({
defaultTheme: {
extend: {
colors: {
primary: {
50: "#D9E3FF",
100: "#D9E3FF",
200: "#4075FF",
300: "#1755F4",
400: "#1650E5",
500: "#2663FF",
600: "#1347CC",
700: "#113EB2",
800: "#0C2C80",
900: "#071B4D",
},
},
},
},
themes: [
{
name: "lite",
extend: {
colors: {
primary: {
50: "#F3F5FF",
100: "#D9D9F9",
200: "#CBCBFF",
300: "#8C8DFC",
400: "#5D65B9",
500: "#53579f",
600: "#4E529A",
700: "#32325D",
800: "#27274E",
900: "#11142B",
},
},
},
},
],
}),
],
};