From 9899979ca7ccc0019d2c864677da22633bfde12c Mon Sep 17 00:00:00 2001 From: kolaente Date: Wed, 15 Apr 2026 11:38:46 +0200 Subject: [PATCH] docs(frontend): document styles architecture and token system --- frontend/src/styles/README.md | 192 ++++++++++++++++++ .../src/styles/custom-properties/colors.scss | 5 +- .../src/styles/custom-properties/shadows.scss | 3 + frontend/src/styles/theme/theme.scss | 4 + 4 files changed, 203 insertions(+), 1 deletion(-) create mode 100644 frontend/src/styles/README.md diff --git a/frontend/src/styles/README.md b/frontend/src/styles/README.md new file mode 100644 index 000000000..886781689 --- /dev/null +++ b/frontend/src/styles/README.md @@ -0,0 +1,192 @@ +# Frontend Styles + +This directory contains all global styling for the Vikunja web client. Component-scoped +styles live next to their `.vue` file; what lives here is the material every component +relies on: the Bulma base, the design-token system (CSS custom properties), typography, +and a handful of cross-cutting theme overrides. + +If you are wondering **"where do I add X?"** — jump to [Where do I add …?](#where-do-i-add-) at +the bottom. + +## Directory map + +``` +styles/ +├── common-imports.scss SCSS variables/mixins auto-injected into every .scss/.vue