My-Weekly-ToDo-List/prisma/migrations/20260708_add_custom_css/migration.sql
mARTin-B78 02b2e40649 feat: add customizable CSS variables and custom CSS to Styling settings
Adds a "CSS Variables" panel to the Styling tab with a color picker and
description for every color token in globals.css (base, sidebar, design
token aliases, event colors, all-day chips), plus a "Custom CSS" textarea
that loads after the default stylesheet and can override any rule.

Overrides are stored per-user (customCssVars, customCss) and applied on
the root container's inline style, so they take precedence over themes
and per-field settings.

v1.113.0
2026-07-08 19:57:21 +02:00

4 lines
225 B
SQL

-- User: per-user CSS variable overrides and free-form custom stylesheet (Styling settings tab)
ALTER TABLE "User" ADD COLUMN IF NOT EXISTS "customCssVars" JSONB;
ALTER TABLE "User" ADD COLUMN IF NOT EXISTS "customCss" TEXT;