-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtailwind.config.cjs
40 lines (40 loc) · 1.25 KB
/
tailwind.config.cjs
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
module.exports = {
mode: 'jit',
content: ['./src/**/*.{ts,tsx}'],
/* Class name license_permalink can not be found by tailwind in the source files. It appears in the embed html sent by edu-sharing at runtime. This prevents tailwind from tree-shaking it. */
safelist: ['license_permalink'],
prefix: 'edusharing-',
// Note: Commented out because it leads to error during webpack somehow. Maybe we do not need this anyway?
// plugins: [require('@tailwindcss/typography')],
// theme: {
// extend: {
// typography: {
// DEFAULT: {
// css: {
// code: {
// '&:before': {
// content: 'normal !important',
// },
// '&:after': {
// content: 'normal !important',
// },
// 'border-radius': '0.125rem',
// 'background-color': 'rgb(239 247 251)',
// padding: '0.25rem',
// 'font-size': '1rem',
// 'line-height': '1.5rem',
// color: 'rgb(0 126 193)',
// },
// },
// },
// },
// borderWidth: {
// 3: '3px',
// 6: '6px',
// },
// },
// screens: {
// mobile: '500px',
// },
// },
}