feat(theme): add liquid glass themes with visual effects and adaptive compositor support - #12
Merged
Merged
Conversation
… compositor support - Introduce liquid-dark and liquid-light themes matching frosted glass aesthetics - Extend theme TOML specification with optional [effects] section: - Per-zone opacities (sidebar, content, toolbar) - Gradient tint overlay with directional controls - Border glow radius and intensity - Frosted noise texture overlay - Color saturation multiplier - Glass refraction distortion - Update ThemeLoader C++ service to parse [effects] and expose glass properties - Add adaptive compositor blur detection via KWindowEffects - Expose conditional Glass Effects tuning controls in Settings > Look & Feel - Auto-pair liquid-dark and liquid-light on dark mode toggle - Add comprehensive unit tests in tst_themeloader
Chintanpatel24
commented
Sep 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR introduces the Liquid Glass theme suite (
liquid-darkandliquid-light) inspired by the frosted glass, translucent dark-navy aesthetic of Dolphin with glass effects.Key Additions & Features
New Liquid Themes (
liquid-dark.toml&liquid-light.toml):base,mantle,crust, andsurfacecolor steps with vibrant blue accents.Extensible Theme Specification (
[effects]section):[effects]section to.tomlthemes allowing any theme to opt into glass styling:sidebar_opacity,content_opacity,toolbar_opacity: granular per-surface opacity control.gradient_enabled,gradient_color,gradient_direction: directional gradient tint overlays on the sidebar and toolbar.glow_enabled,glow_color,glow_radius,glow_opacity: subtle border glow along window and panel edges.blur_enabled,blur_radius: in-app blur effects.noise_enabled,noise_opacity: frosted glass grain texture overlay via Canvas.saturation: glass vibrancy multiplier.refraction_enabled,refraction_strength: glass distortion hint.Backend & ThemeLoader Enhancement (
src/services/themeloader.*):[effects]table inThemeLoaderwith bounds-checking and zero/off defaults for 100% backward compatibility with existing themes.compositorBlurAvailableproperty and signal for adaptive compositor awareness.Compositor Awareness (
src/main.cpp&Theme.qml):KWindowEffects::BlurBehind).Settings Panel Integration (
src/qml/components/SettingsPanel.qml):[effects].liquid-darkandliquid-lightwhen toggling Dark Mode.Automated Testing:
tests/tst_themeloader.cpptesting theme loading, effect property values, fallback behavior on standard themes, and compositor property reactivity.