diff options
author | Julius Härtl <jus@bitgrid.net> | 2022-08-18 14:52:01 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2022-08-19 11:55:04 +0200 |
commit | 4be6280aa90cbeffeb1d1961e26ec43beb3e19bf (patch) | |
tree | e95f33400105cea72fac4929139ed1b305cdcc48 /apps/theming/lib/Themes/DefaultTheme.php | |
parent | 7d7f7abf7fb3f7ea8e5382a101b8246021de0bbf (diff) | |
download | nextcloud-server-4be6280aa90cbeffeb1d1961e26ec43beb3e19bf.tar.gz nextcloud-server-4be6280aa90cbeffeb1d1961e26ec43beb3e19bf.zip |
Add css variables for blurred background
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/theming/lib/Themes/DefaultTheme.php')
-rw-r--r-- | apps/theming/lib/Themes/DefaultTheme.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/theming/lib/Themes/DefaultTheme.php b/apps/theming/lib/Themes/DefaultTheme.php index d141a5d3241..6fd29132a53 100644 --- a/apps/theming/lib/Themes/DefaultTheme.php +++ b/apps/theming/lib/Themes/DefaultTheme.php @@ -97,6 +97,8 @@ class DefaultTheme implements ITheme { '--color-main-background' => $colorMainBackground, '--color-main-background-rgb' => $colorMainBackgroundRGB, '--color-main-background-translucent' => 'rgba(var(--color-main-background-rgb), .97)', + '--color-main-background-blur' => 'rgba(var(--color-main-background-rgb), .8)', + '--filter-background-blur' => 'blur(25px)', // to use like this: background-image: linear-gradient(0, var('--gradient-main-background)); '--gradient-main-background' => 'var(--color-main-background) 0%, var(--color-main-background-translucent) 85%, transparent 100%', |