lbry-desktop/ui/scss/themes/light.scss

207 lines
7.7 KiB
SCSS
Raw Normal View History

2019-11-22 22:13:00 +01:00
:root {
2022-04-14 23:27:16 +02:00
// Color overrides
--color-primary: rgb(43, 187, 144);
--color-primary-dynamic: rgb(43, 187, 144);
2022-04-17 00:33:16 +02:00
--color-primary-alt: rgb(228, 244, 239);
--color-primary-alt-2: rgb(6, 95, 70);
--color-primary-alt-3: rgb(16, 185, 129);
--color-primary-static: rgb(4, 120, 87);
2022-04-14 23:27:16 +02:00
--color-primary-contrast: #ffffff;
--color-primary-text-hover: #ffffff;
--color-brand-blue: rgb(49, 135, 148);
2022-04-17 00:33:16 +02:00
--color-brand-contrast: white;
2022-04-14 23:27:16 +02:00
--color-brand: var(--color-primary-static);
--color-brand-bright: rgb(56, 217, 169);
--color-accent: var(--color-brand-blue);
--color-secondary: rgb(219, 234, 254);
--color-secondary-alt: rgb(191, 219, 254);
--color-secondary-alt-2: rgb(30, 64, 175);
--color-secondary-static: var(--color-secondary);
--color-secondary-contrast-static: #ffffff;
--color-secondary-contrast: #ffffff;
//Structure
--color-border: #ededed;
--color-background: #fafafa;
--color-background-overlay: #21252980;
--color-card-background: #ffffff;
--color-card-background-highlighted: #fff5f5;
//Text
--color-text-selection-bg: var(--color-primary-alt);
--color-text-selection: var(--color-primary);
--color-text-error: var(--color-danger);
--color-text-empty: #999999;
--color-text-help: #999999;
--color-text-subtitle: #767676;
--color-text-warning: #212529;
--color-help-warning-bg: #fef3c7;
--color-text-warning--background: var(--lbry-yellow-1);
--color-blockquote: var(--color-gray-3);
--color-blockquote-bg: var(--color-gray-1);
--color-tooltip-bg: #222;
--color-tooltip-text: #fafafa;
// Header
--color-header-button: var(--color-button-alt-bg);
--color-header-background: #ffffff;
// Button
--color-button-alt-bg: var(--color-gray-1);
--color-button-alt-bg-hover: var(--color-gray-2);
--color-button-alt-text: black;
// pri
--color-button-primary-bg: var(--color-primary);
--color-button-primary-bg-hover: var(--color-accent);
--color-button-primary-text: var(--color-primary-alt);
--color-button-primary-hover-text: var(--color-white);
// sec
--color-button-secondary-bg: var(--color-gray-1);
--color-button-secondary-border: var(--color-secondary-alt-3);
--color-button-secondary-text: var(--color-gray-6);
--color-button-secondary-bg-hover: var(--color-card-background);
--color-button-secondary-text-hover: var(--color-primary);
// toggle
--color-button-toggle-text: var(--color-gray-6);
--color-button-toggle-bg: var(--color-gray-1);
--color-button-toggle-bg-hover: var(--color-card-background);
--color-button-border: var(--color-gray-3);
--color-button-toggle-text-hover: var(--color-primary);
--color-button-toggle-bg-active: var(--color-card-background);
--color-button-toggle-text-active: var(--color-gray-6);
--color-toggle-custom: var(--color-secondary);
// link / util
--color-link-active: var(--color-primary);
--color-link-focus-bg: #f1f1f1;
--color-link: var(--color-primary-alt-2);
--color-button-alt-text-hover: var(--color-text);
--color-link-hover: var(--color-primary);
// Input
--color-input-bg-selected: var(--color-primary-alt);
--color-input-color: #111111;
--color-input-label: var(--color-gray-5);
--color-input-placeholder: #212529;
2022-04-15 04:00:00 +02:00
--color-input-bg: var(--color-white);
2022-04-14 23:27:16 +02:00
--color-input-border: var(--color-border);
--color-input-border-active: var(--color-secondary);
--color-input-toggle: var(--color-secondary);
2022-04-15 04:00:00 +02:00
--color-input-toggle-bg: var(--color-input-bg);
2022-04-14 23:27:16 +02:00
--color-input-toggle-bg-hover: var(--color-secondary-alt);
--color-input-prefix-bg: var(--color-gray-2);
--color-input-prefix-border: var(--color-gray-5);
--select-toggle-background: url("data:image/svg+xml,%3Csvg viewBox='0 0 96 96' xmlns='http://www.w3.org/2000/svg' fill='%23212529'%3E%3Cpath d='M17.172, 31.172c1.562, -1.562 4.095, -1.562 5.656, 0l25.172, 25.171l25.172, -25.171c1.562, -1.562 4.095, -1.562 5.656, 0c1.562, 1.562 1.562, 4.095 0, 5.656l-28, 28c-1.562, 1.562 -4.095, 1.562 -5.656, 0l-28, -28c-0.781, -0.781 -1.172, -1.805 -1.172, -2.828c0, -1.023 0.391, -2.047 1.172, -2.828Z'/%3E%3C/svg%3E%0A");
// Navigation
--color-navigation-icon: var(--color-gray-5);
--color-navigation-link: var(--color-gray-5);
--color-navigation-active: var(--color-primary);
--color-navigation-active-text: var(--color-primary-alt);
--color-navigation-hover: var(--color-gray-1);
--color-navigation-hover-text: #3f3f3f;
--color-navigation-hover-bg: var(--color-gray-1);
// Tags
--color-tag: var(--color-primary-alt-2);
--color-tag-bg: #f9f6f7;
--color-tag-hover: var(--color-button-alt-text);
--color-tag-bg-hover: var(--color-button-alt-bg-hover);
// Menu
--color-menu-background: var(--color-header-background);
--color-menu-icon: var(--color-navigation-link);
--color-menu-icon-active: var(--color-navigation-link);
--color-menu-background--selected: var(--color-brand-contrast);
--color-menu-background--active: var(--color-brand);
// Comments
--color-comment-menu: #e0e0e0;
--color-comment-menu-hovering: #6a6a6a;
--color-comment-highlighted: #fff2d9;
--color-comment-threadline: var(--color-gray-1);
--color-comment-threadline-hover: var(--color-gray-4);
// Superchat
--color-superchat-text: var(--color-black);
--color-superchat: #fcd34d;
--color-superchat__light: #fcd34d50;
--color-superchat-2: #fde68a;
--color-superchat-3: #fef3c7;
--color-superchat-3__light: #fef3c750;
--color-superchat-4: #fffbeb;
// Color
--color-focus: #8dbff0;
--color-nag: #fa8700;
--color-error: #fcafca;
--color-notice: #fef3ca;
--color-purchased: var(--color-cost);
--color-purchased-alt: #ffebc2;
--color-purchased-text: black;
--color-thumbnail-background: var(--color-gray-1);
--color-spinner-light: #ffffff;
--color-spinner-dark: #212529;
--color-placeholder-background: #f0f0f0;
--color-file-viewer-background: var(--color-card-background);
--color-tabs-background: var(--color-card-background);
--color-tab-divider: var(--color-primary);
--color-modal-background: var(--color-card-background);
// Icons
--color-follow-bg: #ffd4da;
--color-follow-icon: #e2495e;
--color-view-bg: var(--color-secondary-alt);
--color-view-icon: var(--color-secondary);
// Editor
--color-editor-cursor: var(--color-text);
--color-editor-quote: #707070;
--color-editor-tag: #ea9400;
--color-editor-attr: #04b0f4;
--color-editor-string: #ff7451;
--color-editor-inline-code-fg: var(--color-text);
--color-editor-inline-code-fg-preview: #2e3439;
--color-editor-inline-code-bg: rgba(157, 161, 165, 0.3);
--color-editor-inline-code-bg-preview: #d0e8ff;
--color-editor-selected: #add6ff;
--color-editor-link: var(--color-link);
--color-editor-url: var(--color-editor-string);
--color-editor-hr: var(--color-editor-tag);
--color-editor-hr-preview: #cccccc;
// Ads
--color-ads-background: #fae5ff;
--color-ads-link: var(--color-link);
// Scrollbar
--color-scrollbar-thumb-bg: rgba(0, 0, 0, 0.2);
--color-scrollbar-track-bg: transparent;
// Structure
--color-border: rgba(0, 0, 0, 0.2);
--color-background-base: 231, 231, 231;
--color-background: rgba(var(--color-background-base), 1);
// Text
--color-text-base: 0, 0, 0;
--color-text: #000000;
// Header
--color-header-button-base: 220, 220, 220;
--color-header-background-base: 255, 255, 255;
--color-header-background: rgba(var(--color-header-background-base), 0.92);
--color-header-background-transparent: rgba(240, 240, 240, 0.95);
// Menu
--color-menu-background-active: var(--color-primary);
// Comments
--color-comment-highlighted: rgba(var(--color-primary-dynamic), 0.1);
--background-shade: linear-gradient(-180deg, rgba(var(--color-background-base), 0.6) 2%, #f1f1f1),
radial-gradient(circle at 50% 217%, rgba(var(--color-background-base), 0.6) 0, #f8f8f8 100%);
--mui-background: #fff;
--mui-button: var(--color-header-button);
2019-11-22 22:13:00 +01:00
}