-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
64 lines (63 loc) · 2.72 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
/** @type {import('tailwindcss').Config} */
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
content: ['./web/templates/**/*.html'],
theme: {
extend: {
animation: {
blink: 'blink 1350ms step-end infinite',
},
colors: {
'tokyo': {
'dark-one': '#1B1E2C',
'dark-two': '#24283B',
'accent-one': '#1ABC9C',
'accent-two': '#DB4B4B',
'accent-three': '#E0AF68',
'accent-four': '#51A0CF',
'accent-five': '#9CCB69',
'accent-six': '#9375CA',
'accent-seven': '#DB4B4B10',
},
},
fontFamily: {
'sans': ['"IBM Plex Sans"', ...defaultTheme.fontFamily.sans],
'mono': ['"IBM Plex Mono"', ...defaultTheme.fontFamily.mono],
},
keyframes: {
blink : {
'0%, 85%': { opacity: '100%' },
'50%': { opacity: '0%' },
}
},
typography: ({ theme }) => ({
tokyo: {
css: {
'--tw-prose-body': 'rgb(255 255 255 / 90%)',
'--tw-prose-headings': theme("colors")['tokyo']['accent-five'],
'--tw-prose-lead': 'rgb(255 255 255 / 90%)',
'--tw-prose-links': theme("colors")['tokyo']['accent-four'],
'--tw-prose-bold': 'rgb(255 255 255 / 90%)',
'--tw-prose-counters': 'rgb(255 255 255 / 90%)',
'--tw-prose-bullets': 'rgb(255 255 255 / 90%)',
'--tw-prose-hr': theme("colors")['tokyo']['accent-five'],
'--tw-prose-quotes': 'rgb(255 255 255 / 90%)',
'--tw-prose-quote-borders': 'rgb(255 255 255 / 90%)',
'--tw-prose-captions': 'rgb(255 255 255 / 90%)',
'--tw-prose-kbd': 'rgb(255 255 255 / 90%)',
'--tw-prose-kbd-shadows': 'rgb(0 0 0 / 50%)',
'--tw-prose-code': 'rgb(255 255 255 / 90%)',
'--tw-prose-pre-code': theme("colors")['tokyo']['accent-one'],
'--tw-prose-pre-bg': theme("colors")['tokyo']['dark-one'],
'--tw-prose-th-borders': 'rgb(255 255 255 / 90%)',
'--tw-prose-td-borders': 'rgb(255 255 255 / 90%)',
},
},
}),
},
},
plugins: [
require('@tailwindcss/typography'),
],
darkMode: 'class',
}