forked from joemasilotti/railsdevs.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
redesign.config.js
85 lines (82 loc) · 1.98 KB
/
redesign.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
const defaultTheme = require("tailwindcss/defaultTheme")
const colors = require("tailwindcss/colors")
module.exports = {
plugins: [
require("@tailwindcss/forms"),
require("@tailwindcss/aspect-ratio"),
require("@tailwindcss/typography"),
require('@tailwindcss/line-clamp'),
],
content: [
"./app/assets/**/*.svg",
"./app/components/**/*.{rb,html,yml}?(+*)?(.erb)",
"./app/helpers/**/*.rb",
"./app/javascript/**/*.js",
"./app/models/field_error_tag_builder.rb",
"./app/views/**/*.html.erb",
"./config/utility_classes.yml"
],
theme: {
colors: {
transparent: "transparent",
current: "currentColor",
gray: colors.neutral,
white: colors.white,
navy: {
DEFAULT: "#141B2F",
mid: "#898D97",
lightest: "#E7E8EA"
},
salmon: {
dark: "#E71A04",
DEFAULT: "#FC6250",
mid: "#FEB1A7",
light: "#FFE7E5",
lighest: "#FFF7F6"
},
teal: {
dark: "#18766F",
DEFAULT: "#1E9188",
mid: "#8EC8C3",
lightest: "#E8F4F3"
},
green: {
dark: "#3B6039",
DEFAULT: "#80CB7B",
hover: "#93D28E",
mid: "#BFE5BD",
lightest: "#DFF2DE"
},
typography: {
DEFAULT: "#333333"
}
},
fontFamily: {
sans: ["DM Sans", ...defaultTheme.fontFamily.sans],
mono: ["Source Code Pro", "serif"],
heading: ["Poppins", ...defaultTheme.fontFamily.sans]
},
fontSize: {
"xs": ["12px", "18px"],
"sm": ["14px", "21px"],
"base": ["16px", "24px"],
"xl": ["20px", "30px"],
"2xl": ["24px", "36px"],
"3xl": ["30px", "45px"],
"4xl": ["36px", "54px"],
"5xl": ["54px", "81px"]
},
extend: {
animation: {
"reverse-spin": "reverse-spin 1.5s linear infinite"
},
keyframes: {
"reverse-spin": {
from: {
transform: "rotate(360deg)"
},
},
},
},
},
}