forked from matter-labs/block-explorer
-
Notifications
You must be signed in to change notification settings - Fork 4
/
tailwind.config.js
67 lines (64 loc) · 1.5 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
const colors = require("tailwindcss/colors");
const defaultTheme = require("tailwindcss/defaultTheme");
module.exports = {
content: ["./src/**/*.{html,js,ts,vue}"],
theme: {
container: false,
extend: {
fontFamily: {
sans: ["Roboto", ...defaultTheme.fontFamily.sans],
mono: ["Roboto Mono", ...defaultTheme.fontFamily.mono],
},
colors: {
primary: {
50: "#F3F5FF",
100: "#D9D9F9",
200: "#CBCBFF",
300: "#8C8DFC",
400: "#5D65B9",
500: "#53579f",
600: "#4E529A",
700: "#32325D",
800: "#27274E",
900: "#11142B",
},
secondary: colors.yellow,
neutral: colors.gray,
success: colors.green,
error: colors.red,
warning: colors.yellow,
design: {
50: "#F3F5FF",
100: "#D9D9F9",
200: "#5089DD",
300: "#8C8DFC",
400: "#5D65B9",
500: "#53579f",
600: "#3C67E9",
700: "#D1D5DB",
800: "#1F2032",
900: "#53579F",
},
},
screens: {
xs: "480px",
"4xl": "1920px",
},
},
},
plugins: [
require("@tailwindcss/forms"),
function ({ addComponents }) {
addComponents({
".container": {
maxWidth: "90%",
marginLeft: "auto",
marginRight: "auto",
"@screen xl": {
maxWidth: "1240px",
},
},
});
},
],
};