STYLE Refining heading coherence
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Antoine M 2025-10-09 15:57:11 +02:00
parent e194542db3
commit 8266e783d5
6 changed files with 20 additions and 29 deletions

View File

@ -126,4 +126,7 @@ body.page .content-box {
p {
@apply pb-6;
}
.carhop-heading p {
@apply font-bold tracking-bigbig;
}
}

View File

@ -116,8 +116,7 @@
@apply mb-12;
h4.title {
@apply uppercase nunito text-lg font-bold pb-2;
letter-spacing: 4px;
@apply uppercase nunito text-lg font-bold pb-2 tracking-bigbig;
}
}
@ -147,11 +146,10 @@
}
}
&__title {
@apply uppercase nunito text-lg font-bold pb-8 tracking-widest;
letter-spacing: 4px;
@apply uppercase nunito text-lg font-bold pb-8 tracking-bigbig;
}
&__show-all {
@apply text-base font-extrabold uppercase pb-8 tracking-widest nunito text-primary text-center mx-auto block mt-12;
@apply text-base font-extrabold uppercase pb-8 tracking-bigbig nunito text-primary text-center mx-auto block mt-12;
}
}

View File

@ -11,8 +11,8 @@
p {
@apply !mb-0 !pb-0 uppercase text-primary;
line-height: 1.2 !important;
font-weight: 600;
letter-spacing: 0.15em;
font-weight: 700;
@apply tracking-widest;
}
h1,

View File

@ -27,7 +27,7 @@
@apply flex flex-col justify-center items-center gap-4;
.block-title {
@apply text-base mb-3 font-bold tracking-wider uppercase nunito;
@apply text-lg mb-3 font-bold tracking-bigbig uppercase nunito;
}
.block-subtitle {
@ -56,7 +56,7 @@
@apply flex items-center gap-2;
.value {
@apply bg-primary text-white p-4 font-medium uppercase;
@apply bg-primary text-white p-3 font-medium uppercase;
}
}
&__image {
@ -122,7 +122,7 @@
&__post-details {
@apply md:flex gap-8 pt-12;
.label {
@apply uppercase font-bold tracking-widest !mb-0 text-primary;
@apply uppercase font-bold tracking-bigbig !mb-0 text-primary;
}
.card-revue__parution {
@apply text-primary;

View File

@ -23,7 +23,7 @@
&__content {
.block-title {
@apply text-base mb-6 uppercase font-bold tracking-wider;
@apply text-lg mb-6 uppercase font-bold tracking-bigbig;
}
h2 {
@apply text-5xl mb-12 uppercase font-semibold;

View File

@ -3,9 +3,7 @@ const tailpress = require('@jeffreyvr/tailwindcss-tailpress');
// Fonction pour obtenir la couleur de base depuis theme.json
const getBaseColor = (slug) => {
const color = theme.settings.color.palette.find(
(c) => c.slug === slug
);
const color = theme.settings.color.palette.find((c) => c.slug === slug);
return color ? color.color : null;
};
@ -27,9 +25,7 @@ module.exports = {
},
extend: {
colors: {
...tailpress.colorMapper(
tailpress.theme('settings.color.palette', theme)
),
...tailpress.colorMapper(tailpress.theme('settings.color.palette', theme)),
'carhop-green': {
50: getBaseColor('carhop-green-light'),
100: '#cef9ee',
@ -97,24 +93,18 @@ module.exports = {
},
},
fontSize: tailpress.fontSizeMapper(
tailpress.theme(
'settings.typography.fontSizes',
theme
)
tailpress.theme('settings.typography.fontSizes', theme)
),
letterSpacing: {
bigbig: '3px',
},
},
screens: {
xs: '480px',
sm: '600px',
md: '782px',
lg: tailpress.theme(
'settings.layout.contentSize',
theme
),
xl: tailpress.theme(
'settings.layout.wideSize',
theme
),
lg: tailpress.theme('settings.layout.contentSize', theme),
xl: tailpress.theme('settings.layout.wideSize', theme),
'2xl': '1441px',
'3xl': '1840px',
},