mirror of
https://github.com/desktop/desktop
synced 2024-09-14 05:41:46 +00:00
Variable for diff line number focus color
This commit is contained in:
parent
2a008bc70d
commit
8b971b5116
|
@ -363,6 +363,7 @@ $overlay-background-color: rgba(0, 0, 0, 0.4);
|
|||
|
||||
/** The highlight color used for focus rings and focus box shadows */
|
||||
--focus-color: #{$blue};
|
||||
--diff-linenumber-focus-color: #{$blue-600};
|
||||
|
||||
/**
|
||||
* Variables for form elements
|
||||
|
|
|
@ -269,6 +269,7 @@ body.theme-dark {
|
|||
|
||||
/** The highlight color used for focus rings and focus box shadows */
|
||||
--focus-color: #{$blue};
|
||||
--diff-linenumber-focus-color: #{$blue-200};
|
||||
|
||||
/**
|
||||
* Variables for form elements
|
||||
|
|
|
@ -187,7 +187,7 @@
|
|||
|
||||
input:focus-visible + label.hunk-handle {
|
||||
.focus-handle {
|
||||
outline: 2px solid #0659d6;
|
||||
outline: 2px solid var(--diff-linenumber-focus-color);
|
||||
outline-offset: 3px;
|
||||
}
|
||||
}
|
||||
|
@ -348,7 +348,7 @@
|
|||
|
||||
&.selectable {
|
||||
input:focus-visible + label {
|
||||
outline: 2px solid #0659d6;
|
||||
outline: 2px solid var(--diff-linenumber-focus-color);
|
||||
outline-offset: -3px;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue