fix(theme): correct typography and logo accessibility
Declare the Alro heading font with its intended 700 weight and explicitly apply that weight to branded headings. Preserve the homepage logo image in the accessibility tree while rendering the theme-specific visual artwork. Update repository guidance to document the self-contained theme architecture, Gitea 1.27.3 synchronization requirements, production asset hashing, and the complete six-theme verification matrix.
This commit is contained in:
@@ -4,9 +4,11 @@ Custom themes and branding for the CodeCraftsmen Gitea instance.
|
||||
|
||||
## Compatibility
|
||||
|
||||
The theme supports Gitea 1.27.x. Each custom theme imports the matching built-in
|
||||
Gitea theme and overrides only the CodeCraftsmen palette, typography, and logo.
|
||||
This allows new upstream theme variables to retain their Gitea defaults.
|
||||
The theme supports Gitea 1.27.x and is currently synchronized with Gitea 1.27.3.
|
||||
The light and dark themes are self-contained copies of the matching built-in
|
||||
theme variable sets with CodeCraftsmen palette and typography overrides. The
|
||||
auto theme conditionally imports those two local theme files according to the
|
||||
user's preferred color scheme.
|
||||
|
||||
The repository intentionally avoids overriding Gitea's internal templates. The
|
||||
navbar logo is replaced through theme CSS so Gitea template changes are applied
|
||||
@@ -29,11 +31,12 @@ repository being available from the Gitea instance.
|
||||
|
||||
## Upgrade Process
|
||||
|
||||
1. Update the imported Gitea version locally.
|
||||
2. Compare the custom palette with the built-in light and dark themes for that
|
||||
exact release.
|
||||
3. Test anonymous, authenticated, and administrator pages with light, dark, and
|
||||
auto themes.
|
||||
1. Compare the custom light and dark variable sets with the built-in themes from
|
||||
the exact target release.
|
||||
2. Add, remove, or rename variables to match that release while preserving the
|
||||
CodeCraftsmen palette values.
|
||||
3. Test anonymous, authenticated, and administrator pages with all six themes,
|
||||
including both system color schemes for the two auto themes.
|
||||
4. Synchronize the reviewed files into the homelab Gitea role.
|
||||
|
||||
## Assets
|
||||
|
||||
Reference in New Issue
Block a user