mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-13 07:11:55 +00:00
fix(app): highlight selected change
Track clicked file in the Changes tree and apply selection styling to the matching review diff.
This commit is contained in:
parent
00c7729658
commit
f2bf620206
7 changed files with 52 additions and 3 deletions
|
|
@ -43,6 +43,10 @@
|
|||
background-color: transparent;
|
||||
color: var(--text-strong);
|
||||
|
||||
[data-slot="icon-svg"] {
|
||||
color: var(--icon-base);
|
||||
}
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
background-color: var(--surface-raised-base-hover);
|
||||
}
|
||||
|
|
@ -54,8 +58,11 @@
|
|||
}
|
||||
&:disabled {
|
||||
color: var(--text-weak);
|
||||
opacity: 0.7;
|
||||
cursor: not-allowed;
|
||||
|
||||
[data-slot="icon-svg"] {
|
||||
color: var(--icon-disabled);
|
||||
}
|
||||
}
|
||||
&[data-selected="true"]:not(:disabled) {
|
||||
background-color: var(--surface-raised-base-hover);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue