Skip to content

Commit 7c5a6fa

Browse files
committed
Improve dark selected state contrast
1 parent 6f5abbe commit 7c5a6fa

1 file changed

Lines changed: 58 additions & 0 deletions

File tree

apps/desktop/src/styles.css

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4119,6 +4119,64 @@ button.home-stat:hover {
41194119
color: var(--accent);
41204120
}
41214121

4122+
:root[data-theme="dark"] .source-view-toggle button.active,
4123+
:root[data-theme="dark"] .file-filter-bar button.active,
4124+
:root[data-theme="dark"] .file-filter-bar button:hover,
4125+
:root[data-theme="dark"] .activity-tabs button.active,
4126+
:root[data-theme="dark"] .settings-nav button:hover,
4127+
:root[data-theme="dark"] .settings-nav button.active,
4128+
:root[data-theme="dark"] .theme-segmented button.active,
4129+
:root[data-theme="dark"] .option-row:hover {
4130+
border-color: rgba(42, 161, 152, 0.32);
4131+
background: rgba(42, 161, 152, 0.16);
4132+
color: #dff8f4;
4133+
box-shadow: inset 0 0 0 1px rgba(42, 161, 152, 0.12);
4134+
}
4135+
4136+
:root[data-theme="dark"] .settings-nav button:hover small,
4137+
:root[data-theme="dark"] .settings-nav button.active small {
4138+
color: #bfd2ce;
4139+
}
4140+
4141+
:root[data-theme="dark"] .live-mode-control.active,
4142+
:root[data-theme="dark"] .tray-live-mode-control,
4143+
:root[data-theme="dark"] .connector-option.available,
4144+
:root[data-theme="dark"] .connector-option.selectable:hover:not(:disabled),
4145+
:root[data-theme="dark"] .connector-option.selectable.selected,
4146+
:root[data-theme="dark"] .source-ready-card,
4147+
:root[data-theme="dark"] .connector-choice-card.active,
4148+
:root[data-theme="dark"] .mount-card.active,
4149+
:root[data-theme="dark"] .file-row.expanded {
4150+
border-color: rgba(42, 161, 152, 0.34);
4151+
background: linear-gradient(180deg, rgba(35, 55, 58, 0.96), rgba(29, 46, 49, 0.96));
4152+
color: var(--ink);
4153+
}
4154+
4155+
:root[data-theme="dark"] .connector-choice-card,
4156+
:root[data-theme="dark"] .connector-choice-card.mounted,
4157+
:root[data-theme="dark"] .workspace-path-row,
4158+
:root[data-theme="dark"] .workspace-facts span,
4159+
:root[data-theme="dark"] .tray-change-list button {
4160+
border-color: var(--line);
4161+
background: rgba(22, 31, 34, 0.9);
4162+
color: var(--ink);
4163+
}
4164+
4165+
:root[data-theme="dark"] .connector-choice-heading p,
4166+
:root[data-theme="dark"] .mount-card-title span span,
4167+
:root[data-theme="dark"] .mount-card-footer > span,
4168+
:root[data-theme="dark"] .file-row span,
4169+
:root[data-theme="dark"] .tray-change-list small {
4170+
color: var(--muted);
4171+
}
4172+
4173+
:root[data-theme="dark"] .source-ready-card span,
4174+
:root[data-theme="dark"] .connector-choice-card.active p,
4175+
:root[data-theme="dark"] .connector-option small,
4176+
:root[data-theme="dark"] .file-row.expanded span {
4177+
color: #c4d4d0;
4178+
}
4179+
41224180
:root[data-theme="dark"] .toggle {
41234181
background: #334247;
41244182
}

0 commit comments

Comments
 (0)