c9d41a8abe
- add `@source` directive in zen.css to auto-scan `@zen/module-*/dist/**/*.js` - document tailwind class auto-discovery mechanism for modules in MODULES.md
130 lines
4.0 KiB
CSS
130 lines
4.0 KiB
CSS
/* Tailwind v4: tells the consumer's Tailwind to scan this package's components */
|
|
@source "../../**/*.js";
|
|
/* Découverte automatique des classes Tailwind dans les modules `@zen/module-*`
|
|
installés dans le projet consommateur. Chemin résolu depuis
|
|
node_modules/@zen/core/dist/shared/styles/zen.css. */
|
|
@source "../../../../module-*/dist/**/*.js";
|
|
|
|
/* ── IBM Plex Sans (variable font) ──────────────────────────────────────── */
|
|
@font-face {
|
|
font-family: "IBM Plex Sans";
|
|
src: url("../fonts/IBM_Plex_Sans/IBMPlexSans-VariableFont_wdth,wght.ttf") format("truetype");
|
|
font-weight: 100 700;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "IBM Plex Sans";
|
|
src: url("../fonts/IBM_Plex_Sans/IBMPlexSans-Italic-VariableFont_wdth,wght.ttf") format("truetype");
|
|
font-weight: 100 700;
|
|
font-style: italic;
|
|
font-display: swap;
|
|
}
|
|
|
|
/* ── IBM Plex Mono (static fonts) ───────────────────────────────────────── */
|
|
@font-face {
|
|
font-family: "IBM Plex Mono";
|
|
src: url("../fonts/IBM_Plex_Mono/IBMPlexMono-Thin.ttf") format("truetype");
|
|
font-weight: 100;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
@font-face {
|
|
font-family: "IBM Plex Mono";
|
|
src: url("../fonts/IBM_Plex_Mono/IBMPlexMono-ThinItalic.ttf") format("truetype");
|
|
font-weight: 100;
|
|
font-style: italic;
|
|
font-display: swap;
|
|
}
|
|
@font-face {
|
|
font-family: "IBM Plex Mono";
|
|
src: url("../fonts/IBM_Plex_Mono/IBMPlexMono-ExtraLight.ttf") format("truetype");
|
|
font-weight: 200;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
@font-face {
|
|
font-family: "IBM Plex Mono";
|
|
src: url("../fonts/IBM_Plex_Mono/IBMPlexMono-ExtraLightItalic.ttf") format("truetype");
|
|
font-weight: 200;
|
|
font-style: italic;
|
|
font-display: swap;
|
|
}
|
|
@font-face {
|
|
font-family: "IBM Plex Mono";
|
|
src: url("../fonts/IBM_Plex_Mono/IBMPlexMono-Light.ttf") format("truetype");
|
|
font-weight: 300;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
@font-face {
|
|
font-family: "IBM Plex Mono";
|
|
src: url("../fonts/IBM_Plex_Mono/IBMPlexMono-LightItalic.ttf") format("truetype");
|
|
font-weight: 300;
|
|
font-style: italic;
|
|
font-display: swap;
|
|
}
|
|
@font-face {
|
|
font-family: "IBM Plex Mono";
|
|
src: url("../fonts/IBM_Plex_Mono/IBMPlexMono-Regular.ttf") format("truetype");
|
|
font-weight: 400;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
@font-face {
|
|
font-family: "IBM Plex Mono";
|
|
src: url("../fonts/IBM_Plex_Mono/IBMPlexMono-Italic.ttf") format("truetype");
|
|
font-weight: 400;
|
|
font-style: italic;
|
|
font-display: swap;
|
|
}
|
|
@font-face {
|
|
font-family: "IBM Plex Mono";
|
|
src: url("../fonts/IBM_Plex_Mono/IBMPlexMono-Medium.ttf") format("truetype");
|
|
font-weight: 500;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
@font-face {
|
|
font-family: "IBM Plex Mono";
|
|
src: url("../fonts/IBM_Plex_Mono/IBMPlexMono-MediumItalic.ttf") format("truetype");
|
|
font-weight: 500;
|
|
font-style: italic;
|
|
font-display: swap;
|
|
}
|
|
@font-face {
|
|
font-family: "IBM Plex Mono";
|
|
src: url("../fonts/IBM_Plex_Mono/IBMPlexMono-SemiBold.ttf") format("truetype");
|
|
font-weight: 600;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
@font-face {
|
|
font-family: "IBM Plex Mono";
|
|
src: url("../fonts/IBM_Plex_Mono/IBMPlexMono-SemiBoldItalic.ttf") format("truetype");
|
|
font-weight: 600;
|
|
font-style: italic;
|
|
font-display: swap;
|
|
}
|
|
@font-face {
|
|
font-family: "IBM Plex Mono";
|
|
src: url("../fonts/IBM_Plex_Mono/IBMPlexMono-Bold.ttf") format("truetype");
|
|
font-weight: 700;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
@font-face {
|
|
font-family: "IBM Plex Mono";
|
|
src: url("../fonts/IBM_Plex_Mono/IBMPlexMono-BoldItalic.ttf") format("truetype");
|
|
font-weight: 700;
|
|
font-style: italic;
|
|
font-display: swap;
|
|
}
|
|
|
|
/* ── Enregistrement dans le thème Tailwind v4 ───────────────────────────── */
|
|
@theme {
|
|
--font-ibm-plex-sans: "IBM Plex Sans", sans-serif;
|
|
--font-ibm-plex-mono: "IBM Plex Mono", monospace;
|
|
}
|