Initial sync of shared/playground-design-system/ into
plugins/ms-ai-architect/playground/vendor/playground-design-system/
via scripts/sync-design-system.mjs.
Source commit: f1fecf39b8
Files: 25 (7 CSS + 11 fonts/licenses + 3 schemas + README + MANIFEST)
Vendored copy keeps the plugin standalone — playground will load CSS
from ./vendor/ regardless of where the plugin is installed.
Also adds .gitleaks.toml at repo root with a path allowlist for
vendored MANIFEST.json files (SHA-256 file hashes are not secrets).
Docs updated together with the playground HTML refactor that actually
consumes the vendored CSS (next commit). This commit is internal-only.
84 lines
2.2 KiB
CSS
84 lines
2.2 KiB
CSS
/* Code generated by sync-design-system.mjs; DO NOT EDIT. */
|
|
/*
|
|
* Self-hosted web fonts for Playground Design System.
|
|
*
|
|
* All three families are licensed under SIL Open Font License 1.1.
|
|
* Full license text and provenance: ./fonts/LICENSES.md
|
|
*
|
|
* Why self-hosted:
|
|
* - No external requests (no fonts.googleapis.com, no IP/UA leakage).
|
|
* - Works offline / behind air-gapped firewalls.
|
|
* - GDPR-compliant for Norwegian public-sector deployments.
|
|
*
|
|
* Bundle size: ~940 KB total across 9 woff2 files.
|
|
* Loaded via font-display: swap to avoid FOIT.
|
|
*/
|
|
|
|
/* ========== Inter (UI / body) ========== */
|
|
@font-face {
|
|
font-family: "Inter";
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-display: swap;
|
|
src: url("./fonts/Inter-Regular.woff2") format("woff2");
|
|
}
|
|
@font-face {
|
|
font-family: "Inter";
|
|
font-style: normal;
|
|
font-weight: 500;
|
|
font-display: swap;
|
|
src: url("./fonts/Inter-Medium.woff2") format("woff2");
|
|
}
|
|
@font-face {
|
|
font-family: "Inter";
|
|
font-style: normal;
|
|
font-weight: 600;
|
|
font-display: swap;
|
|
src: url("./fonts/Inter-SemiBold.woff2") format("woff2");
|
|
}
|
|
@font-face {
|
|
font-family: "Inter";
|
|
font-style: normal;
|
|
font-weight: 700;
|
|
font-display: swap;
|
|
src: url("./fonts/Inter-Bold.woff2") format("woff2");
|
|
}
|
|
|
|
/* ========== JetBrains Mono (code) ========== */
|
|
@font-face {
|
|
font-family: "JetBrains Mono";
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-display: swap;
|
|
src: url("./fonts/JetBrainsMono-Regular.woff2") format("woff2");
|
|
}
|
|
@font-face {
|
|
font-family: "JetBrains Mono";
|
|
font-style: normal;
|
|
font-weight: 500;
|
|
font-display: swap;
|
|
src: url("./fonts/JetBrainsMono-Medium.woff2") format("woff2");
|
|
}
|
|
@font-face {
|
|
font-family: "JetBrains Mono";
|
|
font-style: normal;
|
|
font-weight: 600;
|
|
font-display: swap;
|
|
src: url("./fonts/JetBrainsMono-SemiBold.woff2") format("woff2");
|
|
}
|
|
|
|
/* ========== Source Serif 4 (occasional editorial accents) ========== */
|
|
@font-face {
|
|
font-family: "Source Serif 4";
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-display: swap;
|
|
src: url("./fonts/SourceSerif4-Regular.woff2") format("woff2");
|
|
}
|
|
@font-face {
|
|
font-family: "Source Serif 4";
|
|
font-style: normal;
|
|
font-weight: 600;
|
|
font-display: swap;
|
|
src: url("./fonts/SourceSerif4-Semibold.woff2") format("woff2");
|
|
}
|