Skip to content

Commit f2d633c

Browse files
committed
Remove backtick from code
1 parent 5b2dacb commit f2d633c

File tree

1 file changed

+30
-7
lines changed

1 file changed

+30
-7
lines changed

tailwind.config.js

Lines changed: 30 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@ const config = {
3030
},
3131
},
3232
extend: {
33+
fontFamily: {
34+
sans: [fontFamily.sans],
35+
serif: ["Times", fontFamily.serif],
36+
mono: ["Jetbrains Mono", fontFamily.mono],
37+
},
38+
fontSize: {
39+
base: "0.95rem",
40+
},
3341
colors: {
3442
border: "hsl(var(--border) / <alpha-value>)",
3543
input: "hsl(var(--input) / <alpha-value>)",
@@ -70,13 +78,28 @@ const config = {
7078
md: "calc(var(--radius) - 2px)",
7179
sm: "calc(var(--radius) - 4px)",
7280
},
73-
fontFamily: {
74-
sans: [fontFamily.sans],
75-
serif: ["Times", fontFamily.serif],
76-
mono: ["Jetbrains Mono", fontFamily.mono],
77-
},
78-
fontSize: {
79-
base: "0.95rem",
81+
typography(theme) {
82+
return {
83+
DEFAULT: {
84+
css: {
85+
code: {
86+
// color: theme("colors.slate.500"),
87+
// backgroundColor: theme('colors.stone.100'),
88+
// borderRadius: theme('borderRadius.DEFAULT'),
89+
// paddingLeft: theme("spacing[1.5]"),
90+
// paddingRight: theme("spacing[1.5]"),
91+
// paddingTop: theme("spacing.1"),
92+
// paddingBottom: theme("spacing.1"),
93+
},
94+
"code::before": {
95+
content: '""',
96+
},
97+
"code::after": {
98+
content: '""',
99+
},
100+
},
101+
},
102+
};
80103
},
81104
},
82105
},

0 commit comments

Comments
 (0)