From 273741d2213905f45fb1cede8d3bb6bc7e84cf54 Mon Sep 17 00:00:00 2001 From: Astra Date: Thu, 29 May 2025 20:19:25 +0900 Subject: [PATCH] Update the info on theming in README.md --- README.md | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 45276cb..5fd9458 100644 --- a/README.md +++ b/README.md @@ -46,16 +46,11 @@ we use our own CI/CD workflow at [`.forgejo/workflows/deploy.yaml`](.forgejo/wor ## theming -the colors are designated in [`src/app.css`](src/app.css) as variables, go crazy with them +themes are located in the `themes/` directory, you can create your own theme by copying one of the existing themes and modifying it to your liking. -the rest is done by editing the css files and style tags directly, good luck +currently, the name of the theme is determined by the directory name, and the theme itself is defined in `theme.css` inside that directory. -relevant files: - -- [`src/App.svelte`](src/App.svelte) -- [`src/app.css`](src/app.css) -- [`src/lib/AccountComponent.svelte`](src/lib/AccountComponent.svelte) -- [`src/lib/PostComponent.svelte`](src/lib/PostComponent.svelte) +you can switch themes by changing the `theme` property in `config.ts`. the favicon is located at [`public/favicon.ico`](public/favicon.ico)