Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit f99e0d1

Browse files
authored
Merge pull request #6607 from SimonBrandner/release/fix/toast-colors
[Release] Fix toast colors
2 parents ca207da + bf5c945 commit f99e0d1

File tree

6 files changed

+20
-25
lines changed

6 files changed

+20
-25
lines changed

res/css/structures/_ToastContainer.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ limitations under the License.
2828
margin: 0 4px;
2929
grid-row: 2 / 4;
3030
grid-column: 1;
31-
background-color: $toast-bg-color;
31+
background-color: $system;
3232
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.5);
3333
border-radius: 8px;
3434
}
@@ -37,7 +37,7 @@ limitations under the License.
3737
grid-row: 1 / 3;
3838
grid-column: 1;
3939
color: $primary-fg-color;
40-
background-color: $toast-bg-color;
40+
background-color: $system;
4141
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.5);
4242
border-radius: 8px;
4343
overflow: hidden;

res/css/views/voip/_CallView.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ limitations under the License.
3939
.mx_CallView_pip {
4040
width: 320px;
4141
padding-bottom: 8px;
42-
background-color: $toast-bg-color;
42+
background-color: $system;
4343
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.20);
4444
border-radius: 8px;
4545

res/themes/dark/css/_dark.scss

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Colors from Figma Compound https://www.figma.com/file/X4XTH9iS2KGJ2wFKDqkyed/Compound?node-id=557%3A0
2-
$system-dark: #21262C;
2+
$system: #21262C;
33

44
// unified palette
55
// try to use these colors when possible
@@ -50,7 +50,7 @@ $inverted-bg-color: $base-color;
5050
$selected-color: $room-highlight-color;
5151

5252
// selected for hoverover & selected event tiles
53-
$event-selected-color: $system-dark;
53+
$event-selected-color: $system;
5454

5555
// used for the hairline dividers in RoomView
5656
$primary-hairline-color: transparent;
@@ -94,7 +94,7 @@ $lightbox-background-bg-color: #000;
9494
$lightbox-background-bg-opacity: 0.85;
9595

9696
$settings-grey-fg-color: #a2a2a2;
97-
$settings-profile-placeholder-bg-color: $system-dark;
97+
$settings-profile-placeholder-bg-color: $system;
9898
$settings-profile-overlay-placeholder-fg-color: #454545;
9999
$settings-profile-button-bg-color: #e7e7e7;
100100
$settings-profile-button-fg-color: $settings-profile-overlay-placeholder-fg-color;
@@ -115,9 +115,6 @@ $eventtile-meta-color: $roomtopic-color;
115115
$header-divider-color: $header-panel-text-primary-color;
116116
$composer-e2e-icon-color: $header-panel-text-primary-color;
117117

118-
$quinary-content-color: #394049;
119-
$toast-bg-color: $quinary-content-color;
120-
121118
// ********************
122119

123120
$theme-button-bg-color: #e3e8f0;
@@ -178,7 +175,7 @@ $button-link-bg-color: transparent;
178175
$togglesw-off-color: $room-highlight-color;
179176

180177
$progressbar-fg-color: $accent-color;
181-
$progressbar-bg-color: $system-dark;
178+
$progressbar-bg-color: $system;
182179

183180
$visual-bell-bg-color: #800;
184181

@@ -213,7 +210,7 @@ $user-tile-hover-bg-color: $header-panel-bg-color;
213210
$message-body-panel-fg-color: $secondary-fg-color;
214211
$message-body-panel-bg-color: #394049; // "Dark Tile"
215212
$message-body-panel-icon-fg-color: $secondary-fg-color;
216-
$message-body-panel-icon-bg-color: $system-dark; // "System Dark"
213+
$message-body-panel-icon-bg-color: $system; // "System Dark"
217214

218215
$voice-record-stop-border-color: $quaternary-fg-color;
219216
$voice-record-waveform-incomplete-fg-color: $quaternary-fg-color;

res/themes/legacy-dark/css/_legacy-dark.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Colors from Figma Compound https://www.figma.com/file/X4XTH9iS2KGJ2wFKDqkyed/Compound?node-id=559%3A741
2+
$system: #21262C;
3+
14
// unified palette
25
// try to use these colors when possible
36
$bg-color: #181b21;
@@ -111,9 +114,6 @@ $eventtile-meta-color: $roomtopic-color;
111114
$header-divider-color: $header-panel-text-primary-color;
112115
$composer-e2e-icon-color: $header-panel-text-primary-color;
113116

114-
$quinary-content-color: #394049;
115-
$toast-bg-color: $quinary-content-color;
116-
117117
// ********************
118118

119119
$theme-button-bg-color: #e3e8f0;

