From 4ef13dd8f7aac7a36a568509bc1be50212c88b26 Mon Sep 17 00:00:00 2001 From: Marco Ambrosini Date: Thu, 25 Sep 2025 10:41:46 +0200 Subject: [PATCH] fix(ui): Update assistant text gradient Signed-off-by: Marco Ambrosini --- apps/theming/css/default.css | 4 ++-- apps/theming/lib/Themes/DarkTheme.php | 3 ++- apps/theming/lib/Themes/DefaultTheme.php | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/apps/theming/css/default.css b/apps/theming/css/default.css index 2295fb5eea8..2acf08258f7 100644 --- a/apps/theming/css/default.css +++ b/apps/theming/css/default.css @@ -61,9 +61,9 @@ /* Border for AI generated content */ --color-border-assistant: linear-gradient(125deg, #7398FE 50%, #6104A4 125%); /* Background for primary buttons to interact with the Assistant (e.g. generate content) */ - --color-element-assistant: linear-gradient(238deg, #A569D3 12%, #00679E 39%, #422083 86%); + --color-element-assistant: linear-gradient(214deg, #A569D3 12%, #00679E 39%, #422083 86%); /* Icon color only to be used for the Assistant icon */ - --color-element-assistant-icon: linear-gradient(285deg, #9669D3 15%, #00679E 40%, #492083 80%); + --color-element-assistant-icon: linear-gradient(214deg, #9669D3 15%, #00679E 40%, #492083 80%); --font-face: system-ui, -apple-system, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, Ubuntu, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; --default-font-size: 15px; --font-size-small: 13px; diff --git a/apps/theming/lib/Themes/DarkTheme.php b/apps/theming/lib/Themes/DarkTheme.php index cc4694d8cae..c71aed1857f 100644 --- a/apps/theming/lib/Themes/DarkTheme.php +++ b/apps/theming/lib/Themes/DarkTheme.php @@ -94,7 +94,8 @@ class DarkTheme extends DefaultTheme implements ITheme { // Assistant colors (see default theme) '--color-background-assistant' => '#221D2B', '--color-border-assistant' => 'linear-gradient(125deg, #0C3A65 50%, #6204A5 125%)', - '--color-element-assistant-icon' => 'linear-gradient(285deg, #CDACE7 15.28%, #008FDB 39.98%, #A180E0 82.05%)', + '--color-element-assistant' => 'linear-gradient(214deg, #C8A3E8 12%, #007CFF 39%, #C297DD 86%)', + '--color-element-assistant-icon' => 'linear-gradient(214deg, #CDACE7 15.28%, #008FDB 39.98%, #A180E0 82.05%)', '--color-element-error' => $colorErrorElement, '--color-element-info' => $colorInfoElement, diff --git a/apps/theming/lib/Themes/DefaultTheme.php b/apps/theming/lib/Themes/DefaultTheme.php index ab4970adddd..db605dd3ed2 100644 --- a/apps/theming/lib/Themes/DefaultTheme.php +++ b/apps/theming/lib/Themes/DefaultTheme.php @@ -185,8 +185,8 @@ class DefaultTheme implements ITheme { // Assistant colors (marking AI generated content) '--color-background-assistant' => '#F6F5FF', // Background for AI generated content '--color-border-assistant' => 'linear-gradient(125deg, #7398FE 50%, #6104A4 125%)', // Border for AI generated content - '--color-element-assistant' => 'linear-gradient(238deg, #A569D3 12%, #00679E 39%, #422083 86%)', // Background of primary buttons to interact with the Assistant (e.g. generate content) - '--color-element-assistant-icon' => 'linear-gradient(285deg, #9669D3 15%, #00679E 40%, #492083 80%)', // The color used for the Assistant icon + '--color-element-assistant' => 'linear-gradient(214deg, #A569D3 12%, #00679E 39%, #422083 86%)', // Background of primary buttons to interact with the Assistant (e.g. generate content) + '--color-element-assistant-icon' => 'linear-gradient(214deg, #9669D3 15%, #00679E 40%, #492083 80%)', // The color used for the Assistant icon '--font-face' => "system-ui, -apple-system, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, Ubuntu, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'", '--default-font-size' => '15px',