2019-10-02 09:05:57 +00:00
|
|
|
/*
|
|
|
|
Copyright 2019 The Matrix.org Foundation C.I.C.
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
*/
|
|
|
|
|
2020-06-23 15:53:16 +00:00
|
|
|
$font-family: var(--font-family, $font-family);
|
|
|
|
$monospace-font-family: var(--font-family-monospace, $monospace-font-family);
|
2021-09-27 06:35:02 +00:00
|
|
|
|
|
|
|
// Colors from Figma Compound https://www.figma.com/file/X4XTH9iS2KGJ2wFKDqkyed/Compound?node-id=559%3A741
|
2021-10-13 14:43:01 +00:00
|
|
|
$accent: var(--accent, $accent);
|
|
|
|
$alert: var(--alert, $alert);
|
|
|
|
$links: var(--links, $links);
|
|
|
|
$primary-content: var(--primary-content, $primary-content);
|
|
|
|
$secondary-content: var(--secondary-content, $secondary-content);
|
|
|
|
$tertiary-content: var(--tertiary-content, $tertiary-content);
|
|
|
|
$quaternary-content: var(--quaternary-content, $quaternary-content);
|
|
|
|
$quinary-content: var(--quinary-content, $quinary-content);
|
|
|
|
$system: var(--system, $system);
|
|
|
|
$background: var(--background, $background);
|
2021-09-27 06:35:02 +00:00
|
|
|
$panels: rgba($system, 0.9);
|
2021-10-13 14:43:01 +00:00
|
|
|
$panel-base: var(--panel-base, $tertiary-content); // This color is not intended for use in the app
|
2021-09-27 06:35:02 +00:00
|
|
|
$panel-selected: rgba($panel-base, 0.3);
|
|
|
|
$panel-hover: rgba($panel-base, 0.1);
|
|
|
|
$panel-actions: rgba($panel-base, 0.2);
|
|
|
|
$space-nav: rgba($panel-base, 0.1);
|
|
|
|
|
2019-09-26 14:15:45 +00:00
|
|
|
//
|
2019-10-01 13:31:43 +00:00
|
|
|
// --accent-color
|
2019-09-26 10:07:45 +00:00
|
|
|
$username-variant3-color: var(--accent-color);
|
2019-09-26 14:15:45 +00:00
|
|
|
//
|
2019-10-01 13:31:43 +00:00
|
|
|
// --timeline-background-color
|
|
|
|
$button-secondary-bg-color: var(--timeline-background-color);
|
|
|
|
$lightbox-border-color: var(--timeline-background-color);
|
|
|
|
$menu-bg-color: var(--timeline-background-color);
|
|
|
|
$message-action-bar-bg-color: var(--timeline-background-color);
|
2021-08-12 09:10:47 +00:00
|
|
|
$background: var(--timeline-background-color);
|
2019-10-01 13:31:43 +00:00
|
|
|
$togglesw-ball-color: var(--timeline-background-color);
|
|
|
|
$droptarget-bg-color: var(--timeline-background-color-50pct); //still needs alpha at .5
|
|
|
|
$authpage-modal-bg-color: var(--timeline-background-color-50pct); //still needs alpha at .59
|
2020-07-14 16:20:28 +00:00
|
|
|
$roomheader-bg-color: var(--timeline-background-color);
|
2019-09-26 14:15:45 +00:00
|
|
|
//
|
2019-10-01 13:31:43 +00:00
|
|
|
// --roomlist-highlights-color
|
2021-08-25 07:17:22 +00:00
|
|
|
$panel-actions: var(--roomlist-highlights-color);
|
2019-09-26 14:15:45 +00:00
|
|
|
//
|
2019-10-01 13:31:43 +00:00
|
|
|
// --sidebar-color
|
2020-10-14 22:30:38 +00:00
|
|
|
$groupFilterPanel-bg-color: var(--sidebar-color);
|
2019-10-01 13:31:43 +00:00
|
|
|
$tooltip-timeline-bg-color: var(--sidebar-color);
|
|
|
|
$dialog-backdrop-color: var(--sidebar-color-50pct);
|
2020-07-17 21:59:35 +00:00
|
|
|
$roomlist-button-bg-color: var(--sidebar-color-15pct);
|
2019-09-26 14:15:45 +00:00
|
|
|
//
|
2019-10-01 13:31:43 +00:00
|
|
|
// --roomlist-background-color
|
|
|
|
$header-panel-bg-color: var(--roomlist-background-color);
|
|
|
|
$panel-gradient: var(--roomlist-background-color-0pct), var(--roomlist-background-color);
|
|
|
|
// these were #f2f5f8 instead of #f3f8fd, but close enough
|
|
|
|
$dark-panel-bg-color: var(--roomlist-background-color);
|
|
|
|
$input-lighter-bg-color: var(--roomlist-background-color);
|
|
|
|
$secondary-accent-color: var(--roomlist-background-color);
|
|
|
|
$selected-color: var(--roomlist-background-color);
|
|
|
|
$widget-menu-bar-bg-color: var(--roomlist-background-color);
|
2020-07-17 21:59:35 +00:00
|
|
|
$roomlist-bg-color: var(--roomlist-background-color);
|
2019-09-26 14:15:45 +00:00
|
|
|
//
|
2019-10-01 13:31:43 +00:00
|
|
|
// --timeline-text-color
|
|
|
|
$message-action-bar-fg-color: var(--timeline-text-color);
|
2021-08-12 09:27:12 +00:00
|
|
|
$primary-content: var(--timeline-text-color);
|
2019-10-01 13:31:43 +00:00
|
|
|
$settings-profile-overlay-placeholder-fg-color: var(--timeline-text-color);
|
|
|
|
$roomtopic-color: var(--timeline-text-color-50pct);
|
|
|
|
$tab-label-fg-color: var(--timeline-text-color);
|
2019-09-26 14:16:05 +00:00
|
|
|
// was #212121
|
2019-10-01 13:31:43 +00:00
|
|
|
$topleftmenu-color: var(--timeline-text-color);
|
2019-09-26 14:16:05 +00:00
|
|
|
// was #45474a
|
2019-10-01 13:31:43 +00:00
|
|
|
$dialog-title-fg-color: var(--timeline-text-color);
|
|
|
|
$tab-label-fg-color: var(--timeline-text-color);
|
2019-09-26 14:16:05 +00:00
|
|
|
// was #4e5054
|
2019-10-01 13:31:43 +00:00
|
|
|
$authpage-lang-color: var(--timeline-text-color);
|
2021-09-09 06:11:47 +00:00
|
|
|
// was #232f32
|
|
|
|
$authpage-primary-color: var(--timeline-text-color);
|
2019-10-01 13:31:43 +00:00
|
|
|
// --roomlist-text-secondary-color
|
2020-07-17 22:18:15 +00:00
|
|
|
$roomtile-default-badge-bg-color: var(--roomlist-text-secondary-color);
|
2020-07-14 16:20:28 +00:00
|
|
|
|
2019-10-01 13:31:43 +00:00
|
|
|
//
|
|
|
|
// --roomlist-separator-color
|
|
|
|
$input-darker-bg-color: var(--roomlist-separator-color);
|
|
|
|
$primary-hairline-color: var(--roomlist-separator-color);// originally #e5e5e5, but close enough
|
2019-09-26 14:15:45 +00:00
|
|
|
//
|
2019-10-01 13:31:43 +00:00
|
|
|
// --timeline-text-secondary-color
|
|
|
|
$authpage-secondary-color: var(--timeline-text-secondary-color);
|
|
|
|
$memberstatus-placeholder-color: var(--timeline-text-secondary-color);
|
|
|
|
$pinned-color: var(--timeline-text-secondary-color);
|
|
|
|
$settings-subsection-fg-color: var(--timeline-text-secondary-color);
|
|
|
|
$roomheader-addroom-bg-color: var(--timeline-text-secondary-color);
|
2019-09-26 14:16:05 +00:00
|
|
|
// was #747474
|
2019-10-01 13:31:43 +00:00
|
|
|
$light-fg-color: var(--timeline-text-secondary-color);
|
2019-09-26 14:16:05 +00:00
|
|
|
// was #888888
|
2019-10-01 13:31:43 +00:00
|
|
|
$greyed-fg-color: var(--timeline-text-secondary-color);
|
|
|
|
$info-plinth-fg-color: var(--timeline-text-secondary-color);
|
2019-09-26 14:15:45 +00:00
|
|
|
//
|
2019-10-01 13:31:43 +00:00
|
|
|
// --primary-color
|
2021-11-11 13:37:29 +00:00
|
|
|
$accent-alt: var(--primary-color);
|
2019-09-26 10:07:45 +00:00
|
|
|
$input-focused-border-color: var(--primary-color);
|
2019-09-26 14:15:45 +00:00
|
|
|
//
|
2019-10-01 13:31:43 +00:00
|
|
|
// --warning-color
|
2019-09-26 14:14:39 +00:00
|
|
|
$button-danger-disabled-bg-color: var(--warning-color-50pct); // still needs alpha at 0.5
|
2020-07-14 16:20:28 +00:00
|
|
|
//
|
2020-09-28 14:20:16 +00:00
|
|
|
// --username colors (which use a 0-based index)
|
|
|
|
$username-variant1-color: var(--username-colors_0, $username-variant1-color);
|
|
|
|
$username-variant2-color: var(--username-colors_1, $username-variant2-color);
|
|
|
|
$username-variant3-color: var(--username-colors_2, $username-variant3-color);
|
|
|
|
$username-variant4-color: var(--username-colors_3, $username-variant4-color);
|
|
|
|
$username-variant5-color: var(--username-colors_4, $username-variant5-color);
|
|
|
|
$username-variant6-color: var(--username-colors_5, $username-variant6-color);
|
|
|
|
$username-variant7-color: var(--username-colors_6, $username-variant7-color);
|
|
|
|
$username-variant8-color: var(--username-colors_7, $username-variant8-color);
|
2020-07-14 16:20:28 +00:00
|
|
|
//
|
|
|
|
// --timeline-highlights-color
|
2020-04-28 14:49:25 +00:00
|
|
|
$event-selected-color: var(--timeline-highlights-color);
|
|
|
|
$event-highlight-bg-color: var(--timeline-highlights-color);
|
2020-07-14 16:20:28 +00:00
|
|
|
//
|
|
|
|
// redirect some variables away from their hardcoded values in the light theme
|
2021-08-12 09:27:12 +00:00
|
|
|
$settings-grey-fg-color: $primary-content;
|
2021-08-06 11:07:09 +00:00
|
|
|
|
|
|
|
// --eventbubble colors
|
|
|
|
$eventbubble-self-bg: var(--eventbubble-self-bg, $eventbubble-self-bg);
|
|
|
|
$eventbubble-others-bg: var(--eventbubble-others-bg, $eventbubble-others-bg);
|
|
|
|
$eventbubble-bg-hover: var(--eventbubble-bg-hover, $eventbubble-bg-hover);
|
|
|
|
$eventbubble-reply-color: var(--eventbubble-reply-color, $eventbubble-reply-color);
|