Skip to content

Commit

Permalink
feat(css): Add css variables for info colors (--color-info)
Browse files Browse the repository at this point in the history
Signed-off-by: Ferdinand Thiessen <[email protected]>
  • Loading branch information
susnux committed May 12, 2023
1 parent c7bb540 commit 9726438
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/theming/css/default.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
--color-success: #46ba61;
--color-success-rgb: 70,186,97;
--color-success-hover: #6ac780;
--color-info: #006aa3;
--color-info-rgb: 0,106,163;
--color-info-hover: #3287b5;
--color-loading-light: #cccccc;
--color-loading-dark: #444444;
--color-box-shadow-rgb: 77,77,77;
Expand Down
3 changes: 3 additions & 0 deletions apps/theming/lib/Themes/DefaultTheme.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ public function getCSSVariables(): array {
'--color-success' => '#46ba61',
'--color-success-rgb' => join(',', $this->util->hexToRGB('#46ba61')),
'--color-success-hover' => $this->util->mix('#46ba61', $colorMainBackground, 60),
'--color-info' => '#006aa3',
'--color-info-rgb' => join(',', $this->util->hexToRGB('#006aa3')),
'--color-info-hover' => $this->util->mix('#006aa3', $colorMainBackground, 60),

// used for the icon loading animation
'--color-loading-light' => '#cccccc',
Expand Down

0 comments on commit 9726438

Please sign in to comment.