2022-07-27 16:39:29 +03:00
|
|
|
/* Colors from Figma Compound https://www.figma.com/file/X4XTH9iS2KGJ2wFKDqkyed/Compound?node-id=559%3A741 */
|
2022-12-12 14:24:14 +03:00
|
|
|
$system: #21262c;
|
2023-07-12 20:46:49 +03:00
|
|
|
$system-transparent: #e1e6ec00;
|
2021-08-12 17:20:30 +03:00
|
|
|
|
2022-07-27 16:39:29 +03:00
|
|
|
/* unified palette */
|
|
|
|
/* try to use these colors when possible */
|
2020-07-09 15:48:15 +03:00
|
|
|
$bg-color: #181b21;
|
2020-07-14 19:39:14 +03:00
|
|
|
$base-color: #15171b;
|
|
|
|
$base-text-color: #edf3ff;
|
2020-07-09 15:48:15 +03:00
|
|
|
$header-panel-bg-color: #22262e;
|
2023-10-11 17:43:01 +03:00
|
|
|
$header-panel-bg-hover: var(--cpd-color-gray-200);
|
2020-07-14 19:39:14 +03:00
|
|
|
$header-panel-text-primary-color: #a1b2d1;
|
2020-07-09 15:48:15 +03:00
|
|
|
$header-panel-text-secondary-color: #c8c8cd;
|
2020-07-14 19:39:14 +03:00
|
|
|
$text-primary-color: #edf3ff;
|
|
|
|
$text-secondary-color: #a1b2d1;
|
2020-07-09 15:48:15 +03:00
|
|
|
$room-highlight-color: #343a46;
|
|
|
|
|
2022-07-27 16:39:29 +03:00
|
|
|
/* typical text (dark-on-white in light skin) */
|
2020-07-09 15:48:15 +03:00
|
|
|
$primary-fg-color: $text-primary-color;
|
2020-08-13 17:16:31 +03:00
|
|
|
$secondary-fg-color: $primary-fg-color;
|
2020-08-14 20:53:56 +03:00
|
|
|
$tertiary-fg-color: $primary-fg-color;
|
2020-07-09 15:48:15 +03:00
|
|
|
$primary-bg-color: $bg-color;
|
|
|
|
$muted-fg-color: $header-panel-text-primary-color;
|
|
|
|
|
2022-07-27 16:39:29 +03:00
|
|
|
/* used for dialog box text */
|
2020-07-09 15:48:15 +03:00
|
|
|
$light-fg-color: $header-panel-text-secondary-color;
|
|
|
|
|
2022-07-27 16:39:29 +03:00
|
|
|
/* used for focusing form controls */
|
2020-07-09 15:48:15 +03:00
|
|
|
$focus-bg-color: $room-highlight-color;
|
|
|
|
|
2024-03-22 03:27:13 +03:00
|
|
|
$pill-bg-color: var(--cpd-color-bg-action-primary-rest);
|
|
|
|
$pill-hover-bg-color: var(--cpd-color-bg-action-primary-hovered);
|
|
|
|
$pill-press-bg-color: var(--cpd-color-bg-action-primary-pressed);
|
2020-07-09 15:48:15 +03:00
|
|
|
|
2022-07-27 16:39:29 +03:00
|
|
|
/* informational plinth */
|
2020-07-09 15:48:15 +03:00
|
|
|
$info-plinth-bg-color: $header-panel-bg-color;
|
|
|
|
$info-plinth-fg-color: #888;
|
|
|
|
|
2022-03-23 02:07:37 +03:00
|
|
|
$spacePanel-bg-color: $base-color;
|
|
|
|
$inverted-bg-color: $spacePanel-bg-color;
|
2020-07-09 15:48:15 +03:00
|
|
|
|
2022-07-27 16:39:29 +03:00
|
|
|
/* used by Autocomplete */
|
2020-07-09 15:48:15 +03:00
|
|
|
$selected-color: $room-highlight-color;
|
|
|
|
|
2022-07-27 16:39:29 +03:00
|
|
|
/* selected for hoverover & selected event tiles */
|
2020-07-09 15:48:15 +03:00
|
|
|
$event-selected-color: $header-panel-bg-color;
|
|
|
|
|
2022-07-27 16:39:29 +03:00
|
|
|
/* used for the hairline dividers in RoomView */
|
2021-11-10 12:46:33 +03:00
|
|
|
$primary-hairline-color: #000000;
|
2023-07-12 20:46:49 +03:00
|
|
|
$secondary-hairline-color: var(--cpd-color-gray-300);
|
2020-07-09 15:48:15 +03:00
|
|
|
|
2022-07-27 16:39:29 +03:00
|
|
|
/* used for the border of input text fields */
|
2020-07-09 15:48:15 +03:00
|
|
|
$input-border-color: #e7e7e7;
|
2021-11-10 12:46:33 +03:00
|
|
|
$input-darker-bg-color: #181b21;
|
|
|
|
$input-darker-fg-color: #61708b;
|
2020-07-09 15:48:15 +03:00
|
|
|
$input-lighter-bg-color: #f2f5f8;
|
2023-07-12 20:46:49 +03:00
|
|
|
$input-placeholder: var(--cpd-color-text-placeholder);
|
2020-07-09 15:48:15 +03:00
|
|
|
|
2021-04-22 01:22:27 +03:00
|
|
|
$resend-button-divider-color: $muted-fg-color;
|
|
|
|
|
2022-07-27 16:39:29 +03:00
|
|
|
/* scrollbars */
|
2020-07-09 15:48:15 +03:00
|
|
|
$scrollbar-thumb-color: rgba(255, 255, 255, 0.2);
|
|
|
|
|
2022-07-27 16:39:29 +03:00
|
|
|
/* context menus */
|
2021-11-10 12:46:33 +03:00
|
|
|
$menu-border-color: #000000;
|
2020-07-09 15:48:15 +03:00
|
|
|
$menu-bg-color: $header-panel-bg-color;
|
|
|
|
$menu-box-shadow-color: $bg-color;
|
|
|
|
$menu-selected-color: $room-highlight-color;
|
|
|
|
|
|
|
|
$avatar-initial-color: #ffffff;
|
|
|
|
|
|
|
|
$h3-color: $primary-fg-color;
|
2023-07-12 20:46:49 +03:00
|
|
|
$icon-button-color: var(--cpd-color-icon-tertiary);
|
2020-07-09 15:48:15 +03:00
|
|
|
|
|
|
|
$dialog-title-fg-color: $base-text-color;
|
2024-03-13 16:38:32 +03:00
|
|
|
$dialog-backdrop-color: #00000080;
|
2023-07-12 20:46:49 +03:00
|
|
|
$dialog-close-fg-color: $icon-button-color;
|
2022-01-07 17:54:45 +03:00
|
|
|
$dialog-close-external-color: $text-primary-color;
|
2020-07-09 15:48:15 +03:00
|
|
|
|
|
|
|
$lightbox-background-bg-color: #000;
|
2021-04-22 15:59:02 +03:00
|
|
|
$lightbox-background-bg-opacity: 0.85;
|
2020-07-09 15:48:15 +03:00
|
|
|
|
|
|
|
$settings-grey-fg-color: #a2a2a2;
|
|
|
|
$settings-subsection-fg-color: $text-secondary-color;
|
|
|
|
|
|
|
|
$topleftmenu-color: $text-primary-color;
|
2021-11-10 12:46:33 +03:00
|
|
|
$roomheader-addroom-bg-color: #3c4556;
|
2020-07-09 15:48:15 +03:00
|
|
|
$roomheader-addroom-fg-color: $text-primary-color;
|
|
|
|
$roomtopic-color: $text-secondary-color;
|
2023-07-12 20:46:49 +03:00
|
|
|
$room-icon-unread-color: var(--cpd-color-icon-tertiary);
|
2020-07-09 15:48:15 +03:00
|
|
|
|
2022-07-27 16:39:29 +03:00
|
|
|
/* Legacy theme backports */
|
2022-12-12 14:24:14 +03:00
|
|
|
$accent: #0dbd8b;
|
|
|
|
$alert: #ff5b55;
|
2021-10-16 21:56:02 +03:00
|
|
|
$links: #0086e6;
|
2023-03-21 12:23:20 +03:00
|
|
|
$link-external: #0467dd;
|
2021-10-16 21:54:23 +03:00
|
|
|
$primary-content: $primary-fg-color;
|
|
|
|
$secondary-content: $secondary-fg-color;
|
|
|
|
$tertiary-content: $tertiary-fg-color;
|
2022-12-12 14:24:14 +03:00
|
|
|
$quaternary-content: #6f7882;
|
2021-10-16 21:54:23 +03:00
|
|
|
$quinary-content: $quaternary-content;
|
|
|
|
$background: $primary-bg-color;
|
2022-04-13 11:44:15 +03:00
|
|
|
$overlay-background: rgba($background, 0.85);
|
|
|
|
|
2021-10-16 21:56:02 +03:00
|
|
|
$panels: rgba($system, 0.9);
|
2021-10-16 21:54:23 +03:00
|
|
|
$panel-actions: $roomtile-selected-bg-color;
|
2021-10-16 21:56:02 +03:00
|
|
|
|
2024-07-16 12:03:35 +03:00
|
|
|
$separator: var(--cpd-color-gray-400);
|
2023-07-12 20:46:49 +03:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Creating a `semantic` color scale. This will not be needed with the new
|
|
|
|
* visual language, but necessary during the transition period
|
|
|
|
* This abstract the `green` away from where accent shades are used
|
|
|
|
* Take: `background: rgba($accent, 0.1);`
|
|
|
|
* would be transformed to: `background: $accent-300;`
|
|
|
|
*
|
|
|
|
* To use under very rare circumstances, always prefer the semantics defined
|
|
|
|
* in https://compound.element.io/?path=/docs/tokens-semantic-colors--docs
|
|
|
|
*/
|
|
|
|
$accent-100: var(--cpd-color-green-100);
|
|
|
|
$accent-200: var(--cpd-color-green-200);
|
|
|
|
$accent-300: var(--cpd-color-green-300);
|
|
|
|
$accent-400: var(--cpd-color-green-400);
|
|
|
|
$accent-500: var(--cpd-color-green-500);
|
|
|
|
$accent-600: var(--cpd-color-green-600);
|
|
|
|
$accent-700: var(--cpd-color-green-700);
|
|
|
|
$accent-800: var(--cpd-color-green-800);
|
|
|
|
$accent-900: var(--cpd-color-green-900);
|
|
|
|
$accent-1000: var(--cpd-color-green-1000);
|
|
|
|
$accent-1100: var(--cpd-color-green-1100);
|
|
|
|
$accent-1200: var(--cpd-color-green-1200);
|
|
|
|
$accent-1300: var(--cpd-color-green-1300);
|
|
|
|
$accent-1400: var(--cpd-color-green-1400);
|
2022-07-27 16:39:29 +03:00
|
|
|
/* Legacy theme backports */
|
2021-10-16 21:54:23 +03:00
|
|
|
|
2022-07-27 16:39:29 +03:00
|
|
|
/* ******************** */
|
2020-07-09 15:48:15 +03:00
|
|
|
|
2021-11-15 20:24:11 +03:00
|
|
|
$call-view-button-on-foreground: $primary-content;
|
|
|
|
$call-view-button-on-background: $system;
|
|
|
|
$call-view-button-off-foreground: $system;
|
|
|
|
$call-view-button-off-background: $primary-content;
|
2022-05-04 18:16:38 +03:00
|
|
|
$call-view-content-background: $quinary-content;
|
2021-11-15 20:24:11 +03:00
|
|
|
|
|
|
|
$video-feed-secondary-background: $system;
|
2021-07-07 09:32:06 +03:00
|
|
|
|
2023-01-04 07:44:38 +03:00
|
|
|
$call-system: $system;
|
|
|
|
$call-background: $background;
|
|
|
|
$call-primary-content: $primary-content;
|
|
|
|
$call-light-quaternary-content: #c1c6cd;
|
2022-04-20 18:03:33 +03:00
|
|
|
|
2021-11-29 15:52:09 +03:00
|
|
|
$roomlist-filter-active-bg-color: $panel-actions;
|
2023-07-20 11:13:22 +03:00
|
|
|
$roomlist-bg-color: rgba(38, 40, 45, 0.9);
|
2020-07-09 15:48:15 +03:00
|
|
|
|
2020-11-02 20:22:45 +03:00
|
|
|
$roomsublist-skeleton-ui-bg: linear-gradient(180deg, #3e444c 0%, #3e444c00 100%);
|
2020-07-09 15:48:15 +03:00
|
|
|
|
2022-03-23 02:07:37 +03:00
|
|
|
$spacePanel-divider-color: $tertiary-content;
|
2020-08-22 03:10:05 +03:00
|
|
|
|
2020-07-18 01:18:15 +03:00
|
|
|
$roomtile-default-badge-bg-color: #61708b;
|
2022-12-12 14:24:14 +03:00
|
|
|
$roomtile-selected-bg-color: #1a1d23;
|
2020-07-09 15:48:15 +03:00
|
|
|
|
2022-07-27 16:39:29 +03:00
|
|
|
/* ******************** */
|
2020-07-09 15:48:15 +03:00
|
|
|
|
|
|
|
$widget-menu-bar-bg-color: $header-panel-bg-color;
|
2022-12-12 14:24:14 +03:00
|
|
|
$widget-body-bg-color: #1a1d23;
|
2020-07-09 15:48:15 +03:00
|
|
|
|
2022-12-12 14:24:14 +03:00
|
|
|
$event-highlight-bg-color: #25271f;
|
2020-07-09 15:48:15 +03:00
|
|
|
|
2022-07-27 16:39:29 +03:00
|
|
|
/* event timestamp */
|
2020-07-09 15:48:15 +03:00
|
|
|
$event-timestamp-color: $text-secondary-color;
|
|
|
|
|
2022-07-27 16:39:29 +03:00
|
|
|
/* Tabbed views */
|
2020-07-09 15:48:15 +03:00
|
|
|
$tab-label-fg-color: $text-primary-color;
|
|
|
|
$tab-label-active-fg-color: $text-primary-color;
|
|
|
|
|
2022-07-27 16:39:29 +03:00
|
|
|
/* Buttons */
|
2020-07-09 15:48:15 +03:00
|
|
|
$button-primary-fg-color: #ffffff;
|
|
|
|
$button-secondary-bg-color: transparent;
|
|
|
|
$button-danger-fg-color: #ffffff;
|
|
|
|
$button-danger-disabled-fg-color: #ffffff;
|
2022-07-27 16:39:29 +03:00
|
|
|
$button-danger-disabled-bg-color: #f5b6bb; /* TODO: Verify color */
|
2020-07-09 15:48:15 +03:00
|
|
|
|
2022-07-27 16:39:29 +03:00
|
|
|
/* Toggle switch */
|
2020-07-09 15:48:15 +03:00
|
|
|
$togglesw-off-color: $room-highlight-color;
|
|
|
|
|
2021-03-06 00:14:43 +03:00
|
|
|
$progressbar-bg-color: #21262c;
|
|
|
|
|
2020-07-09 15:48:15 +03:00
|
|
|
$visual-bell-bg-color: #800;
|
|
|
|
|
2023-07-12 20:46:49 +03:00
|
|
|
$dark-panel-bg-color: var(--cpd-color-bg-subtle-secondary);
|
2020-07-09 15:48:15 +03:00
|
|
|
$panel-gradient: rgba(34, 38, 46, 0), rgba(34, 38, 46, 1);
|
|
|
|
|
|
|
|
$message-action-bar-bg-color: $header-panel-bg-color;
|
|
|
|
$message-action-bar-fg-color: $header-panel-text-primary-color;
|
|
|
|
$message-action-bar-border-color: #616b7f;
|
|
|
|
$message-action-bar-hover-border-color: $header-panel-text-primary-color;
|
|
|
|
|
|
|
|
$reaction-row-button-hover-border-color: $header-panel-text-primary-color;
|
|
|
|
$reaction-row-button-selected-bg-color: #1f6954;
|
|
|
|
|
2023-07-12 20:46:49 +03:00
|
|
|
$kbd-border-color: $strong-input-border-color;
|
2020-07-09 15:48:15 +03:00
|
|
|
|
2022-03-23 02:07:37 +03:00
|
|
|
$tooltip-timeline-bg-color: $spacePanel-bg-color;
|
2020-07-09 15:48:15 +03:00
|
|
|
$tooltip-timeline-fg-color: #ffffff;
|
|
|
|
|
|
|
|
$breadcrumb-placeholder-bg-color: #272c35;
|
|
|
|
|
2022-07-27 16:39:29 +03:00
|
|
|
/* See non-legacy dark for variable information */
|
2022-12-12 14:24:14 +03:00
|
|
|
$voice-record-stop-border-color: #6f7882;
|
|
|
|
$voice-record-icon-color: #6f7882;
|
2021-05-05 23:00:56 +03:00
|
|
|
|
2020-07-16 17:26:25 +03:00
|
|
|
$composer-shadow-color: tranparent;
|
|
|
|
|
2021-10-23 06:32:45 +03:00
|
|
|
$codeblock-background-color: #2a3039;
|
2023-01-19 16:42:59 +03:00
|
|
|
$inlinecode-border-color: #2a3039;
|
|
|
|
$inlinecode-background-color: #2a3039;
|
2021-10-23 06:32:45 +03:00
|
|
|
|
2022-07-27 16:39:29 +03:00
|
|
|
/* Bubble tiles */
|
2022-12-12 14:24:14 +03:00
|
|
|
$eventbubble-self-bg: #14322e;
|
2021-08-06 14:07:09 +03:00
|
|
|
$eventbubble-others-bg: $event-selected-color;
|
2022-12-12 14:24:14 +03:00
|
|
|
$eventbubble-bg-hover: #1c2026;
|
2021-08-06 14:07:09 +03:00
|
|
|
|
2022-07-27 16:39:29 +03:00
|
|
|
/* Location sharing */
|
|
|
|
/* ******************** */
|
2022-03-02 16:00:40 +03:00
|
|
|
$location-marker-color: #ffffff;
|
|
|
|
$location-live-color: #5c56f5;
|
2022-03-21 19:43:43 +03:00
|
|
|
$location-live-secondary-color: #deddfd;
|
2022-07-27 16:39:29 +03:00
|
|
|
/* ******************** */
|
2022-03-02 16:00:40 +03:00
|
|
|
|
2022-09-26 16:29:38 +03:00
|
|
|
/* Voice Broadcast */
|
|
|
|
/* ******************** */
|
|
|
|
$live-badge-color: #ffffff;
|
|
|
|
/* ******************** */
|
|
|
|
|
2022-05-10 04:55:31 +03:00
|
|
|
body {
|
|
|
|
color-scheme: dark;
|
|
|
|
}
|
|
|
|
|
2022-07-27 16:39:29 +03:00
|
|
|
/* Nasty hacks to apply a filter to arbitrary monochrome artwork to make it */
|
|
|
|
/* better match the theme. Typically applied to dark grey 'off' buttons or */
|
|
|
|
/* light grey 'on' buttons. */
|
2020-07-09 15:48:15 +03:00
|
|
|
.mx_filterFlipColor {
|
|
|
|
filter: invert(1);
|
|
|
|
}
|
|
|
|
|
2022-07-27 16:39:29 +03:00
|
|
|
/* markdown overrides: */
|
2020-07-09 15:48:15 +03:00
|
|
|
.mx_EventTile_content .markdown-body {
|
|
|
|
table {
|
|
|
|
tr {
|
|
|
|
background-color: #000000;
|
|
|
|
}
|
|
|
|
|
|
|
|
tr:nth-child(2n) {
|
|
|
|
background-color: #080808;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-07-27 16:39:29 +03:00
|
|
|
/* highlight.js overrides: */
|
2021-07-07 10:22:12 +03:00
|
|
|
.hljs-tag {
|
2022-07-27 16:39:29 +03:00
|
|
|
color: inherit; /* Without this they'd be weirdly blue which doesn't match the theme */
|
2020-07-09 15:48:15 +03:00
|
|
|
}
|