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

Commit 8962e8c

Browse files
authored
Improve contrast for timestamps, date separators & spotlight trigger (#91)
* Improve contrast for timestamps and room list search trigger Signed-off-by: Michael Telatynski <[email protected]> * Update screenshot Signed-off-by: Michael Telatynski <[email protected]> * Change timeline separator colour to primary for improved contrast Signed-off-by: Michael Telatynski <[email protected]> * Update screenshots Signed-off-by: Michael Telatynski <[email protected]> --------- Signed-off-by: Michael Telatynski <[email protected]>
1 parent ef9e310 commit 8962e8c

21 files changed

+4
-4
lines changed
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading

res/css/structures/_RoomSearch.pcss

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Please see LICENSE files in the repository root for full details.
3535
}
3636

3737
.mx_RoomSearch_spotlightTriggerText {
38-
color: $tertiary-content;
38+
color: var(--cpd-color-text-secondary);
3939
flex: 1;
4040
min-width: 0;
4141
/* the following rules are to match that of a real input field */

res/css/views/messages/_TimelineSeparator.pcss

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Please see LICENSE files in the repository root for full details.
1212
display: flex;
1313
align-items: center;
1414
font: var(--cpd-font-body-md-regular);
15-
color: var(--cpd-color-text-secondary);
15+
color: var(--cpd-color-text-primary);
1616
}
1717

1818
.mx_TimelineSeparator > hr {

res/themes/dark/css/_dark.pcss

+1-1
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ $live-badge-color: #ffffff;
250250
$progressbar-bg-color: var(--cpd-color-gray-200);
251251
$kbd-border-color: $strong-input-border-color;
252252
$visual-bell-bg-color: #800;
253-
$event-timestamp-color: $text-secondary-color;
253+
$event-timestamp-color: var(--cpd-color-text-secondary);
254254
$composer-shadow-color: rgba(0, 0, 0, 0.28);
255255
$breadcrumb-placeholder-bg-color: #272c35;
256256
$theme-button-bg-color: #e3e8f0;

res/themes/light/css/_light.pcss

+1-1
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ $call-light-quaternary-content: #c1c6cd;
314314
$progressbar-bg-color: var(--cpd-color-gray-200);
315315
$kbd-border-color: $strong-input-border-color;
316316
$visual-bell-bg-color: #faa;
317-
$event-timestamp-color: #acacac;
317+
$event-timestamp-color: var(--cpd-color-text-secondary);
318318
$composer-shadow-color: rgba(0, 0, 0, 0.04);
319319
$breadcrumb-placeholder-bg-color: #e8eef5;
320320
$theme-button-bg-color: $quinary-content;

0 commit comments

Comments
 (0)