Skip to content

Commit

Permalink
Softer texts in title / header areas of tonal Autumn
Browse files Browse the repository at this point in the history
For #400
  • Loading branch information
kirill-grouchnikov committed Jan 13, 2025
1 parent d3cd950 commit 76e4cbd
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -219,12 +219,17 @@ public AutumnTonalSkin() {
this.registerDecorationAreaSchemeBundle(autumnDefaultBundle,
RadianceThemingSlices.DecorationAreaType.NONE);

// Deeper container surfaces in title / header decoration areas, along with slightly
// softer texts / icons (on container overlaid to be on container variant).
this.registerDecorationAreaSchemeBundle(autumnDefaultBundle,
ColorSchemeUtils.getExtendedContainerTokens(
/* seed */ Hct.fromInt(0xFFFFCA8B),
/* isFidelity */ true,
/* isDark */ false,
/* colorResolver */ PaletteResolverUtils.getPaletteTonalColorResolver()),
/* colorResolver */ PaletteResolverUtils.getPaletteTonalColorResolver().overlayWith(
PaletteContainerColorsResolverOverlay.builder()
.onContainer(DynamicPalette::getOnTonalContainerVariant)
.build())),
RadianceThemingSlices.DecorationAreaType.PRIMARY_TITLE_PANE,
RadianceThemingSlices.DecorationAreaType.SECONDARY_TITLE_PANE,
RadianceThemingSlices.DecorationAreaType.HEADER);
Expand Down

0 comments on commit 76e4cbd

Please sign in to comment.