Previously only css/plain.css was compiled from sass/plain.sass; css/custom.css and css/fonts.css were hand-written. Now every theme stylesheet has a leading sass source: sass/plain.sass, sass/custom.sass, sass/fonts.sass (partials _*), compiled with 'sass --watch sass:css' (dart-sass 1.83.4 added as local devDependency; node_modules/package.json stay gitignored). css/*.css are build artifacts and remain the committed runtime files; sass/ stays developer-local. Recompiled output is semantically identical to the previous hand-written files (dart-sass normalization only: 2-space indent, double quotes, @charset). variants/export_public.sh step 0 now checks BOTH directions for every pair: stale css/<name>.css vs sass/<name>.sass aborts, and a css file without a sass source aborts; compiler resolved from PATH or node_modules/.bin/sass. .gitignore/README document the workflow. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
105 lines
3.8 KiB
CSS
105 lines
3.8 KiB
CSS
@charset "UTF-8";
|
|
/* Bundled open source fonts for vanilla_respondage — compiled from this file (sass is leading): edit sass/fonts.sass, then `sass --watch sass:css` or `sass sass/fonts.sass css/fonts.css`. */
|
|
/* The font files live in ../files/fonts/ (the asset manager copies the whole theme directory to the assets dir, so this relative path works from css/). */
|
|
/* Each font is selectable in the theme options (Fonts category, optgroup "Bundled open source fonts" in config.xml). The class rules are GENERIC (.font-<value>, not body-scoped) on purpose: */
|
|
/* the base font is applied as font-<value> on <body>, and per-element font overrides (fontselect options) apply the same class on individual elements. */
|
|
/* To add your own font to this theme: see files/fonts/README.md. Licenses: SIL Open Font License 1.1 — see files/fonts/OFL-*.txt. */
|
|
/* Inter — sans-serif — https://github.com/rsms/inter — OFL 1.1 */
|
|
@font-face {
|
|
font-family: "Inter";
|
|
src: url("../files/fonts/inter-var.woff2") format("woff2");
|
|
/* variable font: wght axis 100-900 */
|
|
font-weight: 100 900;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
/* Source Serif 4 — serif — https://github.com/adobe-fonts/source-serif — OFL 1.1 */
|
|
@font-face {
|
|
font-family: "Source Serif 4";
|
|
src: url("../files/fonts/source-serif-4-var.woff2") format("woff2");
|
|
/* variable font: wght axis 200-900 */
|
|
font-weight: 200 900;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
/* EB Garamond — serif — https://open-foundry.com/fonts/eb-garamond — OFL 1.1 */
|
|
@font-face {
|
|
font-family: "EB Garamond";
|
|
src: url("../files/fonts/eb-garamond-var.woff2") format("woff2");
|
|
/* variable font: wght axis 400-800 */
|
|
font-weight: 400 800;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
/* Liberation Sans — sans-serif — https://open-foundry.com/fonts/liberation-sans — OFL 1.1
|
|
* (static weights: 400 and 700 are shipped as separate files) */
|
|
@font-face {
|
|
font-family: "Liberation Sans";
|
|
src: url("../files/fonts/liberation-sans-400.woff2") format("woff2");
|
|
font-weight: 400;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
@font-face {
|
|
font-family: "Liberation Sans";
|
|
src: url("../files/fonts/liberation-sans-700.woff2") format("woff2");
|
|
font-weight: 700;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
/* Noto Sans — sans-serif — source: Google Fonts family "Noto Sans" — OFL 1.1 */
|
|
@font-face {
|
|
font-family: "Noto Sans";
|
|
src: url("../files/fonts/noto-sans-var.woff2") format("woff2");
|
|
/* variable font: wght axis 100-900 (wdth stays at default 100) */
|
|
font-weight: 100 900;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
/* Noto Serif — serif — source: Google Fonts family "Noto Serif" — OFL 1.1 */
|
|
@font-face {
|
|
font-family: "Noto Serif";
|
|
src: url("../files/fonts/noto-serif-var.woff2") format("woff2");
|
|
/* variable font: wght axis 100-900 (wdth stays at default 100) */
|
|
font-weight: 100 900;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
/* Open Sans — sans-serif — source: Google Fonts family "Open Sans" — OFL 1.1 */
|
|
@font-face {
|
|
font-family: "Open Sans";
|
|
src: url("../files/fonts/open-sans-var.woff2") format("woff2");
|
|
/* variable font: wght axis 300-800 (wdth stays at default 100) */
|
|
font-weight: 300 800;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
.font-inter {
|
|
font-family: "Inter", Arial, Helvetica, sans-serif;
|
|
}
|
|
|
|
.font-source_serif_4 {
|
|
font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
|
|
}
|
|
|
|
.font-eb_garamond {
|
|
font-family: "EB Garamond", Georgia, "Times New Roman", serif;
|
|
}
|
|
|
|
.font-liberation_sans {
|
|
font-family: "Liberation Sans", Arial, Helvetica, sans-serif;
|
|
}
|
|
|
|
.font-noto_sans {
|
|
font-family: "Noto Sans", Arial, Helvetica, sans-serif;
|
|
}
|
|
|
|
.font-noto_serif {
|
|
font-family: "Noto Serif", Georgia, "Times New Roman", serif;
|
|
}
|
|
|
|
.font-open_sans {
|
|
font-family: "Open Sans", Arial, Helvetica, sans-serif;
|
|
}
|
|
|
|
/*# sourceMappingURL=fonts.css.map */
|