Skip to content

Commit 6bafc28

Browse files
committed
🔧 modificaton de la config tailwind
1 parent 2765731 commit 6bafc28

File tree

2 files changed

+23
-11
lines changed

2 files changed

+23
-11
lines changed

resources/css/app.css

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,13 @@
104104
}
105105
}
106106

107-
html {
108-
scroll-behavior: smooth;
107+
[x-cloak] {
108+
display: none !important;
109109
}
110110

111-
[x-cloak] { display: none !important; }
111+
.prose iframe {
112+
@apply w-full;
113+
}
112114

113115
.logo-dark {
114116
display: none;

tailwind.config.js

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ module.exports = {
1717
],
1818
content: [
1919
'./app/**/*.php',
20+
'./config/markdown.php',
2021
'./resources/**/*.blade.php',
2122
'./resources/**/*.{js,jsx}',
2223
'./storage/framework/views/*.php',
@@ -54,8 +55,9 @@ module.exports = {
5455
green: colors.emerald,
5556
},
5657
fontFamily: {
57-
mono: ['Operator Mono', ...defaultTheme.fontFamily.mono],
58-
sans: ['Inter var', 'DM Sans', ...defaultTheme.fontFamily.sans],
58+
heading: ['Lexend', ...defaultTheme.fontFamily.sans],
59+
mono: ['JetBrains Mono', ...defaultTheme.fontFamily.sans],
60+
sans: ['DM Sans', ...defaultTheme.fontFamily.sans],
5961
},
6062
fontWeight: {
6163
normal: 300
@@ -122,7 +124,7 @@ module.exports = {
122124
},
123125
'h1, h2, h3, h4': {
124126
color: theme('textColor.skin.inverted'),
125-
fontFamily: "'Inter var', serif"
127+
fontFamily: theme('fontFamily.heading'),
126128
},
127129
p: {
128130
fontWeight: 300
@@ -131,20 +133,28 @@ module.exports = {
131133
borderColor: theme('borderColor.skin.base')
132134
},
133135
blockquote: {
134-
color: theme('textColor.skin.inverted')
136+
color: theme('textColor.skin.inverted'),
137+
fontStyle: 'normal',
138+
},
139+
'blockquote p:first-of-type::before': {
140+
content: 'none',
141+
},
142+
'blockquote p:first-of-type::after': {
143+
content: 'none',
144+
},
145+
code: {
146+
fontWeight: theme('fontWeight.normal'),
135147
},
136148
'li strong, strong' : {
137149
color: theme('textColor.skin.inverted-muted'),
138150
fontWeight: 400
139151
},
140152
'p > code, code': {
141153
display: 'inline-flex',
142-
fontFamily: "'Operator Mono', monospace",
154+
fontFamily: theme('fontFamily.mono'),
143155
alignItems: 'center',
144156
borderRadius: '.375rem',
145-
fontSize: '1rem',
146-
lineHeight: '1.25rem',
147-
fontWeight: 400,
157+
fontSize: theme('fontSize.base'),
148158
padding: '.125rem .625rem',
149159
color: theme('colors.green.800'),
150160
backgroundColor: theme('colors.green.100'),

0 commit comments

Comments
 (0)