From 3207c8ea57eac714417494e06ce0f82864b7ff1e Mon Sep 17 00:00:00 2001 From: Vika Date: Sun, 20 Apr 2025 08:25:57 +0300 Subject: WIP: Theme support Kittybox can now ship with several different stylesheets, provided by the renderer. Unknown stylesheets fall back to the default one, which is the same Kittybox has shipped since its inception. There's also a settings field for custom CSS, but it's not exposed anywhere yet. Change-Id: I2850dace5c40f9fed04b4651c551a861df5b83d3 --- migrations/0002_custom_theme_setting.sql | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 migrations/0002_custom_theme_setting.sql (limited to 'migrations/0002_custom_theme_setting.sql') diff --git a/migrations/0002_custom_theme_setting.sql b/migrations/0002_custom_theme_setting.sql new file mode 100644 index 0000000..a258e82 --- /dev/null +++ b/migrations/0002_custom_theme_setting.sql @@ -0,0 +1,3 @@ +ALTER TABLE kittybox.users +ADD COLUMN custom_css JSONB NOT NULL DEFAULT '""'::jsonb, +ADD COLUMN theme JSONB NOT NULL DEFAULT '"kittybox"'::jsonb; -- cgit 1.4.1