-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
124 lines (124 loc) · 3.87 KB
/
index.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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
/** @type {import('tailwindcss').Config} */
module.exports = {
theme: {
extend: {
typography: ({ theme }) => ({
DEFAULT: {
css: {
'h1, h2, h3, h4': {
'font-weight': '600',
},
a: {
'font-weight': 'semibold',
'text-decoration': 'none',
'&:hover': {
'text-decoration': 'underline',
},
},
'ol li li': {
'list-style-type': 'lower-alpha',
},
'ol li li li': {
'list-style-type': 'lower-roman',
},
},
},
lg: {
css: {
h1: {
'font-size': '2em',
},
},
},
xl: {
css: {
h2: {
'font-size': '1.75em',
},
h3: {
'font-size': '1.35em',
},
h4: {
'font-size': '1.1em',
},
},
},
dark: {
css: {
'--tw-prose-body': theme('colors.cu-black[800]'),
'--tw-prose-headings': theme('colors.cu-black[700]'),
'--tw-prose-links': theme('colors.cu-red[DEFAULT]'),
'--tw-prose-bold': theme('colors.cu-black[900]'),
'--tw-prose-bullets': theme('colors.cu-black[500]'),
'--tw-prose-quotes': theme('colors.cu-red[100]'),
'--tw-prose-quote-borders': theme('colors.cu-red[DEFAULT]'),
},
},
light: {
css: {
'--tw-prose-body': theme('colors.white'),
'--tw-prose-headings': theme('colors.white'),
'--tw-prose-links': theme('colors.cu-red[DEFAULT]'),
'--tw-prose-bold': theme('colors.cu-black[100]'),
'--tw-prose-bullets': theme('colors.white'),
'--tw-prose-quotes': theme('colors.cu-red[200]'),
'--tw-prose-quote-borders': theme('colors.red[400]'),
},
},
}),
colors: {
'cu-red': {
DEFAULT: '#E91C24',
25: '#FEF4F4',
50: '#FDE9E9',
100: '#FBD6D7',
200: '#F7B1B4',
300: '#F48C90',
400: '#F0666C',
500: '#ED4148',
600: '#E91C24',
700: '#BB1219',
800: '#880D12',
900: '#55080B',
},
'cu-black': {
DEFAULT: '#000000',
25: '#F9F9F9',
50: '#F2F2F2',
100: '#e6e6e6',
200: '#cccccc',
300: '#b3b3b3',
400: '#999999',
500: '#808080',
600: '#666666',
700: '#4d4d4d',
800: '#333333',
900: '#191919',
},
},
gridTemplateColumns: {
'left-260': '260px auto',
},
backgroundImage: {
'cu-quote-white': 'url("https://cdn.carleton.ca/rds/assets/graphics/quote-white.svg")',
'cu-quote-red-10': 'url("https://cdn.carleton.ca/rds/assets/graphics/quote-red-10.svg")',
'cu-ravens-logo-white': 'url("https://cdn.carleton.ca/rds/assets/graphics/cu-ravens-logo-white.svg")',
'cu-waves-footer-red': "url('https://cdn.carleton.ca/rds/assets/graphics/cu-waves-footer-red.svg')",
'cu-waves-hard-edge-black': "url('https://cdn.carleton.ca/rds/assets/graphics/cu-waves-hard-edge-black.svg')",
'cu-waves-hard-edge-red': "url('https://cdn.carleton.ca/rds/assets/graphics/cu-waves-hard-edge-red.svg')",
'cu-waves-repeating-bottom-red':
"url('https://cdn.carleton.ca/rds/assets/graphics/cu-waves-repeating-bottom-red.svg')",
},
listStyleType: {
'lower-alpha': 'lower-alpha',
'lower-roman': 'lower-roman',
},
},
},
plugins: [
require('@tailwindcss/aspect-ratio'),
require('@tailwindcss/container-queries'),
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
],
};