mdcms/themes/Government-Institutional/gov-uk.yaml
kbenestad 893588d89b Updated themes, 2026-05-19
New folder structure plus HTML presentation.
2026-05-19 20:20:10 +07:00

74 lines
2.5 KiB
YAML

# mdcms v0.4 | DO NOT REMOVE THIS COMMENT
# mdcms theme — gov · uk
# GOV.UK palette — black text, link blue (#1D70B8), warm neutral chrome.
# ──────────────────────────────────
# Colours
# ──────────────────────────────────
light:
accent: "#1D70B8"
background: "#FFFFFF"
nav-background: "#F3F2F1"
text: "#0B0C0C"
text-muted: "#505A5F"
dark:
accent: "#5694CA"
background: "#0B0C0C"
nav-background: "#1A1A1A"
text: "#FFFFFF"
text-muted: "#B1B4B6"
# ──────────────────────────────────
# Semantic colours
# colours-semantic applies to both modes.
# colours-semantic-dark overrides for dark mode only.
# ──────────────────────────────────
colours-semantic:
info: "#1D70B8"
warning: "#F47738"
success: "#00703C"
error: "#D4351C"
colours-semantic-dark:
info: "#72B2E9"
warning: "#F69564"
success: "#5CFFB3"
error: "#EC806F"
# ──────────────────────────────────
# Callout defaults
# primary-colour matches colours-semantic (light mode).
# ──────────────────────────────────
callouts:
info:
icon: info
primary-colour: "#1D70B8"
background-colour: "#1D70B8"
warning:
icon: warning
primary-colour: "#F47738"
background-colour: "#F47738"
success:
icon: success
primary-colour: "#00703C"
background-colour: "#00703C"
error:
icon: error
primary-colour: "#D4351C"
background-colour: "#D4351C"
# ──────────────────────────────────
# Typography
# Format: "provider:Font Name:weight" (provider: bunny | google)
# ──────────────────────────────────
font-body: "bunny:Public Sans:400"
font-heading: "bunny:Public Sans:700"
font-size: 1.00 # unitless multiplier (1.0 = 16px base)
line-height: 1.65 # unitless multiplier
# ──────────────────────────────────
# Layout
# ──────────────────────────────────
main-width: 80em
nav-width: 20em