res/themes/legacy-light/css/_legacy-light.scss

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ $font-family: 'Nunito', 'Twemoji', 'Apple Color Emoji', 'Segoe UI Emoji', 'Arial
1313
$monospace-font-family: 'Inconsolata', 'Twemoji', 'Apple Color Emoji', 'Segoe UI Emoji', 'Courier', monospace, 'Noto Color Emoji';
1414

1515
// Colors from Figma Compound https://www.figma.com/file/X4XTH9iS2KGJ2wFKDqkyed/Compound?node-id=557%3A0
16-
$system-light: #F4F6FA;
16+
$system: #F4F6FA;
1717

1818
// unified palette
1919
// try to use these colors when possible
@@ -181,8 +181,7 @@ $eventtile-meta-color: $roomtopic-color;
181181
$composer-e2e-icon-color: #91a1c0;
182182
$header-divider-color: #91a1c0;
183183

184-
$toast-bg-color: $system-light;
185-
$voipcall-plinth-color: $system-light;
184+
$voipcall-plinth-color: $system;
186185

187186
// ********************
188187

@@ -334,7 +333,7 @@ $user-tile-hover-bg-color: $header-panel-bg-color;
334333
$message-body-panel-fg-color: $secondary-fg-color;
335334
$message-body-panel-bg-color: #E3E8F0;
336335
$message-body-panel-icon-fg-color: $secondary-fg-color;
337-
$message-body-panel-icon-bg-color: $system-light;
336+
$message-body-panel-icon-bg-color: $system;
338337

339338
// See non-legacy _light for variable information
340339
$voice-record-stop-symbol-color: #ff4b55;
@@ -352,7 +351,7 @@ $composer-shadow-color: tranparent;
352351

353352
// Bubble tiles
354353
$eventbubble-self-bg: #F0FBF8;
355-
$eventbubble-others-bg: $system-light;
354+
$eventbubble-others-bg: $system;
356355
$eventbubble-bg-hover: #FAFBFD;
357356
$eventbubble-avatar-outline: #fff;
358357
$eventbubble-reply-color: #C1C6CD;

res/themes/light/css/_light.scss

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ $font-family: 'Inter', 'Twemoji', 'Apple Color Emoji', 'Segoe UI Emoji', 'Arial'
1313
$monospace-font-family: 'Inconsolata', 'Twemoji', 'Apple Color Emoji', 'Segoe UI Emoji', 'Courier', monospace, 'Noto Color Emoji';
1414

1515
// Colors from Figma Compound https://www.figma.com/file/X4XTH9iS2KGJ2wFKDqkyed/Compound?node-id=557%3A0
16-
$system-light: #F4F6FA;
16+
$system: #F4F6FA;
1717

1818
// unified palette
1919
// try to use these colors when possible
@@ -141,7 +141,7 @@ $blockquote-bar-color: #ddd;
141141
$blockquote-fg-color: #777;
142142

143143
$settings-grey-fg-color: #a2a2a2;
144-
$settings-profile-placeholder-bg-color: $system-light;
144+
$settings-profile-placeholder-bg-color: $system;
145145
$settings-profile-overlay-placeholder-fg-color: #2e2f32;
146146
$settings-profile-button-bg-color: #e7e7e7;
147147
$settings-profile-button-fg-color: $settings-profile-overlay-placeholder-fg-color;
@@ -170,8 +170,7 @@ $eventtile-meta-color: $roomtopic-color;
170170
$composer-e2e-icon-color: #91A1C0;
171171
$header-divider-color: #91A1C0;
172172

173-
$toast-bg-color: $system-light;
174-
$voipcall-plinth-color: $system-light;
173+
$voipcall-plinth-color: $system;
175174

176175
// ********************
177176

@@ -330,7 +329,7 @@ $user-tile-hover-bg-color: $header-panel-bg-color;
330329
$message-body-panel-fg-color: $secondary-fg-color;
331330
$message-body-panel-bg-color: #E3E8F0; // "Separator"
332331
$message-body-panel-icon-fg-color: $secondary-fg-color;
333-
$message-body-panel-icon-bg-color: $system-light;
332+
$message-body-panel-icon-bg-color: $system;
334333

335334
// These two don't change between themes. They are the $warning-color, but we don't
336335
// want custom themes to affect them by accident.
@@ -354,7 +353,7 @@ $composer-shadow-color: rgba(0, 0, 0, 0.04);
354353

355354
// Bubble tiles
356355
$eventbubble-self-bg: #F0FBF8;
357-
$eventbubble-others-bg: $system-light;
356+
$eventbubble-others-bg: $system;
358357
$eventbubble-bg-hover: #FAFBFD;
359358
$eventbubble-avatar-outline: $primary-bg-color;
360359
$eventbubble-reply-color: #C1C6CD;

0 commit comments

Comments
 (0)