mirror of https://github.com/vector-im/riot-web
				
				
				
			Merge branch 'bwindels/fixcustomthemes' into 'element'
Make custom themes acceptable with recent changes for element theme See merge request new-vector/element/element-web/matrix-react-sdk!25pull/21833/head
						commit
						aea3a8de8d
					
				| 
						 | 
				
			
			@ -44,15 +44,18 @@ $roomtile-focused-bg-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
 | 
			
		||||
$authpage-modal-bg-color: var(--timeline-background-color-50pct); //still needs alpha at .59
 | 
			
		||||
$roomheader-bg-color: var(--timeline-background-color);
 | 
			
		||||
//
 | 
			
		||||
// --roomlist-highlights-color
 | 
			
		||||
$roomtile-selected-bg-color: var(--roomlist-highlights-color);
 | 
			
		||||
$roomtile2-selected-bg-color: var(--roomlist-highlights-color);
 | 
			
		||||
//
 | 
			
		||||
// --sidebar-color
 | 
			
		||||
$interactive-tooltip-bg-color: var(--sidebar-color);
 | 
			
		||||
$tagpanel-bg-color: var(--sidebar-color);
 | 
			
		||||
$tooltip-timeline-bg-color: var(--sidebar-color);
 | 
			
		||||
$dialog-backdrop-color: var(--sidebar-color-50pct);
 | 
			
		||||
$roomlist2-button-bg-color: var(--sidebar-color-15pct);
 | 
			
		||||
//
 | 
			
		||||
// --roomlist-background-color
 | 
			
		||||
$header-panel-bg-color: var(--roomlist-background-color);
 | 
			
		||||
| 
						 | 
				
			
			@ -67,6 +70,7 @@ $secondary-accent-color: var(--roomlist-background-color);
 | 
			
		|||
$selected-color: var(--roomlist-background-color);
 | 
			
		||||
$widget-menu-bar-bg-color: var(--roomlist-background-color);
 | 
			
		||||
$roomtile-badge-fg-color: var(--roomlist-background-color);
 | 
			
		||||
$roomlist2-bg-color: var(--roomlist-background-color);
 | 
			
		||||
//
 | 
			
		||||
// --timeline-text-color
 | 
			
		||||
$message-action-bar-fg-color: var(--timeline-text-color);
 | 
			
		||||
| 
						 | 
				
			
			@ -87,15 +91,19 @@ $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
 | 
			
		||||
$roomsublist-label-fg-color: var(--roomlist-text-secondary-color);
 | 
			
		||||
$roomtile-name-color: var(--roomlist-text-secondary-color);
 | 
			
		||||
$roomtile2-preview-color: var(--roomlist-text-secondary-color);
 | 
			
		||||
$roomlist2-header-color: var(--roomlist-text-secondary-color);
 | 
			
		||||
$roomtile2-default-badge-bg-color: var(--roomlist-text-secondary-color);
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// --roomlist-separator-color
 | 
			
		||||
$input-darker-bg-color: var(--roomlist-separator-color);
 | 
			
		||||
$panel-divider-color: var(--roomlist-separator-color);// originally #dee1f3, but close enough
 | 
			
		||||
$primary-hairline-color: var(--roomlist-separator-color);// originally #e5e5e5, but close enough
 | 
			
		||||
$roomsublist2-divider-color: var(--roomlist-separator-color);
 | 
			
		||||
//
 | 
			
		||||
// --timeline-text-secondary-color
 | 
			
		||||
$authpage-secondary-color: var(--timeline-text-secondary-color);
 | 
			
		||||
| 
						 | 
				
			
			@ -126,7 +134,8 @@ $notice-primary-color: var(--warning-color);
 | 
			
		|||
$pinned-unread-color: var(--warning-color);
 | 
			
		||||
$warning-color: var(--warning-color);
 | 
			
		||||
$button-danger-disabled-bg-color: var(--warning-color-50pct); // still needs alpha at 0.5
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// --username colors
 | 
			
		||||
$username-variant1-color: var(--username-colors_1, $username-variant1-color);
 | 
			
		||||
$username-variant2-color: var(--username-colors_2, $username-variant2-color);
 | 
			
		||||
$username-variant3-color: var(--username-colors_3, $username-variant3-color);
 | 
			
		||||
| 
						 | 
				
			
			@ -135,6 +144,10 @@ $username-variant5-color: var(--username-colors_5, $username-variant5-color);
 | 
			
		|||
$username-variant6-color: var(--username-colors_6, $username-variant6-color);
 | 
			
		||||
$username-variant7-color: var(--username-colors_7, $username-variant7-color);
 | 
			
		||||
$username-variant8-color: var(--username-colors_8, $username-variant8-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
 | 
			
		||||
$settings-grey-fg-color: $primary-fg-color;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue