feat(ui): make CodeFloe Tide the default theme #222
No reviewers
Labels
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
codefloe/forgejo-codefloe!222
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/codefloe-tide-default"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Make CodeFloe Tide the default theme of the fork.
Changes
DefaultThemeinmodules/setting/ui.gotocodefloe-tide-auto.;DEFAULT_THEMEexample incustom/conf/app.example.ini.codefloe-tide-autoas the instance default inTestThemeChange,TestUserHasNonExistentThemeandTestPublicOrgHome.TestThemeChangetocodefloe-auto, so it checks the classic theme stays selectable and loads its own stylesheet.Behaviour change
New accounts, guests, and accounts whose stored theme is empty or no longer offered get Tide.
Accounts that already store a theme keep it.
Instances that set
[ui] DEFAULT_THEMEkeep their configured value; codefloe.com's IaC sets it explicitly, which codefloe/infrastructure-as-code#305 switches.Verification
0765fea43bef0a55cbb0