mirror of
https://github.com/mwalbeck/nextcloud-breeze-dark.git
synced 2024-11-15 04:16:51 +00:00
Magnus Walbeck
db9a99f7e2
* Add extra variables from the default dark theme so they take precedent incase the default light theme is active
116 lines
5.1 KiB
SCSS
116 lines
5.1 KiB
SCSS
/***
|
|
* @copyright Copyright (c) 2019, Magnus Walbeck <mw@mwalbeck.org>
|
|
*
|
|
* @license GNU AGPL version 3 or any later version, see COPYING file for more.
|
|
*/
|
|
|
|
[data-themes*="breezedark"] {
|
|
// Primary Breeze colours
|
|
--color-paper-white: rgba(252, 252, 252, 1);
|
|
--color-cardboard-gray: rgba(239, 240, 241, 1);
|
|
--color-icon-gray: rgba(77, 77, 77, 1);
|
|
--color-charcoal-gray: rgba(49, 54, 59, 1);
|
|
--color-shade-black: rgba(35, 38, 41, 1);
|
|
--color-plasma-blue: rgba(61, 174, 233, 1);
|
|
|
|
// Secondary Breeze colours
|
|
--color-icon-red: rgba(218, 68, 83, 1);
|
|
--color-danger-red: rgba(237, 21, 21, 1);
|
|
--color-beware-orange: rgba(246, 116, 0, 1);
|
|
--color-icon-yellow: rgba(253, 188, 75, 1);
|
|
--color-sunbeam-yellow: rgba(201, 206, 59, 1);
|
|
--color-verdant-green: rgba(17, 209, 22, 1);
|
|
--color-icon-blue: rgba(29, 153, 243, 1);
|
|
|
|
// Other Breeze Colours
|
|
--color-noble-fir: rgba(39, 174, 96, 1);
|
|
--color-abyss-blue: rgba(41, 128, 185, 1);
|
|
--color-coastal-fog: rgba(127, 140, 141, 1);
|
|
--color-alternate-gray: rgba(189, 195, 199, 1);
|
|
|
|
// An approximation of the blue hover colour seen in breeze dark
|
|
--color-hover-blue: rgba(61, 174, 233, 0.3);
|
|
// An approximation of the grey border colour seen in breeze dark
|
|
--color-border-grey: rgba(103, 107, 110, 1);
|
|
// Grey translucent colour for dashboard
|
|
--color-dashboard-grey: rgba(49, 54, 59, 0.8);
|
|
// Blue colour used for selected files in files table
|
|
--color-selected-blue: rgba(61, 174, 233, 0.4);
|
|
|
|
--color-main-text: var(--color-cardboard-gray) !important;
|
|
--color-main-background: var(--color-charcoal-gray) !important;
|
|
--color-main-background-translucent: var(--color-main-background) !important;
|
|
|
|
--color-background-hover: var(--color-hover-blue) !important;
|
|
--color-background-dark: var(--color-main-background) !important;
|
|
--color-background-darker: var(--color-shade-black) !important;
|
|
--color-background-translucent: var(--color-dashboard-grey) !important;
|
|
--color-background-plain: var(--color-shade-black) !important;
|
|
|
|
--color-primary: var(--color-plasma-blue) !important;
|
|
--color-primary-light: var(--color-primary) !important;
|
|
--color-primary-text: var(--color-paper-white) !important;
|
|
--color-primary-text-dark: var(--color-main-text) !important;
|
|
--color-primary-element: var(--color-primary) !important;
|
|
--color-primary-element-light: var(--color-primary) !important;
|
|
|
|
--color-error: var(--color-icon-red) !important;
|
|
--color-warning: var(--color-beware-orange) !important;
|
|
--color-neutral: var(--color-sunbeam-yellow) !important;
|
|
--color-success: var(--color-noble-fir) !important;
|
|
|
|
--color-text-maxcontrast: var(--color-alternate-gray) !important;
|
|
--color-text-light: var(--color-main-text) !important;
|
|
--color-text-lighter: var(--color-text-maxcontrast) !important;
|
|
--color-text-dark: rgba(0, 0, 0, 1) !important;
|
|
--color-text-selection: var(--color-hover-blue) !important;
|
|
--color-text-link: rgba(30, 168, 226, 1) !important;
|
|
|
|
--color-loading-light: var(--color-alternate-gray) !important;
|
|
--color-loading-dark: var(--color-coastal-fog) !important;
|
|
|
|
--color-box-shadow: rgba(0, 0, 0, 0) !important;
|
|
--color-box-shadow-rgb: rgba(0, 0, 0, 0) !important;
|
|
|
|
--color-border: var(--color-border-grey) !important;
|
|
--color-border-dark: var(--color-border) !important;
|
|
|
|
--color-icon: rgba(242, 242, 242, 1);
|
|
|
|
// Colour variables for markdown tables
|
|
--table-color-border: var(--color-border) !important;
|
|
--table-color-heading: var(--color-primary-text) !important;
|
|
--table-color-heading-border: var(--color-border) !important;
|
|
--table-color-background: var(--color-main-background) !important;
|
|
--table-color-background-hover: var(--color-background-hover) !important;
|
|
--table-border-radius: var(--border-radius) !important;
|
|
|
|
// Variables from the official dark theme that needs to be set incase Nextcloud thinks the light theme is preferred.
|
|
// The variables should be adapted to better suit the Breeze Dark theme, but for the moment this will ensure a usable experience.
|
|
--color-main-background-rgb: rgb(23, 23, 23);
|
|
--color-main-background-blur: rgba(var(--color-main-background-rgb), 0.8);
|
|
--background-invert-if-dark: invert(100%);
|
|
--background-invert-if-bright: no;
|
|
--color-success-rgb: 70, 186, 97;
|
|
--color-success-hover: #6ac780;
|
|
--color-warning-rgb: 236, 167, 0;
|
|
--color-warning-hover: #efb832;
|
|
--color-error-rgb: 233, 50, 45;
|
|
--color-error-hover: #ed5a56;
|
|
--color-scrollbar: #3d3d3d;
|
|
--color-text-maxcontrast-background-blur: #919191;
|
|
--color-text-maxcontrast-default: #8c8c8c;
|
|
--color-placeholder-light: #313131;
|
|
--color-placeholder-dark: #4a4a4a;
|
|
--color-primary-default: #0082c9;
|
|
--color-primary-hover: #04537f;
|
|
--color-primary-light-text: #99c0d6;
|
|
--color-primary-light-hover: #1d272d;
|
|
--color-primary-element-default-hover: #046ca5;
|
|
--color-primary-element-text: #fff;
|
|
--color-primary-element-hover: #04537f;
|
|
--color-primary-element-light-text: #99c0d6;
|
|
--color-primary-element-light-hover: #1d272d;
|
|
--color-primary-element-text-dark: #ededed;
|
|
}
|