fix(theme): repair broken theme + MokoOnyx surface separation #800
Open
jmiller
wants to merge 2 commits from
jmiller/fix-theme-config-separation AGit into dev
pull from: jmiller/fix-theme-config-separation
merge into: :dev
:main
:fix/theme-config-separation
:dev
:feature/799-actions-a-concurrency-block-prevents-run
:feature/secret-scanning
:feature/727-org-level-branch-protection-is-stored-bu
:feature/725-enforce-dot-prefixed-repositories-are-al
:feature/723-feat-issue-and-pull-request-voting-upvot
:feature/722-cleanup-and-standardization-of-issue-tem
:feature/738-expand-openapi-spec-mcp-tooling-for-org-
:feature/747-add-a-dedicated-system-api-automation-bo
:feature/746-auto-add-the-actions-bot-to-the-ci-cd-te
:feature/745-org-default-teams-add-protected-option-b
:feature/744-feat-let-issue-templates-set-mokogitea-f
:worktree-agent-acb0cede999748165
:fix/rebrand-wiki-docs
:feature/749-release-notes-from-a-curated-release-not
:worktree-agent-a5b50d10bab2beaac
:feature/760-per-client-org-sweep-audit-client-mokosu
:feature/759-audit-client-extension-repos-for-stale-m
:feat/vnext
:fix/org-wiki
:rc
:rc/v1.26.1-moko.06.07.02
:rc/v1.26.1-moko.06.07.03
:rc/v1.26.1-moko.06.07.01
:rc/v1.26.1-moko.06.07
:rc/v1.26.1-moko.06.06.02
:rc/v1.26.1-moko.06.06.01
:rc/v1.26.1-moko.06.06
:rc/v1.26.1-moko.06.05.01
:rc/v1.26.1-moko.06.05
:rc/v1.26.1-moko.06.04
:rc/v1.26.1-moko.06.03
:rc/05.06.00
:rc/05.03.03
:rc/04.01.00
:rc/05.03.02
:rc/05.03.01
:rc/05.03.00
:rc/05.01.00
:rc/05.02.02
:rc/05.02.01
:rc/05.01.01
:rc/05.02.00
:rc/05.01.02
:rc/05.03.04
:rc/05.03.05
:rc/05.03.06
:rc/05.03.08
:rc/05.04.00
:rc/05.05.00
No Reviewers
Labels
Clear labels
breaking-change
ci-cd
config
dependencies
deploy-failure
docker
documentation
feature: wiki
good first issue
health-check
help wanted
mokostandards
push-failure
security
size/l
size/m
size/s
size/xl
size/xs
standards-drift
standards-update
sync-failure
tech-debt
upstream
upstream
work-in-progress
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
Breaking API or behavior change
CI/CD pipeline changes
Configuration changes
Dependency updates
Deployment failed
Docker/container changes
Documentation changes
Wiki system enhancements
Good for newcomers
Repo health check result
Extra attention needed
Related to MokoStandards framework
Git push operation failed
Security vulnerability or hardening
200-500 lines changed
50-200 lines changed
10-50 lines changed
500+ lines changed
< 10 lines changed
Deviates from MokoStandards
MokoStandards compliance update
Sync or mirror failed
Technical debt and TODO/FIXME items
Inherited from upstream Gitea
Draft or incomplete work
Something is not working
This issue or pull request already exists
New feature
Need some help
Something is wrong
More information is needed
This won't be fixed
No labels
Priority
-
Type
-
Milestone
No items
No Milestone
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: MokoConsulting/MokoGIT#800
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "jmiller/fix-theme-config-separation"
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?
Fixes the all-white/unstyled theme (stale gitea-* refs) and adds MokoOnyx surface separation: migration 370 (remap saved user themes gitea-->mokogit-), app.example.ini default, and light/dark surface-elevation scale.
The MokoGitea->MokoGIT branding rebrand deleted the gitea-* theme CSS and shipped only theme-mokogit-{auto,light,dark}.css, but two things were left pointing at the retired themes, producing an unstyled "all white" page with an invisible navbar theme toggle: 1. Users' saved `user.theme` still held gitea-* names, whose CSS now 404s. Add migration 370 (RemapGiteaThemesToMokogit) to rewrite each user's saved theme gitea-{auto,light,dark}(-colorblind) -> mokogit-* equivalent, preserving their light/dark/auto preference. Idempotent. 2. app.example.ini still documented DEFAULT_THEME = gitea-auto. Correct it to mokogit-auto so fresh installs start on a shipped theme. (The running servers' app.ini [ui] THEMES/DEFAULT_THEME are fixed operationally.) Also address the flat "all white / no separation" look by adding a MokoOnyx surface-separation scale to both themes (mokoconsulting.tech gray scale): - light: soft gray page (#f0f3f6) so white cards/boxes lift off it, gray-200 box headers, stronger gray-300 border definition. - dark: 3-step navy-tinted elevation (page #0b1017 -> box #121a24 -> header #17212e) cohesive with the #112855 brand nav, more visible panel edges. The auto theme @imports light/dark, so it inherits both automatically.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.