Skip to content

Commit

Permalink
πŸ’„ (#3095): update variables.css from nextcloud server
Browse files Browse the repository at this point in the history
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
  • Loading branch information
Vinicius Reis committed Aug 29, 2022
1 parent 3107e55 commit baa557e
Showing 1 changed file with 230 additions and 34 deletions.
264 changes: 230 additions & 34 deletions styleguide/assets/variables.css
Original file line number Diff line number Diff line change
@@ -1,54 +1,250 @@
/* Plain */
:root {
--color-main-text: #222;
--color-main-background: #fff;
--color-main-background-translucent: rgba(255, 255, 255, 0.97);
--gradient-main-background: var(--color-main-background) 0%, var(--color-main-background-translucent) 85%, transparent 100%;
--color-background-hover: whitesmoke;
--color-main-background: #ffffff;
--color-main-background-rgb: 255, 255, 255;
--color-main-background-translucent: rgba(
var(--color-main-background-rgb),
0.97
);
--color-main-background-blur: rgba(var(--color-main-background-rgb), 0.8);
--filter-background-blur: blur(25px);
--gradient-main-background: var(--color-main-background) 0%,
var(--color-main-background-translucent) 85%, transparent 100%;
--color-background-hover: #f5f5f5;
--color-background-dark: #ededed;
--color-background-darker: #dbdbdb;
--color-placeholder-light: #e6e6e6;
--color-placeholder-dark: #ccc;
--color-placeholder-dark: #cccccc;
--color-primary: #0082c9;
--color-primary-hover: #339bd4;
--color-primary-light: #e6f3fa;
--color-primary-light-hover: #dce9ef;
--color-primary-text: #ffffff;
--color-primary-hover: #329bd3;
--color-primary-light: #e5f2f9;
--color-primary-light-text: #0082c9;
--color-primary-light-hover: #dbe7ee;
--color-primary-text-dark: #ededed;
--color-primary-element: #0082c9;
--color-primary-element-hover: #339bd4;
--color-primary-element-light: #e6f3fa;
--color-primary-element-lighter: #d9ecf7;
--color-primary-element-text: #ffffff;
--color-primary-element-hover: #329bd3;
--color-primary-element-light: #e5f2f9;
--color-primary-element-light-text: #0082c9;
--color-primary-element-light-hover: #dbe7ee;
--color-primary-element-text-dark: #ededed;
--gradient-primary-background: linear-gradient(
40deg,
var(--color-primary) 0%,
var(--color-primary-hover) 100%
);
--color-main-text: #222222;
--color-text-maxcontrast: #767676;
--color-text-light: #222222;
--color-text-lighter: #767676;
--color-error: #e9322d;
--color-error-rgb: 233,50,45;
--color-error-hover: #ed5b57;
--color-error-rgb: 233, 50, 45;
--color-error-hover: #ed5a56;
--color-warning: #eca700;
--color-warning-rgb: 236,167,0;
--color-warning-hover: #f0b933;
--color-warning-rgb: 236, 167, 0;
--color-warning-hover: #efb832;
--color-success: #46ba61;
--color-success-rgb: 70,186,97;
--color-success-hover: #6bc881;
--color-text-maxcontrast: #767676;
--color-text-light: #222;
--color-text-lighter: #767676;
/** --image-logo: url('/core/img/logo/logo.png?v=0');
--image-login-background: url('/core/img/background.png?v=0');
--image-logoheader: url('/core/img/logo/logo.png?v=0');
--image-favicon: url('/core/img/logo/logo.png?v=0'); **/
--color-loading-light: #ccc;
--color-loading-dark: #444;
--color-box-shadow: rgba(77, 77, 77, 0.5);
--color-success-rgb: 70, 186, 97;
--color-success-hover: #6ac780;
--color-loading-light: #cccccc;
--color-loading-dark: #444444;
--color-box-shadow-rgb: 77, 77, 77;
--color-box-shadow: rgba(var(--color-box-shadow-rgb), 0.5);
--color-border: #ededed;
--color-border-dark: #dbdbdb;
--color-main-background-blur: rgba(255,255,255,0.8);
--background-blur: blur(25px);
--font-face: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen-Sans, Cantarell, Ubuntu, "Helvetica Neue", Arial, sans-serif,
"Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol";
--default-font-size: 15px;
--animation-quick: 100ms;
--animation-slow: 300ms;
--border-radius: 3px;
--border-radius-large: 10px;
--border-radius-pill: 100px;
--font-face: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Cantarell, Ubuntu, Helvetica Neue, Arial, sans-serif, Noto Color Emoji, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
--default-font-size: 15px;
--default-line-height: 24px;
--animation-quick: 100ms;
--animation-slow: 300ms;
--header-height: 50px;
--navigation-width: 300px;
--sidebar-min-width: 300px;
--sidebar-max-width: 500px;
--list-min-width: 200px;
--list-max-width: 300px;
--header-menu-item-height: 44px;
--header-menu-profile-item-height: 66px;
--breakpoint-mobile: 1024px;
--primary-invert-if-bright: no;
--background-invert-if-dark: no;
--background-invert-if-bright: invert(100%);
}

/* Light */
@media (prefers-color-scheme: light) {
:root {
--color-main-background: #ffffff;
--color-main-background-rgb: 255, 255, 255;
--color-main-background-translucent: rgba(
var(--color-main-background-rgb),
0.97
);
--color-main-background-blur: rgba(
var(--color-main-background-rgb),
0.8
);
--filter-background-blur: blur(25px);
--gradient-main-background: var(--color-main-background) 0%,
var(--color-main-background-translucent) 85%, transparent 100%;
--color-background-hover: #f5f5f5;
--color-background-dark: #ededed;
--color-background-darker: #dbdbdb;
--color-placeholder-light: #e6e6e6;
--color-placeholder-dark: #cccccc;
--color-primary: #0082c9;
--color-primary-text: #ffffff;
--color-primary-hover: #329bd3;
--color-primary-light: #e5f2f9;
--color-primary-light-text: #0082c9;
--color-primary-light-hover: #dbe7ee;
--color-primary-text-dark: #ededed;
--color-primary-element: #0082c9;
--color-primary-element-text: #ffffff;
--color-primary-element-hover: #329bd3;
--color-primary-element-light: #e5f2f9;
--color-primary-element-light-text: #0082c9;
--color-primary-element-light-hover: #dbe7ee;
--color-primary-element-text-dark: #ededed;
--gradient-primary-background: linear-gradient(
40deg,
var(--color-primary) 0%,
var(--color-primary-hover) 100%
);
--color-main-text: #222222;
--color-text-maxcontrast: #767676;
--color-text-light: #222222;
--color-text-lighter: #767676;
--color-error: #e9322d;
--color-error-rgb: 233, 50, 45;
--color-error-hover: #ed5a56;
--color-warning: #eca700;
--color-warning-rgb: 236, 167, 0;
--color-warning-hover: #efb832;
--color-success: #46ba61;
--color-success-rgb: 70, 186, 97;
--color-success-hover: #6ac780;
--color-loading-light: #cccccc;
--color-loading-dark: #444444;
--color-box-shadow-rgb: 77, 77, 77;
--color-box-shadow: rgba(var(--color-box-shadow-rgb), 0.5);
--color-border: #ededed;
--color-border-dark: #dbdbdb;
--font-face: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen-Sans, Cantarell, Ubuntu, "Helvetica Neue", Arial, sans-serif,
"Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol";
--default-font-size: 15px;
--animation-quick: 100ms;
--animation-slow: 300ms;
--border-radius: 3px;
--border-radius-large: 10px;
--border-radius-pill: 100px;
--default-line-height: 24px;
--header-height: 50px;
--navigation-width: 300px;
--sidebar-min-width: 300px;
--sidebar-max-width: 500px;
--list-min-width: 200px;
--list-max-width: 300px;
--header-menu-item-height: 44px;
--header-menu-profile-item-height: 66px;
--breakpoint-mobile: 1024px;
--primary-invert-if-bright: no;
--background-invert-if-dark: no;
--background-invert-if-bright: invert(100%);
}
}

/* Dark */
@media (prefers-color-scheme: dark) {
:root {
--color-main-background: #171717;
--color-main-background-rgb: 23, 23, 23;
--color-main-background-translucent: rgba(
var(--color-main-background-rgb),
0.97
);
--color-main-background-blur: rgba(
var(--color-main-background-rgb),
0.8
);
--filter-background-blur: blur(25px);
--gradient-main-background: var(--color-main-background) 0%,
var(--color-main-background-translucent) 85%, transparent 100%;
--color-background-hover: #212121;
--color-background-dark: #292929;
--color-background-darker: #3b3b3b;
--color-placeholder-light: #313131;
--color-placeholder-dark: #4a4a4a;
--color-primary: #0082c9;
--color-primary-text: #ffffff;
--color-primary-hover: #046ca5;
--color-primary-light: #142128;
--color-primary-light-text: #0082c9;
--color-primary-light-hover: #1d2a30;
--color-primary-text-dark: #ededed;
--color-primary-element: #0082c9;
--color-primary-element-text: #ffffff;
--color-primary-element-hover: #0277b7;
--color-primary-element-light: #17adff;
--color-primary-element-light-text: #0082c9;
--color-primary-element-light-hover: #dbe7ee;
--color-primary-element-text-dark: #ededed;
--gradient-primary-background: linear-gradient(
40deg,
var(--color-primary) 0%,
var(--color-primary-hover) 100%
);
--color-main-text: #d8d8d8;
--color-text-maxcontrast: #8c8c8c;
--color-text-light: #bfbfbf;
--color-text-lighter: #a5a5a5;
--color-error: #e9322d;
--color-error-rgb: 233, 50, 45;
--color-error-hover: #ed5a56;
--color-warning: #eca700;
--color-warning-rgb: 236, 167, 0;
--color-warning-hover: #efb832;
--color-success: #46ba61;
--color-success-rgb: 70, 186, 97;
--color-success-hover: #6ac780;
--color-loading-light: #777;
--color-loading-dark: #ccc;
--color-box-shadow-rgb: 0, 0, 0;
--color-box-shadow: rgba(var(--color-box-shadow-rgb), 0.5);
--color-border: #292929;
--color-border-dark: #3b3b3b;
--font-face: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen-Sans, Cantarell, Ubuntu, "Helvetica Neue", Arial, sans-serif,
"Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol";
--default-font-size: 15px;
--animation-quick: 100ms;
--animation-slow: 300ms;
--border-radius: 3px;
--border-radius-large: 10px;
--border-radius-pill: 100px;
--default-line-height: 24px;
--header-height: 50px;
--navigation-width: 300px;
--sidebar-min-width: 300px;
--sidebar-max-width: 500px;
--list-min-width: 200px;
--list-max-width: 300px;
--header-menu-item-height: 44px;
--header-menu-profile-item-height: 66px;
--breakpoint-mobile: 1024px;
--primary-invert-if-bright: no;
--background-invert-if-dark: invert(100%);
--background-invert-if-bright: no;
--color-primary-element-lighter: #132731;
}
}

0 comments on commit baa557e

Please sign in to comment.