1
1
/** @type {import('tailwindcss').Config } */
2
2
const { Icons } = require ( "tailwindcss-plugin-icons" ) ;
3
+ const plugin = require ( 'tailwindcss/plugin' )
3
4
module . exports = {
4
5
content : [ "./templates/**/*.html" , "./src/main.ts" ] ,
5
6
darkMode : "class" ,
@@ -9,6 +10,64 @@ module.exports = {
9
10
7 : "7" ,
10
11
8 : "8" ,
11
12
} ,
13
+ typography : {
14
+ DEFAULT : {
15
+ css : {
16
+ h1 : {
17
+ marginTop : '0.25em !important' ,
18
+ marginBottom : '0.25em !important' ,
19
+ } ,
20
+ h2 : {
21
+ marginTop : '0.25em !important' ,
22
+ marginBottom : '0.25em !important' ,
23
+ } ,
24
+ h3 : {
25
+ marginTop : '0.25em !important' ,
26
+ marginBottom : '0.25em !important' ,
27
+ } ,
28
+ h4 : {
29
+ marginTop : '0.25em !important' ,
30
+ marginBottom : '0.25em !important' ,
31
+ } ,
32
+ ul : {
33
+ marginTop : '0.25em !important' ,
34
+ marginBottom : '0.25em !important' ,
35
+ } ,
36
+ li : {
37
+ marginTop : '0.25em !important' ,
38
+ marginBottom : '0.25em !important' ,
39
+ } ,
40
+ dl : {
41
+ marginTop : '0.25em !important' ,
42
+ marginBottom : '0.25em !important' ,
43
+ } ,
44
+ p : {
45
+ marginTop : '0.25em !important' ,
46
+ marginBottom : '0.25em !important' ,
47
+ } ,
48
+ img : {
49
+ marginTop : '0.5em !important' ,
50
+ marginBottom : '0.5em !important' ,
51
+ } ,
52
+ dd : {
53
+ marginTop : '0.25em !important' ,
54
+ marginBottom : '0.25em !important' ,
55
+ } ,
56
+ ol : {
57
+ marginTop : '0.25em !important' ,
58
+ marginBottom : '0.25em !important' ,
59
+ } ,
60
+ pre : {
61
+ marginTop : '0.25em !important' ,
62
+ marginBottom : '0.25em !important' ,
63
+ } ,
64
+ hr : {
65
+ marginTop : '1.25em !important' ,
66
+ marginBottom : '1.25em !important' ,
67
+ } ,
68
+ } ,
69
+ } ,
70
+ } ,
12
71
} ,
13
72
container : {
14
73
padding : {
0 commit comments