release: promote dev to main for v2.0.0 (#1426)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Lx-204 <15377891490@163.com> Co-authored-by: AlexDev_ <56083016+alexdev03@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nikhil Nair <32665919+nikhilnair31@users.noreply.github.com> Co-authored-by: marciodps <95321123+marciodps@users.noreply.github.com> Co-authored-by: ThomasCrund <39323104+ThomasCrund@users.noreply.github.com>
This commit is contained in:
co-authored by
Lx-204
AlexDev_
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Nikhil Nair
marciodps
ThomasCrund
parent
ed915d0816
commit
728daa9acd
@@ -23,7 +23,7 @@ Android layout dimensions use `dp`; text sizes, line heights, and tracking use `
|
||||
|
||||
| Concern | Authoritative source |
|
||||
| --- | --- |
|
||||
| Presets and mode selection | [Theme.kt](app/src/main/java/com/m57/hermescontrol/theme/Theme.kt) |
|
||||
| Presets and mode selection | [ThemeRegistry.kt](app/src/main/java/com/m57/hermescontrol/theme/ThemeRegistry.kt), [Theme.kt](app/src/main/java/com/m57/hermescontrol/theme/Theme.kt) |
|
||||
| Material slot mapping | [PaletteTemplate.kt](app/src/main/java/com/m57/hermescontrol/theme/PaletteTemplate.kt) |
|
||||
| Palette values | [presets/](app/src/main/java/com/m57/hermescontrol/theme/presets/) |
|
||||
| Semantic status model | [HermesStatusColors.kt](app/src/main/java/com/m57/hermescontrol/theme/HermesStatusColors.kt) |
|
||||
@@ -41,7 +41,7 @@ The visual language follows Material 3 guidelines strictly adapted for developer
|
||||
- **Core Principle**: Zero fluff. Fast render cycles, explicit states, flat surfaces, and zero visual ambiguity.
|
||||
|
||||
## Colors
|
||||
The app supports 6 built-in presets (`Default/Slate`, `Monochrome`, `Gruvbox`, `Catppuccin`, `AMOLED`, `Nord`), plus optional Android 12+ wallpaper theming. `Theme.kt` selects the preset; `PaletteTemplate.kt` maps its colors to Material slots. AMOLED is dark-only; light mode falls back to Default.
|
||||
The app supports 7 built-in presets (`Default/Slate`, `Monochrome`, `Gruvbox`, `Catppuccin`, `AMOLED`, `Nord`, `Garnet`), plus optional Android 12+ wallpaper theming. `Theme.kt` selects the preset; `PaletteTemplate.kt` maps its colors to Material slots. AMOLED is dark-only; light mode falls back to Default.
|
||||
|
||||
1. **Surfaces**:
|
||||
- `MaterialTheme.colorScheme.background`: Main canvas and full-bleed chat background.
|
||||
@@ -144,8 +144,11 @@ passed an accessibility audit.
|
||||
- **Narrow layouts**: Check long localized labels, keyboard-open states, and scrolling at small widths; density must not hide essential actions.
|
||||
|
||||
[ThemePaletteTest.kt](app/src/test/java/com/m57/hermescontrol/theme/ThemePaletteTest.kt)
|
||||
currently guards error slot pairs, full-bleed prose/header contrast, and theme-mode
|
||||
invariants. Those tests are useful but do not establish contrast or accessibility
|
||||
guards normal-text slot pairs, full-bleed prose/header contrast, complete Material
|
||||
role mapping, registry coverage, fixed-role mode invariance, and theme-mode invariants.
|
||||
[ThemeComponentContrastTest.kt](app/src/test/java/com/m57/hermescontrol/theme/ThemeComponentContrastTest.kt)
|
||||
and the instrumented component gallery also guard enabled Material control states.
|
||||
Those tests are useful but do not establish contrast or accessibility
|
||||
compliance for every rendered component, alpha blend, or dynamic palette.
|
||||
Record device/emulator steps and observed results for changed UI; explicitly name
|
||||
any gate that could not be verified.
|
||||
|
||||
Reference in New Issue
Block a user