Acrylic Effect
Controls the acrylic (frosted glass) effect used by major surfaces (e.g. cards, navigation).
Where to configure
Set in hugo.toml at your site root:
[params.theme]
# Note: Default acrylic opacity (percentage).
# Range: number between 0 and 95.
# Higher = more opaque; lower = more transparent.
defaultGlassStrength = 45Settings panel controls
The appearance tab in the settings panel provides three sliders:
- Opacity (
settingsPanelGlassRangeLabel): Controls how transparent the acrylic surfaces are. Range: 0%–95%, default:defaultGlassStrength. - Blur radius (
settingsPanelGlassBlurLabel): Controls the strength of the backdrop blur. Range: 0px–48px, default: 24px. - Background blur (
settingsPanelBackgroundBlurLabel): Controls the blur applied to the custom background image. Range: 0px–40px, default: 0px.
Readers can adjust all three in real time, and their choices are saved locally.
Priority rules
- User adjustment: readers can change both values in the settings panel; the saved values take highest priority.
- Site config: for new visitors,
defaultGlassStrengthis used as the initial opacity value.
Last updated on • alexma233