Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

INT-2372 Fix the selection color for light theme #851

Merged
merged 1 commit into from
Jan 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,12 @@ const Codemod = ({
<span className={cn('codicon', 'codicon-verified')} />
)}
</IntuitaPopover>
<span className={styles.labelContainer}>
<span
className={cn(
styles.labelContainer,
focused && styles.focused,
)}
>
<span
className={styles.label}
style={getLabelStyle(areButtonsVisible, screenWidth)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@
align-items: center;
}

.labelContainer.focused {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope. We are not handling pseudo classes well in the app. Good point because this is something we use improve for better a11y

color: var(--vscode-list-activeSelectionForeground);
}

.directorySelector {
display: flex;
}
Expand All @@ -69,6 +73,7 @@
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
color: inherit;
}

.codemodRoot {
Expand Down
1 change: 1 addition & 0 deletions intuita-webview/src/codemodList/TreeView/style.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
margin-left: 3px;
display: flex;
align-items: center;
color: inherit;
}

.active {
Expand Down
Loading