2018-04-12 01:24:22 +02:00
|
|
|
|
|
|
|
// typical text (dark-on-white in light skin)
|
2018-10-23 15:23:59 +02:00
|
|
|
$primary-fg-color: #212121;
|
2018-04-12 01:24:22 +02:00
|
|
|
$primary-bg-color: #2d2d2d;
|
|
|
|
|
|
|
|
// used for focusing form controls
|
|
|
|
$focus-bg-color: #101010;
|
|
|
|
|
|
|
|
// used for dialog box text
|
|
|
|
$light-fg-color: #747474;
|
|
|
|
|
|
|
|
// button UI (white-on-green in light skin)
|
|
|
|
$accent-fg-color: $primary-bg-color;
|
|
|
|
$accent-color: #76CFA6;
|
2018-12-20 17:06:02 +01:00
|
|
|
$accent-color-alt: $accent-color;
|
2018-11-16 04:26:37 +01:00
|
|
|
$accent-color-50pct: #76CFA67F;
|
2018-04-12 01:24:22 +02:00
|
|
|
|
|
|
|
$selection-fg-color: $primary-fg-color;
|
|
|
|
|
|
|
|
$focus-brightness: 200%;
|
|
|
|
|
|
|
|
// red warning colour
|
|
|
|
$warning-color: #ff0064;
|
2018-08-03 15:54:52 +02:00
|
|
|
$warning-bg-color: #DF2A8B;
|
2018-08-07 18:04:37 +02:00
|
|
|
$info-bg-color: #2A9EDF;
|
2018-04-12 01:24:22 +02:00
|
|
|
|
|
|
|
// groups
|
|
|
|
$info-plinth-bg-color: #454545;
|
|
|
|
|
|
|
|
$other-user-pill-bg-color: rgba(255, 255, 255, 0.1);
|
|
|
|
|
|
|
|
$preview-bar-bg-color: #333;
|
|
|
|
|
|
|
|
// left-panel style muted accent color
|
|
|
|
$secondary-accent-color: $primary-bg-color;
|
|
|
|
$tertiary-accent-color: #454545;
|
|
|
|
|
|
|
|
// stop the tinter trying to change the secondary accent color
|
|
|
|
// by overriding the key to something untintable
|
|
|
|
// XXX: this is a bit of a hack.
|
|
|
|
#mx_theme_secondaryAccentColor {
|
|
|
|
color: #c0ffee ! important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#mx_theme_tertiaryAccentColor {
|
|
|
|
color: #c0ffee ! important;
|
|
|
|
}
|
|
|
|
|
|
|
|
// used by RoomDirectory permissions
|
|
|
|
$plinth-bg-color: #474747;
|
|
|
|
|
|
|
|
// used by RoomDropTarget
|
|
|
|
$droptarget-bg-color: rgba(45,45,45,0.5);
|
|
|
|
|
|
|
|
// used by AddressSelector
|
|
|
|
$selected-color: #000000;
|
|
|
|
|
|
|
|
// selected for hoverover & selected event tiles
|
|
|
|
$event-selected-color: #353535;
|
|
|
|
|
|
|
|
// used for the hairline dividers in RoomView
|
|
|
|
$primary-hairline-color: #474747;
|
|
|
|
|
|
|
|
// used for the border of input text fields
|
|
|
|
$input-border-color: #3a3a3a;
|
|
|
|
|
2018-10-24 13:50:58 +02:00
|
|
|
$input-darker-bg-color: #c1c9d6;
|
|
|
|
$input-darker-fg-color: #9fa9ba;
|
|
|
|
$button-bg-color: #7ac9a1;
|
|
|
|
$button-fg-color: white;
|
2018-04-12 01:24:22 +02:00
|
|
|
// apart from login forms, which have stronger border
|
|
|
|
$strong-input-border-color: #656565;
|
|
|
|
|
|
|
|
// used for UserSettings EditableText
|
|
|
|
$input-underline-color: $primary-fg-color;
|
|
|
|
$input-fg-color: $primary-fg-color;
|
2019-01-21 19:01:18 +01:00
|
|
|
// scrollbars
|
|
|
|
$scrollbar-thumb-color: rgba(255, 255, 255, 0.2);
|
|
|
|
$scrollbar-track-color: transparent;
|
2018-04-12 01:24:22 +02:00
|
|
|
// context menus
|
|
|
|
$menu-border-color: rgba(187, 187, 187, 0.5);
|
|
|
|
$menu-bg-color: #373737;
|
2018-10-23 15:23:59 +02:00
|
|
|
$menu-selected-color: #f5f8fa;
|
2018-04-12 01:24:22 +02:00
|
|
|
|
|
|
|
$avatar-initial-color: #2d2d2d;
|
|
|
|
$avatar-bg-color: #ffffff;
|
2018-10-23 15:23:59 +02:00
|
|
|
$menu-selected-color: #f5f8fa;
|
2018-04-12 01:24:22 +02:00
|
|
|
|
|
|
|
$h3-color: $primary-fg-color;
|
|
|
|
|
|
|
|
$dialog-background-bg-color: #000;
|
|
|
|
$lightbox-background-bg-color: #000;
|
|
|
|
|
|
|
|
$greyed-fg-color: #888;
|
|
|
|
|
|
|
|
$neutral-badge-color: #888;
|
|
|
|
|
|
|
|
$preview-widget-bar-color: $menu-bg-color;
|
|
|
|
$preview-widget-fg-color: $greyed-fg-color;
|
|
|
|
|
|
|
|
$blockquote-bar-color: #ddd;
|
|
|
|
$blockquote-fg-color: #777;
|
|
|
|
|
|
|
|
$settings-grey-fg-color: #a2a2a2;
|
|
|
|
|
|
|
|
$voip-decline-color: #f48080;
|
|
|
|
$voip-accept-color: #80f480;
|
|
|
|
|
|
|
|
$rte-bg-color: #353535;
|
|
|
|
$rte-code-bg-color: #000;
|
|
|
|
|
2018-12-06 22:39:59 +01:00
|
|
|
$room-warning-bg-color: #2d2d2d;
|
|
|
|
|
2018-04-12 01:24:22 +02:00
|
|
|
// ********************
|
|
|
|
|
|
|
|
$roomtile-name-color: rgba(186, 186, 186, 0.8);
|
|
|
|
$roomtile-selected-bg-color: #333;
|
|
|
|
$roomtile-focused-bg-color: rgba(255, 255, 255, 0.2);
|
|
|
|
|
2018-10-23 15:48:44 +02:00
|
|
|
$username-variant1-color: #1e7ddc;
|
|
|
|
$username-variant2-color: #a756a8;
|
|
|
|
$username-variant3-color: #7ac9a1;
|
|
|
|
$username-variant4-color: #f2809d;
|
|
|
|
$username-variant5-color: #ffc666;
|
|
|
|
$username-variant6-color: #76ddd7;
|
|
|
|
$username-variant7-color: #45529b;
|
|
|
|
$username-variant8-color: #bfd251;
|
|
|
|
|
2018-04-12 01:24:22 +02:00
|
|
|
$roomsublist-background: rgba(0, 0, 0, 0.2);
|
|
|
|
$roomsublist-label-fg-color: $h3-color;
|
|
|
|
$roomsublist-label-bg-color: $tertiary-accent-color;
|
|
|
|
$roomsublist-chevron-color: $accent-color;
|
|
|
|
|
|
|
|
$panel-divider-color: rgba(118, 207, 166, 0.2);
|
|
|
|
|
|
|
|
// ********************
|
|
|
|
|
|
|
|
$widget-menu-bar-bg-color: $tertiary-accent-color;
|
|
|
|
|
|
|
|
// ********************
|
|
|
|
|
|
|
|
// event tile lifecycle
|
|
|
|
$event-encrypting-color: rgba(171, 221, 188, 0.4);
|
|
|
|
$event-sending-color: #888;
|
|
|
|
$event-notsent-color: #f44;
|
|
|
|
|
|
|
|
// event redaction
|
|
|
|
$event-redacted-fg-color: #606060;
|
|
|
|
$event-redacted-border-color: #000000;
|
|
|
|
|
|
|
|
// event timestamp
|
|
|
|
$event-timestamp-color: #acacac;
|
|
|
|
|
2019-01-01 00:22:40 +01:00
|
|
|
$edit-button-url: "$(res)/img/icon_context_message_dark.svg";
|
|
|
|
$copy-button-url: "$(res)/img/icon_copy_message_dark.svg";
|
2018-04-12 01:24:22 +02:00
|
|
|
|
|
|
|
// e2e
|
|
|
|
$e2e-verified-color: #76cfa5; // N.B. *NOT* the same as $accent-color
|
|
|
|
$e2e-unverified-color: #e8bf37;
|
|
|
|
$e2e-warning-color: #ba6363;
|
|
|
|
|
|
|
|
/*** ImageView ***/
|
|
|
|
$lightbox-bg-color: #454545;
|
|
|
|
$lightbox-fg-color: #ffffff;
|
|
|
|
$lightbox-border-color: #ffffff;
|
|
|
|
|
2018-10-22 21:57:58 +02:00
|
|
|
$imagebody-giflabel: rgba(1, 1, 1, 0.7);
|
|
|
|
$imagebody-giflabel-border: rgba(1, 1, 1, 0.2);
|
2019-01-07 14:49:01 +01:00
|
|
|
$imagebody-giflabel-color: rgba(0, 0, 0, 1);
|
2018-10-22 21:57:58 +02:00
|
|
|
|
2018-04-12 01:24:22 +02:00
|
|
|
// unused?
|
|
|
|
$progressbar-color: #000;
|
|
|
|
|
|
|
|
// XXX: copypasted from _base in order to pick up the right FG color...
|
|
|
|
@define-mixin mx_DialogButton {
|
|
|
|
/* align images in buttons (eg spinners) */
|
|
|
|
vertical-align: middle;
|
|
|
|
border: 0px;
|
|
|
|
border-radius: 36px;
|
|
|
|
font-family: $font-family;
|
|
|
|
font-size: 14px;
|
|
|
|
color: $accent-fg-color;
|
|
|
|
background-color: $accent-color;
|
|
|
|
width: auto;
|
|
|
|
padding: 7px;
|
|
|
|
padding-left: 1.5em;
|
|
|
|
padding-right: 1.5em;
|
|
|
|
cursor: pointer;
|
|
|
|
display: inline-block;
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
2018-12-06 22:39:59 +01:00
|
|
|
@define-mixin mx_DialogButton_secondary {
|
|
|
|
// flip colours for the secondary ones
|
|
|
|
font-weight: 600;
|
|
|
|
border: 1px solid $accent-color ! important;
|
|
|
|
color: $accent-color;
|
|
|
|
background-color: $accent-fg-color;
|
|
|
|
}
|
|
|
|
|
2018-04-12 01:24:22 +02: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.
|
|
|
|
.mx_filterFlipColor {
|
|
|
|
filter: invert(1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gm-scrollbar .thumb {
|
|
|
|
filter: invert(1);
|
|
|
|
}
|
|
|
|
|
|
|
|
// markdown overrides:
|
|
|
|
.mx_EventTile_content .markdown-body pre:hover {
|
|
|
|
border-color: #808080 !important; // inverted due to rules below
|
|
|
|
}
|
|
|
|
.mx_EventTile_content .markdown-body {
|
|
|
|
pre, code {
|
|
|
|
filter: invert(1);
|
|
|
|
}
|
|
|
|
|
|
|
|
pre code {
|
|
|
|
filter: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
tr {
|
|
|
|
background-color: #000000;
|
|
|
|
}
|
|
|
|
|
|
|
|
tr:nth-child(2n) {
|
|
|
|
background-color: #080808;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Add a line to the right side of the left panel to distinguish it from the middle panel
|
|
|
|
.mx_LeftPanel {
|
|
|
|
border-right: 1px solid $tertiary-accent-color;
|
|
|
|
}
|