Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/docs/theme.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,14 @@ AppShell::builder(APP_IDENTITY)
Calling `.theme(...)` opts into shell preferences automatically. Apps without a
theme or explicit `.shell_preferences()` consumer do not create that store.

## Material Surfaces

Menus and dropdowns use the flyout material from `SurfacePreset::flyout()`. Its
default backdrop blur extent is 24px, with popover tint opacity of 0.86 in light
mode and 0.88 in dark mode. Themes can override these values through
`material.flyout_blur_radius`, `material.flyout_light_opacity`, and
`material.flyout_dark_opacity`.

## Theme Registry

There have more than 20 built-in themes available in [themes](https://github.com/BumpyClock/gpui-component/tree/main/themes) folder.
Expand Down
Loading