Disallow invalid inline style comments in stylesheets (#9099)

This commit is contained in:
Germain 2022-07-27 14:39:29 +01:00 committed by GitHub
parent 8eeeee1aa2
commit 72c24af5c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
193 changed files with 1520 additions and 1518 deletions

View file

@ -1,5 +1,5 @@
// Colors from Figma Compound https://www.figma.com/file/X4XTH9iS2KGJ2wFKDqkyed/Compound?node-id=559%3A741
// ********************
/* Colors from Figma Compound https://www.figma.com/file/X4XTH9iS2KGJ2wFKDqkyed/Compound?node-id=559%3A741 */
/* ******************** */
$primary-content: #ffffff;
$secondary-content: #A9B2BC;
$tertiary-content: #8E99A4;
@ -7,38 +7,38 @@ $quaternary-content: #6F7882;
$quinary-content: #394049;
$system: #21262C;
$system-transparent: rgba($system, 0.0); // XXX: workaround for Safari 15.3 linear-gradient bug
$system-transparent: rgba($system, 0.0); /* XXX: workaround for Safari 15.3 linear-gradient bug */
$background: #15191E;
$overlay-background: rgba($background, 0.85);
$panel-base: #8D97A5; // This color is not intended for use in the app
$panel-base: #8D97A5; /* This color is not intended for use in the app */
$panels: rgba($system, 0.9);
$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);
// ********************
/* ******************** */
// Reused Figma non-compound colors
// ********************
/* Reused Figma non-compound colors */
/* ******************** */
$inverted-bg-color: $background;
$header-panel-bg-color: #20252B;
// ********************
/* ******************** */
// Theme specific colors
// ********************
/* Theme specific colors */
/* ******************** */
$icon-button-color: $tertiary-content;
// ********************
/* ******************** */
// Colors that aren't in Figma and are theme specific - we need to get rid of these
// ********************
/* Colors that aren't in Figma and are theme specific - we need to get rid of these */
/* ******************** */
$header-panel-text-secondary-color: #c8c8cd;
$room-highlight-color: #343a46;
$text-secondary-color: #B9BEC6;
// ********************
/* ******************** */
// Colors that aren't in Figma - we need to get rid of these
// ********************
/* Colors that aren't in Figma - we need to get rid of these */
/* ******************** */
$dark-panel-bg-color: $header-panel-bg-color;
$muted-fg-color: $header-panel-text-primary-color;
$light-fg-color: $header-panel-text-secondary-color;
@ -52,134 +52,134 @@ $panel-gradient: rgba(34, 38, 46, 0), rgba(34, 38, 46, 1);
$h3-color: $primary-content;
$event-highlight-bg-color: #25271F;
$header-panel-text-primary-color: $text-secondary-color;
// ********************
/* ******************** */
// Tooltip
// ********************
/* Tooltip */
/* ******************** */
$tooltip-timeline-bg-color: $spacePanel-bg-color;
$tooltip-timeline-fg-color: $primary-content;
// ********************
/* ******************** */
// Widget
// ********************
/* Widget */
/* ******************** */
$widget-menu-bar-bg-color: $header-panel-bg-color;
$widget-body-bg-color: $panel-actions;
// ********************
/* ******************** */
// Menu
// ********************
/* Menu */
/* ******************** */
$menu-border-color: #000000;
$menu-bg-color: $header-panel-bg-color;
$menu-box-shadow-color: $background;
$menu-selected-color: $room-highlight-color;
// ********************
/* ******************** */
// Settings
// ********************
/* Settings */
/* ******************** */
$settings-profile-button-bg-color: #e7e7e7;
$settings-subsection-fg-color: $text-secondary-color;
// ********************
/* ******************** */
// Room
// ********************
/* Room */
/* ******************** */
$room-icon-unread-color: #fff;
// ********************
/* ******************** */
// RoomHeader
// ********************
/* RoomHeader */
/* ******************** */
$roomheader-addroom-bg-color: rgba(92, 100, 112, 0.3);
$roomheader-addroom-fg-color: $primary-content;
// ********************
/* ******************** */
// Rich-text-editor
// ********************
/* Rich-text-editor */
/* ******************** */
$pill-bg-color: $room-highlight-color;
$pill-hover-bg-color: #545a66;
// ********************
/* ******************** */
// Inputs
// ********************
/* Inputs */
/* ******************** */
$input-border-color: rgba(231, 231, 231, 0.2);
$input-darker-bg-color: #181b21;
$input-darker-fg-color: #61708b;
$input-lighter-bg-color: #f2f5f8;
// ********************
/* ******************** */
// Dialog
// ********************
/* Dialog */
/* ******************** */
$dialog-title-fg-color: $primary-content;
$dialog-backdrop-color: $menu-border-color;
$dialog-close-fg-color: #9fa9ba;
$dialog-close-external-color: $primary-content;
// ********************
/* ******************** */
// RoomList
// ********************
/* RoomList */
/* ******************** */
$roomlist-bg-color: rgba($system, 0.90);
$roomsublist-skeleton-ui-bg: linear-gradient(180deg, #3e444c 0%, #3e444c00 100%);
$roomtile-default-badge-bg-color: $input-darker-fg-color;
// ********************
/* ******************** */
// Tabbed views
// ********************
/* Tabbed views */
/* ******************** */
$tab-label-fg-color: $primary-content;
$tab-label-active-fg-color: $primary-content;
// ********************
/* ******************** */
// Buttons
// ********************
/* Buttons */
/* ******************** */
$button-primary-fg-color: $primary-content;
$button-secondary-bg-color: transparent;
$button-danger-fg-color: $primary-content;
$button-danger-disabled-fg-color: $primary-content;
// ********************
/* ******************** */
// Toggle switch
// ********************
/* Toggle switch */
/* ******************** */
$togglesw-off-color: $room-highlight-color;
// ********************
/* ******************** */
// Authpage
// ********************
/* Authpage */
/* ******************** */
$authpage-primary-color: $primary-content;
// ********************
/* ******************** */
// Message action bar
// ********************
/* Message action bar */
/* ******************** */
$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
// ********************
/* Reaction row */
/* ******************** */
$reaction-row-button-hover-border-color: $header-panel-text-primary-color;
$reaction-row-button-selected-bg-color: #1f6954;
// ********************
/* ******************** */
// Voice messages
// ********************
/* Voice messages */
/* ******************** */
$voice-record-stop-border-color: $quaternary-content;
$voice-record-icon-color: $quaternary-content;
// ********************
/* ******************** */
// Bubble tiles
// ********************
/* Bubble tiles */
/* ******************** */
$eventbubble-self-bg: #133A34;
$eventbubble-others-bg: #21262C;
$eventbubble-bg-hover: #1C2026;
$eventbubble-reply-color: #C1C6CD;
// ********************
/* ******************** */
// Lightbox
// ********************
/* Lightbox */
/* ******************** */
$lightbox-background-bg-color: $menu-border-color;
$lightbox-background-bg-opacity: 0.85;
// ********************
/* ******************** */
// VoIP
// ********************
/* VoIP */
/* ******************** */
$call-view-button-on-foreground: $primary-content;
$call-view-button-on-background: $system;
$call-view-button-off-foreground: $system;
@ -191,23 +191,23 @@ $video-feed-secondary-background: $system;
$video-lobby-system: $system;
$video-lobby-background: $background;
$video-lobby-primary-content: $primary-content;
// ********************
/* ******************** */
// Location sharing
// ********************
/* Location sharing */
/* ******************** */
$location-live-color: #5c56f5;
$location-live-secondary-color: #deddfd;
// ********************
/* ******************** */
// Location sharing
// ********************
/* Location sharing */
/* ******************** */
.maplibregl-ctrl-attrib-button {
color: $background;
}
// ********************
/* ******************** */
// One-off colors
// ********************
/* One-off colors */
/* ******************** */
$progressbar-bg-color: $system;
$kbd-border-color: $menu-border-color;
$visual-bell-bg-color: #800;
@ -221,17 +221,17 @@ $resend-button-divider-color: rgba($header-panel-text-primary-color, 0.74);
$codeblock-background-color: #2a3039;
$scrollbar-thumb-color: rgba(255, 255, 255, 0.2);
$selected-color: $room-highlight-color;
// ********************
/* ******************** */
// blur amounts for left left panel (only for element theme)
// ********************
/* blur amounts for left left panel (only for element theme) */
/* ******************** */
:root {
--lp-background-blur: 45px;
}
// ********************
/* ******************** */
// Mixins
// ********************
/* Mixins */
/* ******************** */
@define-mixin mx_DialogButton {
/* align images in buttons (eg spinners) */
vertical-align: middle;
@ -255,7 +255,7 @@ $selected-color: $room-highlight-color;
}
@define-mixin mx_DialogButton_secondary {
// flip colours for the secondary ones
/* flip colours for the secondary ones */
font-weight: 600;
border: 1px solid $accent !important;
color: $accent;
@ -266,23 +266,23 @@ $selected-color: $room-highlight-color;
color: $accent;
text-decoration: none;
}
// ********************
/* ******************** */
body {
color-scheme: dark;
}
// 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.
// ********************
/* 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
// ********************
/* markdown overrides */
/* ******************** */
.mx_EventTile_content .markdown-body {
table {
tr {
@ -294,12 +294,12 @@ body {
}
}
}
// ********************
/* ******************** */
// diff highlight colors
// ********************
/* diff highlight colors */
/* ******************** */
.hljs-tag {
color: inherit; // Without this they'd be weirdly blue which doesn't match the theme
color: inherit; /* Without this they'd be weirdly blue which doesn't match the theme */
}
.hljs-addition {
@ -309,9 +309,9 @@ body {
.hljs-deletion {
background: #53232a;
}
// ********************
/* ******************** */
// Splash Page Gradient
/* Splash Page Gradient */
.mx_SplashPage::before {
background-image:
radial-gradient(

View file

@ -1,9 +1,9 @@
// Colors from Figma Compound https://www.figma.com/file/X4XTH9iS2KGJ2wFKDqkyed/Compound?node-id=559%3A741
/* Colors from Figma Compound https://www.figma.com/file/X4XTH9iS2KGJ2wFKDqkyed/Compound?node-id=559%3A741 */
$system: #21262C;
$system-transparent: rgba($system, 0.0); // XXX: workaround for Safari 15.3 linear-gradient bug
$system-transparent: rgba($system, 0.0); /* XXX: workaround for Safari 15.3 linear-gradient bug */
// unified palette
// try to use these colors when possible
/* unified palette */
/* try to use these colors when possible */
$bg-color: #181b21;
$base-color: #15171b;
$base-text-color: #edf3ff;
@ -14,39 +14,39 @@ $text-primary-color: #edf3ff;
$text-secondary-color: #a1b2d1;
$room-highlight-color: #343a46;
// typical text (dark-on-white in light skin)
/* typical text (dark-on-white in light skin) */
$primary-fg-color: $text-primary-color;
$secondary-fg-color: $primary-fg-color;
$tertiary-fg-color: $primary-fg-color;
$primary-bg-color: $bg-color;
$muted-fg-color: $header-panel-text-primary-color;
// used for dialog box text
/* used for dialog box text */
$light-fg-color: $header-panel-text-secondary-color;
// used for focusing form controls
/* used for focusing form controls */
$focus-bg-color: $room-highlight-color;
$pill-bg-color: $room-highlight-color;
$pill-hover-bg-color: #545a66;
// informational plinth
/* informational plinth */
$info-plinth-bg-color: $header-panel-bg-color;
$info-plinth-fg-color: #888;
$spacePanel-bg-color: $base-color;
$inverted-bg-color: $spacePanel-bg-color;
// used by Autocomplete
/* used by Autocomplete */
$selected-color: $room-highlight-color;
// selected for hoverover & selected event tiles
/* selected for hoverover & selected event tiles */
$event-selected-color: $header-panel-bg-color;
// used for the hairline dividers in RoomView
/* used for the hairline dividers in RoomView */
$primary-hairline-color: #000000;
// used for the border of input text fields
/* used for the border of input text fields */
$input-border-color: #e7e7e7;
$input-darker-bg-color: #181b21;
$input-darker-fg-color: #61708b;
@ -54,10 +54,10 @@ $input-lighter-bg-color: #f2f5f8;
$resend-button-divider-color: $muted-fg-color;
// scrollbars
/* scrollbars */
$scrollbar-thumb-color: rgba(255, 255, 255, 0.2);
// context menus
/* context menus */
$menu-border-color: #000000;
$menu-bg-color: $header-panel-bg-color;
$menu-box-shadow-color: $bg-color;
@ -86,7 +86,7 @@ $icon-button-color: $header-panel-text-primary-color;
$roomtopic-color: $text-secondary-color;
$room-icon-unread-color: #fff;
// Legacy theme backports
/* Legacy theme backports */
$accent: #0DBD8B;
$alert: #FF5B55;
$links: #0086e6;
@ -96,20 +96,20 @@ $tertiary-content: $tertiary-fg-color;
$quaternary-content: #6F7882;
$quinary-content: $quaternary-content;
$system: #21262C;
$system-transparent: rgba($system, 0.0); // XXX: workaround for Safari 15.3 linear-gradient bug
$system-transparent: rgba($system, 0.0); /* XXX: workaround for Safari 15.3 linear-gradient bug */
$background: $primary-bg-color;
$overlay-background: rgba($background, 0.85);
$panels: rgba($system, 0.9);
$panel-base: #8D97A5; // This color is not intended for use in the app
$panel-base: #8D97A5; /* This color is not intended for use in the app */
$panel-selected: rgba($panel-base, 0.3);
$panel-hover: rgba($panel-base, 0.1);
$panel-actions: $roomtile-selected-bg-color;
$space-nav: rgba($panel-base, 0.1);
// Legacy theme backports
/* Legacy theme backports */
// ********************
/* ******************** */
$call-view-button-on-foreground: $primary-content;
$call-view-button-on-background: $system;
@ -133,28 +133,28 @@ $spacePanel-divider-color: $tertiary-content;
$roomtile-default-badge-bg-color: #61708b;
$roomtile-selected-bg-color: #1A1D23;
// ********************
/* ******************** */
$widget-menu-bar-bg-color: $header-panel-bg-color;
$widget-body-bg-color: #1A1D23;
$event-highlight-bg-color: #25271F;
// event timestamp
/* event timestamp */
$event-timestamp-color: $text-secondary-color;
// Tabbed views
/* Tabbed views */
$tab-label-fg-color: $text-primary-color;
$tab-label-active-fg-color: $text-primary-color;
// Buttons
/* Buttons */
$button-primary-fg-color: #ffffff;
$button-secondary-bg-color: transparent;
$button-danger-fg-color: #ffffff;
$button-danger-disabled-fg-color: #ffffff;
$button-danger-disabled-bg-color: #f5b6bb; // TODO: Verify color
$button-danger-disabled-bg-color: #f5b6bb; /* TODO: Verify color */
// Toggle switch
/* Toggle switch */
$togglesw-off-color: $room-highlight-color;
$progressbar-bg-color: #21262c;
@ -179,31 +179,31 @@ $tooltip-timeline-fg-color: #ffffff;
$breadcrumb-placeholder-bg-color: #272c35;
// See non-legacy dark for variable information
/* See non-legacy dark for variable information */
$voice-record-stop-border-color: #6F7882;
$voice-record-icon-color: #6F7882;
// Appearance tab colors
/* Appearance tab colors */
$appearance-tab-border-color: $room-highlight-color;
$composer-shadow-color: tranparent;
$codeblock-background-color: #2a3039;
// Bubble tiles
/* Bubble tiles */
$eventbubble-self-bg: #14322E;
$eventbubble-others-bg: $event-selected-color;
$eventbubble-bg-hover: #1C2026;
$eventbubble-reply-color: #C1C6CD;
// Location sharing
// ********************
/* Location sharing */
/* ******************** */
$location-marker-color: #ffffff;
$location-live-color: #5c56f5;
$location-live-secondary-color: #deddfd;
// ********************
/* ******************** */
// ***** Mixins! *****
/* ***** Mixins! ***** */
@define-mixin mx_DialogButton {
/* align images in buttons (eg spinners) */
@ -228,7 +228,7 @@ $location-live-secondary-color: #deddfd;
}
@define-mixin mx_DialogButton_secondary {
// flip colours for the secondary ones
/* flip colours for the secondary ones */
font-weight: 600;
border: 1px solid $accent !important;
color: $accent;
@ -244,14 +244,14 @@ body {
color-scheme: dark;
}
// 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.
/* 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:
/* markdown overrides: */
.mx_EventTile_content .markdown-body {
table {
tr {
@ -264,7 +264,7 @@ body {
}
}
// highlight.js overrides:
/* highlight.js overrides: */
.hljs-tag {
color: inherit; // Without this they'd be weirdly blue which doesn't match the theme
color: inherit; /* Without this they'd be weirdly blue which doesn't match the theme */
}

View file

@ -12,11 +12,11 @@
* and it's better to rely on the browser's built-in obliquing behaviour.
*/
// Grab the other fonts from the current theme, so we can override to Inter
// in custom fonts if needed.
/* Grab the other fonts from the current theme, so we can override to Inter */
/* in custom fonts if needed. */
@import "../../light/css/_fonts.pcss";
// Nunito as the default, for old time's sake on legacy themes.
/* Nunito as the default, for old time's sake on legacy themes. */
/* the 'src' links are relative to the bundle.css, which is in a subdirectory.
*/
@font-face {

View file

@ -14,24 +14,24 @@ $font-family: 'Nunito', 'Twemoji', 'Apple Color Emoji', 'Segoe UI Emoji', 'STIXG
$monospace-font-family: 'Inconsolata', 'Twemoji', 'Apple Color Emoji', 'Segoe UI Emoji', 'STIXGeneral', 'Courier', monospace, 'Noto Color Emoji';
// unified palette
// try to use these colors when possible
/* unified palette */
/* try to use these colors when possible */
$header-panel-bg-color: #f3f8fd;
// typical text (dark-on-white in light skin)
/* typical text (dark-on-white in light skin) */
$primary-fg-color: #2e2f32;
$secondary-fg-color: $primary-fg-color;
$tertiary-fg-color: $primary-fg-color;
$primary-bg-color: #ffffff;
$muted-fg-color: #61708b; // Commonly used in headings and relevant alt text
$muted-fg-color: #61708b; /* Commonly used in headings and relevant alt text */
// used for dialog box text
/* used for dialog box text */
$light-fg-color: #747474;
// used for focusing form controls
/* used for focusing form controls */
$focus-bg-color: #dddddd;
// button UI (white-on-green in light skin)
/* button UI (white-on-green in light skin) */
$accent-fg-color: #ffffff;
$accent-alt: #238cf5;
@ -39,29 +39,29 @@ $selection-fg-color: $primary-bg-color;
$focus-brightness: 105%;
// informational plinth
/* informational plinth */
$info-plinth-bg-color: #f7f7f7;
$info-plinth-fg-color: #888;
// left-panel style muted accent color
/* left-panel style muted accent color */
$secondary-accent-color: #f2f5f8;
$spacePanel-bg-color: #27303a;
$inverted-bg-color: $spacePanel-bg-color;
// used by RoomDropTarget
/* used by RoomDropTarget */
$droptarget-bg-color: rgba(255, 255, 255, 0.5);
// used by Autocomplete
/* used by Autocomplete */
$selected-color: $secondary-accent-color;
// selected for hoverover & selected event tiles
/* selected for hoverover & selected event tiles */
$event-selected-color: $header-panel-bg-color;
// used for the hairline dividers in RoomView
/* used for the hairline dividers in RoomView */
$primary-hairline-color: #e5e5e5;
// used for the border of input text fields
/* used for the border of input text fields */
$input-border-color: #e7e7e7;
$input-darker-bg-color: #e3e8f0;
$input-darker-fg-color: #9fa9ba;
@ -71,15 +71,15 @@ $resend-button-divider-color: $input-darker-bg-color;
$button-fg-color: white;
// apart from login forms, which have stronger border
/* apart from login forms, which have stronger border */
$strong-input-border-color: #c7c7c7;
// used for UserSettings EditableText
/* used for UserSettings EditableText */
$input-underline-color: rgba(151, 151, 151, 0.5);
$input-fg-color: rgba(74, 74, 74, 0.9);
// scrollbars
/* scrollbars */
$scrollbar-thumb-color: rgba(0, 0, 0, 0.2);
// context menus
/* context menus */
$menu-border-color: #e7e7e7;
$menu-bg-color: #fff;
$menu-box-shadow-color: rgba(118, 131, 156, 0.6);
@ -129,7 +129,7 @@ $icon-button-color: #91a1c0;
$roomtopic-color: #9e9e9e;
$room-icon-unread-color: #737D8C;
// ********************
/* ******************** */
$theme-button-bg-color: #e3e8f0;
@ -140,7 +140,7 @@ $presence-away: #d9b072;
$presence-offline: #e3e8f0;
$presence-busy: #FF5B55;
// Legacy theme backports
/* Legacy theme backports */
$accent: #0DBD8B;
$alert: #FF5B55;
$links: #0086e6;
@ -150,19 +150,19 @@ $tertiary-content: $tertiary-fg-color;
$quaternary-content: #6F7882;
$quinary-content: $quaternary-content;
$system: #F4F6FA;
$system-transparent: rgba($system, 0.0); // XXX: workaround for Safari 15.3 linear-gradient bug
$system-transparent: rgba($system, 0.0); /* XXX: workaround for Safari 15.3 linear-gradient bug */
$background: $primary-bg-color;
$overlay-background: rgba($background, 0.85);
$panels: rgba($system, 0.9);
$panel-base: #8D97A5; // This color is not intended for use in the app
$panel-base: #8D97A5; /* This color is not intended for use in the app */
$panel-selected: rgba($tertiary-content, 0.3);
$panel-hover: rgba($tertiary-content, 0.1);
$panel-actions: $roomtile-selected-bg-color;
$space-nav: rgba($tertiary-content, 0.15);
// Legacy theme backports
/* Legacy theme backports */
// ********************
/* ******************** */
$roomlist-filter-active-bg-color: $panel-actions;
$roomlist-bg-color: $header-panel-bg-color;
@ -177,9 +177,9 @@ $call-view-button-off-foreground: $background;
$call-view-button-off-background: $secondary-content;
$call-view-content-background: #21262C;
$video-feed-secondary-background: #394049; // XXX: Color from dark theme
$video-feed-secondary-background: #394049; /* XXX: Color from dark theme */
// All of these are from dark theme
/* All of these are from dark theme */
$video-lobby-system: #21262C;
$video-lobby-background: #15191E;
$video-lobby-primary-content: #FFFFFF;
@ -193,27 +193,27 @@ $username-variant6-color: #2dc2c5;
$username-variant7-color: #5c56f5;
$username-variant8-color: #74d12c;
// ********************
/* ******************** */
$widget-menu-bar-bg-color: $secondary-accent-color;
$widget-body-bg-color: #fff;
// ********************
/* ******************** */
// $event-highlight-bg-color shares this value,
// so to not make their order dependent on who depends on who, have a shared value
// defined before both
/* $event-highlight-bg-color shares this value, */
/* so to not make their order dependent on who depends on who, have a shared value */
/* defined before both */
$yellow-background: #fff8e3;
$event-highlight-bg-color: $yellow-background;
// event timestamp
/* event timestamp */
$event-timestamp-color: #acacac;
$copy-button-url: "$(res)/img/element-icons/copy.svg";
// e2e
$e2e-verified-color: #76cfa5; // N.B. *NOT* the same as $accent
/* e2e */
$e2e-verified-color: #76cfa5; /* N.B. *NOT* the same as $accent */
$e2e-unknown-color: #e8bf37;
$e2e-unverified-color: #e8bf37;
$e2e-warning-color: #ba6363;
@ -223,24 +223,24 @@ $lightbox-bg-color: #454545;
$lightbox-fg-color: #ffffff;
$lightbox-border-color: #ffffff;
// Tabbed views
/* Tabbed views */
$tab-label-fg-color: #45474a;
$tab-label-active-fg-color: #ffffff;
// Buttons
/* Buttons */
$button-primary-fg-color: #ffffff;
$button-secondary-bg-color: $accent-fg-color;
$button-danger-fg-color: #ffffff;
$button-danger-disabled-fg-color: #ffffff;
$button-danger-disabled-bg-color: #f5b6bb; // TODO: Verify color
$button-danger-disabled-bg-color: #f5b6bb; /* TODO: Verify color */
$visual-bell-bg-color: #faa;
// Toggle switch
/* Toggle switch */
$togglesw-off-color: #c1c9d6;
$togglesw-ball-color: #fff;
// Slider
/* Slider */
$slider-background-color: #c1c9d6;
$progressbar-bg-color: rgba(141, 151, 165, 0.2);
@ -270,38 +270,38 @@ $tooltip-timeline-fg-color: #ffffff;
$breadcrumb-placeholder-bg-color: #e8eef5;
// See non-legacy _light for variable information
/* See non-legacy _light for variable information */
$voice-record-stop-symbol-color: #ff4b55;
$voice-record-live-circle-color: #ff4b55;
$voice-record-stop-border-color: #E3E8F0;
$voice-record-icon-color: $tertiary-fg-color;
// FontSlider colors
/* FontSlider colors */
$appearance-tab-border-color: $input-darker-bg-color;
$composer-shadow-color: tranparent;
$codeblock-background-color: $header-panel-bg-color;
// Bubble tiles
/* Bubble tiles */
$eventbubble-self-bg: #F0FBF8;
$eventbubble-others-bg: $system;
$eventbubble-bg-hover: #FAFBFD;
$eventbubble-reply-color: #C1C6CD;
// pinned events indicator
/* pinned events indicator */
$pinned-color: $tertiary-content;
$spacePanel-divider-color: $tertiary-content;
// Location sharing
// ********************
/* Location sharing */
/* ******************** */
$location-marker-color: #ffffff;
$location-live-color: #5c56f5;
$location-live-secondary-color: #deddfd;
// ********************
/* ******************** */
// ***** Mixins! *****
/* ***** Mixins! ***** */
@define-mixin mx_DialogButton {
/* align images in buttons (eg spinners) */
@ -335,7 +335,7 @@ $location-live-secondary-color: #deddfd;
}
@define-mixin mx_DialogButton_secondary {
// flip colours for the secondary ones
/* flip colours for the secondary ones */
font-weight: 600;
border: 1px solid $accent !important;
color: $accent;
@ -351,7 +351,7 @@ body {
color-scheme: light;
}
// diff highlight colors
/* diff highlight colors */
.hljs-addition {
background: #dfd;
}

View file

@ -1,3 +1,3 @@
// Path from root SCSS file (such as `light.pcss`) to `res` dir in the source tree
// This value is overridden by external themes in `element-web`.
/* Path from root SCSS file (such as `light.pcss`) to `res` dir in the source tree */
/* This value is overridden by external themes in `element-web`. */
$res: ../../..;

View file

@ -17,7 +17,7 @@ limitations under the License.
$font-family: var(--font-family, $font-family);
$monospace-font-family: var(--font-family-monospace, $monospace-font-family);
// Colors from Figma Compound https://www.figma.com/file/X4XTH9iS2KGJ2wFKDqkyed/Compound?node-id=559%3A741
/* Colors from Figma Compound https://www.figma.com/file/X4XTH9iS2KGJ2wFKDqkyed/Compound?node-id=559%3A741 */
$accent: var(--accent, $accent);
$alert: var(--alert, $alert);
$links: var(--links, $links);
@ -26,22 +26,21 @@ $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);
// XXX: workaround for Safari 15.3 linear-gradient bug https://github.com/vector-im/element-web/issues/21670
/* XXX: workaround for Safari 15.3 linear-gradient bug https://github.com/vector-im/element-web/issues/21670 */
$system-transparent: var(--system-transparent, rgba($system, 0.0));
$system: var(--system, $system);
$background: var(--background, $background);
$panels: rgba($system, 0.9);
$panel-base: var(--panel-base, $tertiary-content); // This color is not intended for use in the app
$panel-base: var(--panel-base, $tertiary-content); /* This color is not intended for use in the app */
$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);
//
// --accent-color
/* --accent-color */
$username-variant3-color: var(--accent-color);
//
// --timeline-background-color
/* --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);
@ -49,73 +48,72 @@ $message-action-bar-bg-color: var(--timeline-background-color);
$background: var(--timeline-background-color);
$togglesw-ball-color: var(--timeline-background-color);
$togglesw-off-color: var(--togglesw-off-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
$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 */
$roomheader-bg-color: var(--timeline-background-color);
//
// --roomlist-highlights-color
/* --roomlist-highlights-color */
$panel-actions: var(--roomlist-highlights-color);
//
// --sidebar-color
/* --sidebar-color */
$spacePanel-bg-color: var(--sidebar-color);
$tooltip-timeline-bg-color: var(--sidebar-color);
$dialog-backdrop-color: var(--sidebar-color-50pct);
//
// --roomlist-background-color
/* --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
/* 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);
$roomlist-bg-color: var(--roomlist-background-color);
//
// --timeline-text-color
/* --timeline-text-color */
$message-action-bar-fg-color: var(--timeline-text-color);
$primary-content: var(--timeline-text-color);
$roomtopic-color: var(--timeline-text-color-50pct);
$tab-label-fg-color: var(--timeline-text-color);
// was #212121
/* was #212121 */
$topleftmenu-color: var(--timeline-text-color);
// was #45474a
/* was #45474a */
$dialog-title-fg-color: var(--timeline-text-color);
$tab-label-fg-color: var(--timeline-text-color);
// was #4e5054
/* was #4e5054 */
$authpage-lang-color: var(--timeline-text-color);
// was #232f32
/* was #232f32 */
$authpage-primary-color: var(--timeline-text-color);
// --roomlist-text-secondary-color
/* --roomlist-text-secondary-color */
$roomtile-default-badge-bg-color: var(--roomlist-text-secondary-color);
//
// --roomlist-separator-color
/* --roomlist-separator-color */
$input-darker-bg-color: var(--roomlist-separator-color);
$primary-hairline-color: var(--roomlist-separator-color);// originally #e5e5e5, but close enough
//
// --timeline-text-secondary-color
$primary-hairline-color: var(--roomlist-separator-color);/* originally #e5e5e5, but close enough */
/* --timeline-text-secondary-color */
$authpage-secondary-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);
// was #747474
/* was #747474 */
$light-fg-color: var(--timeline-text-secondary-color);
$focus-bg-color: var(--focus-bg-color, $focus-bg-color);
$room-highlight-color: var(--room-highlight-color);
$rte-room-pill-color: $room-highlight-color;
// was #888888
/* was #888888 */
$info-plinth-fg-color: var(--timeline-text-secondary-color);
//
// --primary-color
/* --primary-color */
$accent-alt: var(--primary-color);
//
// --warning-color
$button-danger-disabled-bg-color: var(--warning-color-50pct); // still needs alpha at 0.5
//
// --username colors (which use a 0-based index)
/* --warning-color */
$button-danger-disabled-bg-color: var(--warning-color-50pct); /* still needs alpha at 0.5 */
/* --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);
@ -124,21 +122,22 @@ $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);
//
// --timeline-highlights-color
/* --timeline-highlights-color */
$event-selected-color: var(--timeline-highlights-color);
$event-highlight-bg-color: var(--timeline-highlights-color);
//
// redirect some variables away from their hardcoded values in the light theme
/* redirect some variables away from their hardcoded values in the light theme */
$settings-grey-fg-color: $primary-content;
// --eventbubble colors
/* --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);
$reaction-row-button-selected-bg-color: var(--reaction-row-button-selected-bg-color, $reaction-row-button-selected-bg-color);
$reaction-row-button-selected-bg-color:
var(--reaction-row-button-selected-bg-color, $reaction-row-button-selected-bg-color);
$menu-selected-color: var(--menu-selected-color, $menu-selected-color);
$pill-bg-color: var(--other-user-pill-bg-color, $pill-bg-color);

View file

@ -1,4 +1,4 @@
//// Reference: https://www.figma.com/file/RnLKnv09glhxGIZtn8zfmh/UI-Themes-%26-Accessibility?node-id=321%3A65847
/* Reference: https://www.figma.com/file/RnLKnv09glhxGIZtn8zfmh/UI-Themes-%26-Accessibility?node-id=321%3A65847 */
$accent: #268075;
$alert: #D62C25;
$links: #0A6ECA;
@ -39,7 +39,7 @@ $roomtopic-color: $secondary-content;
}
@define-mixin mx_DialogButton_secondary {
// flip colours for the secondary ones
/* flip colours for the secondary ones */
font-weight: 600;
border: 1px solid $accent !important;
color: $accent;
@ -51,22 +51,22 @@ $roomtopic-color: $secondary-content;
text-decoration: none;
}
// Draw an outline on buttons with focus
/* Draw an outline on buttons with focus */
.mx_AccessibleButton:focus {
outline: 2px solid $accent;
outline-offset: 2px;
}
// Add padding (and remove margin to compensate), so the outline is not
// chopped off on the left
/* Add padding (and remove margin to compensate), so the outline is not */
/* chopped off on the left */
.mx_TabbedView_tabPanel {
margin-left: 236px !important; // Remove 4 to allow 4 in mx_SettingsTab
margin-left: 236px !important; /* Remove 4 to allow 4 in mx_SettingsTab */
}
.mx_SettingsTab {
padding-left: 4px !important;
}
.mx_BaseCard {
padding-left: 4px !important; // Remove 4 to allow 4 in mx_BaseCard_Group
padding-left: 4px !important; /* Remove 4 to allow 4 in mx_BaseCard_Group */
}
.mx_BaseCard_Group {
padding-left: 4px !important;

View file

@ -11,26 +11,26 @@
digits in flowed text to stand out.
TODO: Consider putting all emoji fonts to the end rather than the front. */
$font-family: 'Inter',
'Twemoji',
'Apple Color Emoji',
'Segoe UI Emoji',
'STIXGeneral',
'Arial',
'Helvetica',
sans-serif,
'Noto Color Emoji';
'Twemoji',
'Apple Color Emoji',
'Segoe UI Emoji',
'STIXGeneral',
'Arial',
'Helvetica',
sans-serif,
'Noto Color Emoji';
$monospace-font-family: 'Inconsolata',
'Twemoji',
'Apple Color Emoji',
'Segoe UI Emoji',
'STIXGeneral',
'Courier',
monospace,
'Noto Color Emoji';
'Twemoji',
'Apple Color Emoji',
'Segoe UI Emoji',
'STIXGeneral',
'Courier',
monospace,
'Noto Color Emoji';
// Colors from Figma Compound https://www.figma.com/file/X4XTH9iS2KGJ2wFKDqkyed/Compound?node-id=559%3A120
// ********************
/* Colors from Figma Compound https://www.figma.com/file/X4XTH9iS2KGJ2wFKDqkyed/Compound?node-id=559%3A120 */
/* ******************** */
$primary-content: #17191C;
$secondary-content: #737D8C;
$tertiary-content: #8D97A5;
@ -38,7 +38,7 @@ $quaternary-content: #c1c6cd;
$quinary-content: #E3E8F0;
$system: #F4F6FA;
$system-transparent: rgba($system, 0.0); // XXX: workaround for Safari 15.3 linear-gradient bug
$system-transparent: rgba($system, 0.0); /* XXX: workaround for Safari 15.3 linear-gradient bug */
$background: #ffffff;
$overlay-background: rgba($background, 0.85);
@ -60,21 +60,21 @@ $username-variant5-color: #ff812d;
$username-variant6-color: #2dc2c5;
$username-variant7-color: #5c56f5;
$username-variant8-color: #74d12c;
// ********************
/* ******************** */
// Reused Figma non-compound colors
// ********************
/* Reused Figma non-compound colors */
/* ******************** */
$inverted-bg-color: #27303a;
$header-panel-bg-color: #f3f8fd;
// ********************
/* ******************** */
// Theme specific colors
// ********************
/* Theme specific colors */
/* ******************** */
$icon-button-color: $quaternary-content;
// ********************
/* ******************** */
// Colors that aren't in Figma and are theme specific - we need to get rid of these
// ********************
/* Colors that aren't in Figma and are theme specific - we need to get rid of these */
/* ******************** */
$selection-fg-color: $background;
$yellow-background: #fff8e3;
$secondary-accent-color: #f2f5f8;
@ -85,10 +85,10 @@ $preview-widget-bar-color: #dddddd;
$accent-fg-color: $background;
$accent-alt: #238CF5;
$info-plinth-fg-color: #888;
// ********************
/* ******************** */
// Colors that aren't in Figma - we need to get rid of these
// ********************
/* Colors that aren't in Figma - we need to get rid of these */
/* ******************** */
$dark-panel-bg-color: $secondary-accent-color;
$muted-fg-color: #61708b;
$light-fg-color: #747474;
@ -99,199 +99,199 @@ $topleftmenu-color: #212121;
$roomtopic-color: #9e9e9e;
$spacePanel-bg-color: rgba(232, 232, 232, 0.77);
$panel-gradient: rgba(242, 245, 248, 0),
rgba(242, 245, 248, 1);
rgba(242, 245, 248, 1);
$h3-color: #3d3b39;
$event-highlight-bg-color: $yellow-background;
$header-panel-text-primary-color: #91A1C0;
// ********************
/* ******************** */
// Blockquote
// ********************
/* Blockquote */
/* ******************** */
$blockquote-bar-color: $focus-bg-color;
// ********************
/* ******************** */
// Tooltip
// ********************
/* Tooltip */
/* ******************** */
$tooltip-timeline-bg-color: $inverted-bg-color;
$tooltip-timeline-fg-color: $background;
// ********************
/* ******************** */
// Widget
// ********************
/* Widget */
/* ******************** */
$widget-menu-bar-bg-color: $secondary-accent-color;
$widget-body-bg-color: $background;
// ********************
/* ******************** */
// Menu
// ********************
/* Menu */
/* ******************** */
$menu-border-color: #e7e7e7;
$menu-bg-color: $background;
$menu-box-shadow-color: rgba(118, 131, 156, 0.6);
$menu-selected-color: #f5f8fa;
// ********************
/* ******************** */
// Settings
// ********************
/* Settings */
/* ******************** */
$settings-grey-fg-color: #a2a2a2;
$settings-subsection-fg-color: $muted-fg-color;
// ********************
/* ******************** */
// Room
// ********************
/* Room */
/* ******************** */
$room-icon-unread-color: $secondary-content;
// ********************
/* ******************** */
// RoomHeader
// ********************
/* RoomHeader */
/* ******************** */
$roomheader-addroom-bg-color: rgba(92, 100, 112, 0.2);
$roomheader-addroom-fg-color: #5c6470;
// ********************
/* ******************** */
// Rich-text-editor
// ********************
/* Rich-text-editor */
/* ******************** */
$pill-bg-color: #aaa;
$pill-hover-bg-color: #ccc;
$rte-bg-color: #e9e9e9;
$rte-code-bg-color: rgba(0, 0, 0, 0.04);
// ********************
/* ******************** */
// Presence
// ********************
/* Presence */
/* ******************** */
$presence-away: #d9b072;
$presence-offline: $quinary-content;
$presence-busy: $alert;
// ********************
/* ******************** */
// Inputs
// ********************
/* Inputs */
/* ******************** */
$input-border-color: $menu-border-color;
$input-darker-bg-color: $quinary-content;
$input-darker-fg-color: #9fa9ba;
$input-lighter-bg-color: $secondary-accent-color;
$input-underline-color: rgba(151, 151, 151, 0.5);
$input-fg-color: rgba(74, 74, 74, 0.9);
// ********************
/* ******************** */
// Dialog
// ********************
/* Dialog */
/* ******************** */
$dialog-title-fg-color: #45474a;
$dialog-backdrop-color: rgba(46, 48, 51, 0.38);
$dialog-close-fg-color: #c1c1c1;
$dialog-close-external-color: $background;
$dialog-shadow-color: rgba(0, 0, 0, 0.48);
// ********************
/* ******************** */
// ImageBody
// ********************
/* ImageBody */
/* ******************** */
$imagebody-giflabel: rgba(0, 0, 0, 0.7);
$imagebody-giflabel-border: rgba(0, 0, 0, 0.2);
$imagebody-giflabel-color: $background;
// ********************
/* ******************** */
// RoomList
// ********************
/* RoomList */
/* ******************** */
$roomlist-bg-color: rgba(245, 245, 245, 0.90);
$roomsublist-skeleton-ui-bg: linear-gradient(180deg, $background 0%, #ffffff00 100%);
$roomtile-default-badge-bg-color: $muted-fg-color;
// ********************
/* ******************** */
// e2e
// ********************
$e2e-verified-color: #76cfa5; // N.B. *NOT* the same as $accent
/* e2e */
/* ******************** */
$e2e-verified-color: #76cfa5; /* N.B. *NOT* the same as $accent */
$e2e-unknown-color: #e8bf37;
$e2e-unverified-color: #e8bf37;
$e2e-warning-color: #ba6363;
// ********************
/* ******************** */
// Tabbed views
// ********************
/* Tabbed views */
/* ******************** */
$tab-label-fg-color: $dialog-title-fg-color;
$tab-label-active-fg-color: $background;
// ********************
/* ******************** */
// Buttons
// ********************
/* Buttons */
/* ******************** */
$button-primary-fg-color: $background;
$button-secondary-bg-color: $accent-fg-color;
$button-danger-fg-color: $background;
$button-danger-disabled-fg-color: $background;
$button-danger-disabled-bg-color: #f5b6bb; // TODO: Verify color
// ********************
$button-danger-disabled-bg-color: #f5b6bb; /* TODO: Verify color */
/* ******************** */
// Toggle switch
// ********************
/* Toggle switch */
/* ******************** */
$togglesw-off-color: #c1c9d6;
$togglesw-ball-color: $background;
// ********************
/* ******************** */
// Authpage
// ********************
/* Authpage */
/* ******************** */
$authpage-primary-color: #232f32;
$authpage-bg-color: #2e3649;
$authpage-modal-bg-color: $roomlist-bg-color;
$authpage-focus-bg-color: $focus-bg-color;
$authpage-lang-color: #4e5054;
$authpage-secondary-color: $muted-fg-color;
// ********************
/* ******************** */
// Message action bar
// ********************
/* Message action bar */
/* ******************** */
$message-action-bar-bg-color: $background;
$message-action-bar-fg-color: $primary-content;
$message-action-bar-border-color: #e9edf1;
$message-action-bar-hover-border-color: $focus-bg-color;
// ********************
/* ******************** */
// Reaction row
// ********************
/* Reaction row */
/* ******************** */
$reaction-row-button-hover-border-color: $focus-bg-color;
$reaction-row-button-selected-bg-color: #e9fff9;
// ********************
/* ******************** */
// Voice messages
// ********************
// These two don't change between themes. They are the $alert, but we don't want
// custom themes to affect them by accident.
/* Voice messages */
/* ******************** */
/* These two don't change between themes. They are the $alert, but we don't want */
/* custom themes to affect them by accident. */
$voice-record-stop-symbol-color: #ff5b55;
$voice-record-live-circle-color: #ff5b55;
$voice-record-stop-border-color: $quinary-content;
$voice-record-icon-color: $tertiary-content;
// ********************
/* ******************** */
// Bubble tiles
// ********************
/* Bubble tiles */
/* ******************** */
$eventbubble-self-bg: #E7F8F3;
$eventbubble-others-bg: #E8EDF4;
$eventbubble-bg-hover: #F6F7F8;
$eventbubble-reply-color: $quaternary-content;
// ********************
/* ******************** */
// Lightbox
// ********************
/* Lightbox */
/* ******************** */
$lightbox-fg-color: $background;
$lightbox-background-bg-color: #000;
$lightbox-background-bg-opacity: 0.95;
// ********************
/* ******************** */
// VoIP
// ********************
/* VoIP */
/* ******************** */
$call-view-button-on-foreground: $secondary-content;
$call-view-button-on-background: $background;
$call-view-button-off-foreground: $background;
$call-view-button-off-background: $secondary-content;
$call-view-content-background: #21262C;
$video-feed-secondary-background: #394049; // XXX: Color from dark theme
$video-feed-secondary-background: #394049; /* XXX: Color from dark theme */
$voipcall-plinth-color: $system;
// All of these are from dark theme
/* All of these are from dark theme */
$video-lobby-system: #21262C;
$video-lobby-background: #15191E;
$video-lobby-primary-content: #FFFFFF;
// ********************
/* ******************** */
// One-off colors
// ********************
/* One-off colors */
/* ******************** */
$progressbar-bg-color: $panel-actions;
$kbd-border-color: $message-action-bar-border-color;
$visual-bell-bg-color: #faa;
@ -305,38 +305,38 @@ $resend-button-divider-color: $input-darker-bg-color;
$codeblock-background-color: $header-panel-bg-color;
$scrollbar-thumb-color: rgba(0, 0, 0, 0.2);
$selected-color: $secondary-accent-color;
// ********************
/* ******************** */
// One-off global colors - these apply to both themes
// ********************
/* One-off global colors - these apply to both themes */
/* ******************** */
$pinned-color: $tertiary-content;
$avatar-initial-color: $background;
$primary-hairline-color: transparent;
$focus-brightness: 105%;
// ********************
/* ******************** */
// blur amounts for left left panel (only for element theme)
// ********************
/* blur amounts for left left panel (only for element theme) */
/* ******************** */
:root {
--lp-background-blur: 40px;
}
// ********************
/* ******************** */
// Icon URLs
// ********************
/* Icon URLs */
/* ******************** */
$copy-button-url: "$(res)/img/element-icons/copy.svg";
// ********************
/* ******************** */
// Location sharing
// ********************
/* Location sharing */
/* ******************** */
$location-marker-color: #ffffff;
$location-live-color: #5c56f5;
$location-live-secondary-color: #deddfd;
// ********************
/* ******************** */
// Mixins
// ********************
/* Mixins */
/* ******************** */
@define-mixin mx_DialogButton {
/* align images in buttons (eg spinners) */
vertical-align: middle;
@ -368,7 +368,7 @@ $location-live-secondary-color: #deddfd;
}
@define-mixin mx_DialogButton_secondary {
// flip colours for the secondary ones
/* flip colours for the secondary ones */
font-weight: 600;
border: 1px solid $accent !important;
color: $accent;
@ -384,10 +384,10 @@ body {
color-scheme: light;
}
// ********************
/* ******************** */
// diff highlight colors
// ********************
/* diff highlight colors */
/* ******************** */
.hljs-addition {
background: #dfd;
}
@ -396,4 +396,4 @@ body {
background: #fdd;
}
// ********************
/* ******************** */

View file

@ -1,8 +1,8 @@
// sidebar blurred avatar background
/* sidebar blurred avatar background */
//
// if backdrop-filter is supported,
// set the user avatar (if any) as a background so
// it can be blurred by the tag panel and room list
/* if backdrop-filter is supported, */
/* set the user avatar (if any) as a background so */
/* it can be blurred by the tag panel and room list */
.mx_RoomSublist_showNButton {
background-color: transparent !important;

View file

@ -1,3 +1,3 @@
// Path from root SCSS file (such as `light.pcss`) to `res` dir in the source tree
// This value is overridden by external themes in `element-web`.
/* Path from root SCSS file (such as `light.pcss`) to `res` dir in the source tree */
/* This value is overridden by external themes in `element-web`. */
$res: ../../..;