2020-07-09 15:48:15 +03:00
|
|
|
// unified palette
|
|
|
|
// try to use these colors when possible
|
|
|
|
$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;
|
|
|
|
$header-panel-border-color: #000000;
|
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
|
|
|
$search-bg-color: #181b21;
|
|
|
|
$search-placeholder-color: #61708b;
|
|
|
|
$room-highlight-color: #343a46;
|
|
|
|
|
|
|
|
// typical text (dark-on-white in light skin)
|
|
|
|
$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;
|
|
|
|
|
2021-06-24 04:34:34 +03:00
|
|
|
// Legacy theme backports
|
|
|
|
$quaternary-fg-color: #6F7882;
|
|
|
|
|
2020-07-09 15:48:15 +03:00
|
|
|
// used for dialog box text
|
|
|
|
$light-fg-color: $header-panel-text-secondary-color;
|
|
|
|
|
|
|
|
// used for focusing form controls
|
|
|
|
$focus-bg-color: $room-highlight-color;
|
|
|
|
|
|
|
|
$mention-user-pill-bg-color: $warning-color;
|
|
|
|
$other-user-pill-bg-color: $room-highlight-color;
|
|
|
|
$rte-room-pill-color: $room-highlight-color;
|
|
|
|
$rte-group-pill-color: $room-highlight-color;
|
|
|
|
|
|
|
|
// informational plinth
|
|
|
|
$info-plinth-bg-color: $header-panel-bg-color;
|
|
|
|
$info-plinth-fg-color: #888;
|
|
|
|
|
|
|
|
$preview-bar-bg-color: $header-panel-bg-color;
|
|
|
|
|
2020-10-15 01:30:38 +03:00
|
|
|
$groupFilterPanel-bg-color: $base-color;
|
|
|
|
$inverted-bg-color: $groupFilterPanel-bg-color;
|
2020-07-09 15:48:15 +03:00
|
|
|
|
|
|
|
// used by AddressSelector
|
|
|
|
$selected-color: $room-highlight-color;
|
|
|
|
|
|
|
|
// selected for hoverover & selected event tiles
|
|
|
|
$event-selected-color: $header-panel-bg-color;
|
|
|
|
|
|
|
|
// used for the hairline dividers in RoomView
|
2020-07-14 19:39:14 +03:00
|
|
|
$primary-hairline-color: $header-panel-border-color;
|
2020-07-09 15:48:15 +03:00
|
|
|
|
|
|
|
// used for the border of input text fields
|
|
|
|
$input-border-color: #e7e7e7;
|
|
|
|
$input-darker-bg-color: $search-bg-color;
|
|
|
|
$input-darker-fg-color: $search-placeholder-color;
|
|
|
|
$input-lighter-bg-color: #f2f5f8;
|
|
|
|
$input-lighter-fg-color: $input-darker-fg-color;
|
|
|
|
$input-focused-border-color: #238cf5;
|
|
|
|
$input-valid-border-color: $accent-color;
|
|
|
|
$input-invalid-border-color: $warning-color;
|
|
|
|
|
|
|
|
$field-focused-label-bg-color: $bg-color;
|
|
|
|
|
2021-04-22 01:22:27 +03:00
|
|
|
$resend-button-divider-color: $muted-fg-color;
|
|
|
|
|
2020-07-09 15:48:15 +03:00
|
|
|
// scrollbars
|
|
|
|
$scrollbar-thumb-color: rgba(255, 255, 255, 0.2);
|
|
|
|
$scrollbar-track-color: transparent;
|
|
|
|
|
|
|
|
// context menus
|
|
|
|
$menu-border-color: $header-panel-border-color;
|
|
|
|
$menu-bg-color: $header-panel-bg-color;
|
|
|
|
$menu-box-shadow-color: $bg-color;
|
|
|
|
$menu-selected-color: $room-highlight-color;
|
|
|
|
|
|
|
|
$avatar-initial-color: #ffffff;
|
|
|
|
$avatar-bg-color: $bg-color;
|
|
|
|
|
|
|
|
$h3-color: $primary-fg-color;
|
|
|
|
|
|
|
|
$dialog-title-fg-color: $base-text-color;
|
|
|
|
$dialog-backdrop-color: #000;
|
|
|
|
$dialog-shadow-color: rgba(0, 0, 0, 0.48);
|
|
|
|
$dialog-close-fg-color: #9fa9ba;
|
|
|
|
|
|
|
|
$dialog-background-bg-color: $header-panel-bg-color;
|
|
|
|
$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-profile-placeholder-bg-color: #e7e7e7;
|
|
|
|
$settings-profile-overlay-placeholder-fg-color: #454545;
|
2020-09-23 21:30:01 +03:00
|
|
|
$settings-profile-button-bg-color: #e7e7e7;
|
|
|
|
$settings-profile-button-fg-color: $settings-profile-overlay-placeholder-fg-color;
|
2020-07-09 15:48:15 +03:00
|
|
|
$settings-subsection-fg-color: $text-secondary-color;
|
|
|
|
|
|
|
|
$topleftmenu-color: $text-primary-color;
|
|
|
|
$roomheader-color: $text-primary-color;
|
2020-07-14 19:39:14 +03:00
|
|
|
$roomheader-addroom-bg-color: #3c4556; // $search-placeholder-color at 0.5 opacity
|
2020-07-09 15:48:15 +03:00
|
|
|
$roomheader-addroom-fg-color: $text-primary-color;
|
2020-10-15 01:30:38 +03:00
|
|
|
$groupFilterPanel-button-color: $header-panel-text-primary-color;
|
2020-07-09 15:48:15 +03:00
|
|
|
$groupheader-button-color: $header-panel-text-primary-color;
|
|
|
|
$rightpanel-button-color: $header-panel-text-primary-color;
|
2020-07-28 15:19:11 +03:00
|
|
|
$icon-button-color: $header-panel-text-primary-color;
|
2020-07-09 15:48:15 +03:00
|
|
|
$roomtopic-color: $text-secondary-color;
|
|
|
|
$eventtile-meta-color: $roomtopic-color;
|
|
|
|
|
|
|
|
$header-divider-color: $header-panel-text-primary-color;
|
2020-07-14 15:30:05 +03:00
|
|
|
$composer-e2e-icon-color: $header-panel-text-primary-color;
|
2020-07-09 15:48:15 +03:00
|
|
|
|
2021-07-26 13:42:18 +03:00
|
|
|
$quinary-content-color: #394049;
|
2021-07-26 14:17:06 +03:00
|
|
|
$toast-bg-color: $quinary-content-color;
|
2020-12-02 15:14:41 +03:00
|
|
|
|
2020-07-09 15:48:15 +03:00
|
|
|
// ********************
|
|
|
|
|
|
|
|
$theme-button-bg-color: #e3e8f0;
|
2021-04-25 23:10:10 +03:00
|
|
|
$dialpad-button-bg-color: #6F7882;
|
2021-07-07 09:32:06 +03:00
|
|
|
|
2020-07-09 15:48:15 +03:00
|
|
|
|
2020-07-18 00:59:35 +03:00
|
|
|
$roomlist-button-bg-color: #1A1D23; // Buttons include the filter box, explore button, and sublist buttons
|
2020-08-17 18:59:29 +03:00
|
|
|
$roomlist-filter-active-bg-color: $roomlist-button-bg-color;
|
2020-07-18 00:59:35 +03:00
|
|
|
$roomlist-bg-color: $header-panel-bg-color;
|
2020-07-09 15:48:15 +03:00
|
|
|
|
2020-07-18 01:18:15 +03:00
|
|
|
$roomsublist-divider-color: $primary-fg-color;
|
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
|
|
|
|
2020-10-15 01:30:38 +03:00
|
|
|
$groupFilterPanel-divider-color: $roomlist-header-color;
|
2020-08-22 03:10:05 +03:00
|
|
|
|
2020-07-18 01:18:15 +03:00
|
|
|
$roomtile-preview-color: #9e9e9e;
|
|
|
|
$roomtile-default-badge-bg-color: #61708b;
|
|
|
|
$roomtile-selected-bg-color: #1A1D23;
|
2020-07-09 15:48:15 +03:00
|
|
|
|
|
|
|
// ********************
|
|
|
|
|
2020-07-14 19:39:14 +03:00
|
|
|
$panel-divider-color: $header-panel-border-color;
|
2020-07-09 15:48:15 +03:00
|
|
|
|
|
|
|
$widget-menu-bar-bg-color: $header-panel-bg-color;
|
2020-10-19 20:47:15 +03:00
|
|
|
$widget-body-bg-color: #1A1D23;
|
2020-07-09 15:48:15 +03:00
|
|
|
|
|
|
|
// event redaction
|
|
|
|
$event-redacted-fg-color: #606060;
|
|
|
|
$event-redacted-border-color: #000000;
|
|
|
|
|
|
|
|
$event-highlight-fg-color: $warning-color;
|
|
|
|
$event-highlight-bg-color: #25271F;
|
|
|
|
|
|
|
|
// event timestamp
|
|
|
|
$event-timestamp-color: $text-secondary-color;
|
|
|
|
|
|
|
|
// Tabbed views
|
|
|
|
$tab-label-fg-color: $text-primary-color;
|
|
|
|
$tab-label-active-fg-color: $text-primary-color;
|
|
|
|
$tab-label-bg-color: transparent;
|
|
|
|
$tab-label-active-bg-color: $accent-color;
|
|
|
|
$tab-label-icon-bg-color: $text-primary-color;
|
|
|
|
$tab-label-active-icon-bg-color: $text-primary-color;
|
|
|
|
|
|
|
|
// Buttons
|
|
|
|
$button-primary-fg-color: #ffffff;
|
|
|
|
$button-primary-bg-color: $accent-color;
|
|
|
|
$button-secondary-bg-color: transparent;
|
|
|
|
$button-danger-fg-color: #ffffff;
|
|
|
|
$button-danger-bg-color: $notice-primary-color;
|
|
|
|
$button-danger-disabled-fg-color: #ffffff;
|
|
|
|
$button-danger-disabled-bg-color: #f5b6bb; // TODO: Verify color
|
|
|
|
$button-link-fg-color: $accent-color;
|
|
|
|
$button-link-bg-color: transparent;
|
|
|
|
|
|
|
|
// Toggle switch
|
|
|
|
$togglesw-off-color: $room-highlight-color;
|
|
|
|
|
2021-03-06 00:14:43 +03:00
|
|
|
$progressbar-fg-color: $accent-color;
|
|
|
|
$progressbar-bg-color: #21262c;
|
|
|
|
|
2020-07-09 15:48:15 +03:00
|
|
|
$visual-bell-bg-color: #800;
|
|
|
|
|
|
|
|
$room-warning-bg-color: $header-panel-bg-color;
|
|
|
|
|
|
|
|
$dark-panel-bg-color: $header-panel-bg-color;
|
|
|
|
$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-bg-color: $header-panel-bg-color;
|
|
|
|
$reaction-row-button-border-color: #616b7f;
|
|
|
|
$reaction-row-button-hover-border-color: $header-panel-text-primary-color;
|
|
|
|
$reaction-row-button-selected-bg-color: #1f6954;
|
|
|
|
$reaction-row-button-selected-border-color: $accent-color;
|
|
|
|
|
|
|
|
$kbd-border-color: #000000;
|
|
|
|
|
2020-10-15 01:30:38 +03:00
|
|
|
$tooltip-timeline-bg-color: $groupFilterPanel-bg-color;
|
2020-07-09 15:48:15 +03:00
|
|
|
$tooltip-timeline-fg-color: #ffffff;
|
|
|
|
|
|
|
|
$interactive-tooltip-bg-color: $base-color;
|
|
|
|
$interactive-tooltip-fg-color: #ffffff;
|
|
|
|
|
|
|
|
$breadcrumb-placeholder-bg-color: #272c35;
|
|
|
|
|
|
|
|
$user-tile-hover-bg-color: $header-panel-bg-color;
|
|
|
|
|
2021-05-05 06:13:37 +03:00
|
|
|
$message-body-panel-fg-color: $secondary-fg-color;
|
2021-05-05 23:00:56 +03:00
|
|
|
$message-body-panel-bg-color: #394049;
|
2021-07-21 22:11:11 +03:00
|
|
|
$message-body-panel-icon-fg-color: $secondary-fg-color;
|
|
|
|
$message-body-panel-icon-bg-color: #21262C;
|
2021-03-05 06:07:48 +03:00
|
|
|
|
2021-05-05 23:00:56 +03:00
|
|
|
// See non-legacy dark for variable information
|
|
|
|
$voice-record-stop-border-color: #6F7882;
|
|
|
|
$voice-record-waveform-incomplete-fg-color: #6F7882;
|
|
|
|
$voice-record-icon-color: #6F7882;
|
|
|
|
$voice-playback-button-bg-color: $tertiary-fg-color;
|
|
|
|
$voice-playback-button-fg-color: #21262C;
|
|
|
|
|
2020-07-09 15:48:15 +03:00
|
|
|
// Appearance tab colors
|
|
|
|
$appearance-tab-border-color: $room-highlight-color;
|
|
|
|
|
2020-07-16 17:26:25 +03:00
|
|
|
$composer-shadow-color: tranparent;
|
|
|
|
|
2020-07-09 15:48:15 +03:00
|
|
|
// ***** Mixins! *****
|
|
|
|
|
|
|
|
@define-mixin mx_DialogButton {
|
|
|
|
/* align images in buttons (eg spinners) */
|
|
|
|
vertical-align: middle;
|
|
|
|
border: 0px;
|
2020-11-20 18:45:34 +03:00
|
|
|
border-radius: 8px;
|
2020-07-09 15:48:15 +03:00
|
|
|
font-family: $font-family;
|
|
|
|
font-size: $font-14px;
|
|
|
|
color: $button-fg-color;
|
|
|
|
background-color: $button-bg-color;
|
|
|
|
width: auto;
|
|
|
|
padding: 7px;
|
|
|
|
padding-left: 1.5em;
|
|
|
|
padding-right: 1.5em;
|
|
|
|
cursor: pointer;
|
|
|
|
display: inline-block;
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
@define-mixin mx_DialogButton_danger {
|
|
|
|
background-color: $accent-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
@define-mixin mx_DialogButton_secondary {
|
|
|
|
// flip colours for the secondary ones
|
|
|
|
font-weight: 600;
|
2021-07-07 09:32:06 +03:00
|
|
|
border: 1px solid $accent-color !important;
|
2020-07-09 15:48:15 +03:00
|
|
|
color: $accent-color;
|
|
|
|
background-color: $button-secondary-bg-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
@define-mixin mx_Dialog_link {
|
|
|
|
color: $accent-color;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
// 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.
|
|
|
|
.mx_filterFlipColor {
|
|
|
|
filter: invert(1);
|
|
|
|
}
|
|
|
|
|
|
|
|
// markdown overrides:
|
|
|
|
.mx_EventTile_content .markdown-body {
|
|
|
|
table {
|
|
|
|
tr {
|
|
|
|
background-color: #000000;
|
|
|
|
}
|
|
|
|
|
|
|
|
tr:nth-child(2n) {
|
|
|
|
background-color: #080808;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-07-07 10:22:12 +03:00
|
|
|
// highlight.js overrides:
|
|
|
|
.hljs-tag {
|
2021-07-07 11:28: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
|
|
|
}
|