This repository has been archived by the owner on Jul 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.ts
92 lines (91 loc) · 2.98 KB
/
tailwind.config.ts
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
// @ts-ignore
import tailwindScrollbar from 'tailwind-scrollbar';
import type { Config } from 'tailwindcss';
import colors from 'tailwindcss/colors';
const config: Config = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
],
darkMode: 'class',
theme: {
fontFamily: {
squarified: ['var(--font-squarified)', 'Arial', 'sans-serif'],
retro: ['var(--font-retro)', 'Arial', 'sans-serif'],
gothic: ['var(--font-gothic)', 'Arial', 'sans-serif'],
},
letterSpacing: {
normal: '.2em',
},
screens: {
'2xs': '480px',
xs: '580px',
sm: '768px',
md: '950px',
lg: '1140px',
xl: '1330px',
'2xl': '1515px',
},
fontSize: {
xs: '0.672rem',
sm: '0.83rem',
base: '1rem',
lg: '1.172rem',
xl: '1.5rem',
'2xl': '2.125rem',
'3xl': '2.75rem',
'4xl': '4rem',
},
colors: {
transparent: colors.transparent,
black: colors.black,
white: colors.white,
red: '#EB1616',
primary: '#3E3E3E',
secondary: '#4FB848',
highlight: '#E5C46B',
background: 'var(--color-background)',
bgSt: 'var(--color-background-stroke)',
},
extend: {
backgroundImage: {
cw3: `url('/img/icons/cw3.svg')`,
cw3_h: `url('/img/icons/cw3-h.svg')`,
github: `url('/img/icons/github.svg')`,
github_h: `url('/img/icons/github-h.svg')`,
x: `url('/img/icons/x.svg')`,
x_h: `url('/img/icons/x-h.svg')`,
search: `url('/img/icons/search.svg')`,
search_h: `url('/img/icons/search-h.svg')`,
hide: `url('/img/icons/navbar/hide.png')`,
hide_h: `url('/img/icons/navbar/hide-h.png')`,
info: `url('/img/icons/info.svg')`,
info_h: `url('/img/icons/info-h.svg')`,
info_a: `url('/img/icons/info-a.svg')`,
close: `url('/img/icons/close.svg')`,
close_h: `url('/img/icons/close-h.svg')`,
close_a: `url('/img/icons/close-a.svg')`,
plus: `url('/img/icons/plus.svg')`,
plus_h: `url('/img/icons/plus-h.svg')`,
plus_a: `url('/img/icons/plus-a.svg')`,
triangle: `url('/img/icons/triangle.svg')`,
triangle_h: `url('/img/icons/triangle-h.svg')`,
triangle_a: `url('/img/icons/triangle-a.svg')`,
},
transitionProperty: {
width: 'width',
},
boxShadow: {
'3xl': '0 0 .5rem #E5C46B,0 0 .5rem #E5C46B,0 0 2rem #E5C46B',
'2xl': '0 0 .25rem #E5C46B,0 0 .25rem #E5C46B,0 0 1rem #E5C46B',
button: '0 0 .125rem #000,0 0 .125rem #000,0 .5rem .5rem #000',
'button-highlight': '0 0 .125rem #3E3E3E,0 0 .125rem #3E3E3E,0 .5rem .5rem #3E3E3E',
'button-greenlight': '0 0 .125rem #4FB848,0 0 .125rem #4FB848,0 .5rem .5rem #4FB848',
line: '0 0 .125rem #000,0 .25rem .125rem #000,0 .5rem .5rem #000',
},
},
},
plugins: [tailwindScrollbar({})],
};
export default config;