Merge pull request #55296 from nextcloud/bugfix/noid/update-assistant-gradient

Update assistant text gradient
bug/noid/validate-filename-when-creating-file-from-template
Andy Scherzinger 2 weeks ago committed by GitHub
commit 93bb716af3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      apps/theming/css/default.css
  2. 3
      apps/theming/lib/Themes/DarkTheme.php
  3. 4
      apps/theming/lib/Themes/DefaultTheme.php

@ -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;

@ -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,

@ -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',

Loading…
Cancel
Save