mirror of
https://github.com/element-hq/element-web
synced 2024-11-26 19:26:04 +03:00
Remove unused SCSS variables + fix tertiary colour
This commit is contained in:
parent
40e4347114
commit
0e054c05c2
6 changed files with 1 additions and 48 deletions
|
@ -226,7 +226,7 @@ input[type=text]:focus, input[type=password]:focus, textarea:focus {
|
||||||
}
|
}
|
||||||
|
|
||||||
#mx_theme_tertiaryAccentColor {
|
#mx_theme_tertiaryAccentColor {
|
||||||
color: $roomsublist-label-bg-color;
|
color: $tertiary-accent-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Expected z-indexes for dialogs:
|
/* Expected z-indexes for dialogs:
|
||||||
|
|
|
@ -127,13 +127,6 @@ $roomtile2-selected-bg-color: rgba(141, 151, 165, 0.2);
|
||||||
|
|
||||||
$notice-secondary-color: $roomlist-header-color;
|
$notice-secondary-color: $roomlist-header-color;
|
||||||
|
|
||||||
$roomtile-selected-color: $text-primary-color;
|
|
||||||
$roomtile-notified-color: $text-primary-color;
|
|
||||||
$roomtile-selected-bg-color: $room-highlight-color;
|
|
||||||
$roomtile-focused-bg-color: $room-highlight-color;
|
|
||||||
|
|
||||||
$roomtile-transparent-focused-color: rgba(0, 0, 0, 0.1);
|
|
||||||
|
|
||||||
$panel-divider-color: transparent;
|
$panel-divider-color: transparent;
|
||||||
|
|
||||||
$widget-menu-bar-bg-color: $header-panel-bg-color;
|
$widget-menu-bar-bg-color: $header-panel-bg-color;
|
||||||
|
|
|
@ -123,13 +123,6 @@ $roomtile2-selected-bg-color: #1A1D23;
|
||||||
|
|
||||||
// ********************
|
// ********************
|
||||||
|
|
||||||
$roomtile-selected-color: $text-primary-color;
|
|
||||||
$roomtile-notified-color: $text-primary-color;
|
|
||||||
$roomtile-selected-bg-color: $room-highlight-color;
|
|
||||||
$roomtile-focused-bg-color: $room-highlight-color;
|
|
||||||
|
|
||||||
$roomtile-transparent-focused-color: rgba(0, 0, 0, 0.1);
|
|
||||||
|
|
||||||
$panel-divider-color: $header-panel-border-color;
|
$panel-divider-color: $header-panel-border-color;
|
||||||
|
|
||||||
$widget-menu-bar-bg-color: $header-panel-bg-color;
|
$widget-menu-bar-bg-color: $header-panel-bg-color;
|
||||||
|
|
|
@ -194,11 +194,6 @@ $presence-offline: #e3e8f0;
|
||||||
|
|
||||||
// ********************
|
// ********************
|
||||||
|
|
||||||
$roomtile-selected-color: #212121;
|
|
||||||
$roomtile-notified-color: #212121;
|
|
||||||
$roomtile-selected-bg-color: #fff;
|
|
||||||
$roomtile-focused-bg-color: #fff;
|
|
||||||
|
|
||||||
$username-variant1-color: #368bd6;
|
$username-variant1-color: #368bd6;
|
||||||
$username-variant2-color: #ac3ba8;
|
$username-variant2-color: #ac3ba8;
|
||||||
$username-variant3-color: #03b381;
|
$username-variant3-color: #03b381;
|
||||||
|
@ -208,13 +203,6 @@ $username-variant6-color: #2dc2c5;
|
||||||
$username-variant7-color: #5c56f5;
|
$username-variant7-color: #5c56f5;
|
||||||
$username-variant8-color: #74d12c;
|
$username-variant8-color: #74d12c;
|
||||||
|
|
||||||
$roomtile-transparent-focused-color: rgba(0, 0, 0, 0.1);
|
|
||||||
|
|
||||||
$roomsublist-background: $secondary-accent-color;
|
|
||||||
$roomsublist-label-fg-color: $muted-fg-color;
|
|
||||||
$roomsublist-label-bg-color: $tertiary-accent-color;
|
|
||||||
$roomsublist-chevron-color: $accent-color;
|
|
||||||
|
|
||||||
$panel-divider-color: #dee1f3;
|
$panel-divider-color: #dee1f3;
|
||||||
|
|
||||||
// ********************
|
// ********************
|
||||||
|
|
|
@ -25,7 +25,6 @@ $button-link-fg-color: var(--accent-color);
|
||||||
$button-primary-bg-color: var(--accent-color);
|
$button-primary-bg-color: var(--accent-color);
|
||||||
$input-valid-border-color: var(--accent-color);
|
$input-valid-border-color: var(--accent-color);
|
||||||
$reaction-row-button-selected-border-color: var(--accent-color);
|
$reaction-row-button-selected-border-color: var(--accent-color);
|
||||||
$roomsublist-chevron-color: var(--accent-color);
|
|
||||||
$tab-label-active-bg-color: var(--accent-color);
|
$tab-label-active-bg-color: var(--accent-color);
|
||||||
$togglesw-on-color: var(--accent-color);
|
$togglesw-on-color: var(--accent-color);
|
||||||
$username-variant3-color: var(--accent-color);
|
$username-variant3-color: var(--accent-color);
|
||||||
|
@ -40,14 +39,12 @@ $menu-bg-color: var(--timeline-background-color);
|
||||||
$avatar-bg-color: var(--timeline-background-color);
|
$avatar-bg-color: var(--timeline-background-color);
|
||||||
$message-action-bar-bg-color: var(--timeline-background-color);
|
$message-action-bar-bg-color: var(--timeline-background-color);
|
||||||
$primary-bg-color: var(--timeline-background-color);
|
$primary-bg-color: var(--timeline-background-color);
|
||||||
$roomtile-focused-bg-color: var(--timeline-background-color);
|
|
||||||
$togglesw-ball-color: var(--timeline-background-color);
|
$togglesw-ball-color: var(--timeline-background-color);
|
||||||
$droptarget-bg-color: var(--timeline-background-color-50pct); //still needs alpha at .5
|
$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
|
$authpage-modal-bg-color: var(--timeline-background-color-50pct); //still needs alpha at .59
|
||||||
$roomheader-bg-color: var(--timeline-background-color);
|
$roomheader-bg-color: var(--timeline-background-color);
|
||||||
//
|
//
|
||||||
// --roomlist-highlights-color
|
// --roomlist-highlights-color
|
||||||
$roomtile-selected-bg-color: var(--roomlist-highlights-color);
|
|
||||||
$roomtile2-selected-bg-color: var(--roomlist-highlights-color);
|
$roomtile2-selected-bg-color: var(--roomlist-highlights-color);
|
||||||
//
|
//
|
||||||
// --sidebar-color
|
// --sidebar-color
|
||||||
|
@ -65,7 +62,6 @@ $panel-gradient: var(--roomlist-background-color-0pct), var(--roomlist-backgroun
|
||||||
$dark-panel-bg-color: var(--roomlist-background-color);
|
$dark-panel-bg-color: var(--roomlist-background-color);
|
||||||
$input-lighter-bg-color: var(--roomlist-background-color);
|
$input-lighter-bg-color: var(--roomlist-background-color);
|
||||||
$plinth-bg-color: var(--roomlist-background-color);
|
$plinth-bg-color: var(--roomlist-background-color);
|
||||||
$roomsublist-background: var(--roomlist-background-color);
|
|
||||||
$secondary-accent-color: var(--roomlist-background-color);
|
$secondary-accent-color: var(--roomlist-background-color);
|
||||||
$selected-color: var(--roomlist-background-color);
|
$selected-color: var(--roomlist-background-color);
|
||||||
$widget-menu-bar-bg-color: var(--roomlist-background-color);
|
$widget-menu-bar-bg-color: var(--roomlist-background-color);
|
||||||
|
@ -86,12 +82,7 @@ $tab-label-fg-color: var(--timeline-text-color);
|
||||||
// was #4e5054
|
// was #4e5054
|
||||||
$authpage-lang-color: var(--timeline-text-color);
|
$authpage-lang-color: var(--timeline-text-color);
|
||||||
$roomheader-color: var(--timeline-text-color);
|
$roomheader-color: var(--timeline-text-color);
|
||||||
//
|
|
||||||
// --roomlist-text-color
|
|
||||||
$roomtile-notified-color: var(--roomlist-text-color);
|
|
||||||
$roomtile-selected-color: var(--roomlist-text-color);
|
|
||||||
// --roomlist-text-secondary-color
|
// --roomlist-text-secondary-color
|
||||||
$roomsublist-label-fg-color: var(--roomlist-text-secondary-color);
|
|
||||||
$roomtile2-preview-color: var(--roomlist-text-secondary-color);
|
$roomtile2-preview-color: var(--roomlist-text-secondary-color);
|
||||||
$roomlist-header-color: var(--roomlist-text-secondary-color);
|
$roomlist-header-color: var(--roomlist-text-secondary-color);
|
||||||
$roomtile2-default-badge-bg-color: var(--roomlist-text-secondary-color);
|
$roomtile2-default-badge-bg-color: var(--roomlist-text-secondary-color);
|
||||||
|
|
|
@ -193,11 +193,6 @@ $presence-offline: #E3E8F0;
|
||||||
|
|
||||||
// ********************
|
// ********************
|
||||||
|
|
||||||
$roomtile-selected-color: #212121;
|
|
||||||
$roomtile-notified-color: #212121;
|
|
||||||
$roomtile-selected-bg-color: #fff;
|
|
||||||
$roomtile-focused-bg-color: #fff;
|
|
||||||
|
|
||||||
$username-variant1-color: #368bd6;
|
$username-variant1-color: #368bd6;
|
||||||
$username-variant2-color: #ac3ba8;
|
$username-variant2-color: #ac3ba8;
|
||||||
$username-variant3-color: #0DBD8B;
|
$username-variant3-color: #0DBD8B;
|
||||||
|
@ -207,13 +202,6 @@ $username-variant6-color: #2dc2c5;
|
||||||
$username-variant7-color: #5c56f5;
|
$username-variant7-color: #5c56f5;
|
||||||
$username-variant8-color: #74d12c;
|
$username-variant8-color: #74d12c;
|
||||||
|
|
||||||
$roomtile-transparent-focused-color: rgba(0, 0, 0, 0.1);
|
|
||||||
|
|
||||||
$roomsublist-background: $secondary-accent-color;
|
|
||||||
$roomsublist-label-fg-color: $muted-fg-color;
|
|
||||||
$roomsublist-label-bg-color: $tertiary-accent-color;
|
|
||||||
$roomsublist-chevron-color: $accent-color;
|
|
||||||
|
|
||||||
$panel-divider-color: transparent;
|
$panel-divider-color: transparent;
|
||||||
|
|
||||||
// ********************
|
// ********************
|
||||||
|
|
Loading…
Reference in a new issue