Skip to content

Commit 8315eb9

Browse files
authoredNov 13, 2024··
fix: unify scrollbar highlights across all systems (#183)
1 parent cfb4401 commit 8315eb9

File tree

3 files changed

+21
-8
lines changed

3 files changed

+21
-8
lines changed
 

‎CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,17 @@
88

99
### Changed
1010

11+
- (Editor/UI): Scrollbar now matches palette colours directly (`surface0` by default, `surface1` on hover.)
12+
1113
### Deprecated
1214

1315
### Removed
1416

1517
### Fixed
1618

19+
- (UI): Removed macOS scrollbar turning yellow on hover. I'm sorry to anyone who liked this behaviour, but it was not
20+
supposed to exist in the first place.
21+
1722
### Security
1823

1924
## 3.3.5 - 2024-11-01

‎generateFlavours/editor.xml

+8-4
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,14 @@
7070
<option name="SELECTION_BACKGROUND" value="{{isLatte (opacity surface2 0.4) (opacity surface2 0.6)}}"/>
7171
<option name="SELECTION_FOREGROUND" value=""/>
7272
<option name="SEPARATOR_BELOW_COLOR" value=""/>
73-
<option name="ScrollBar.hoverThumbColor" value="{{opacity overlay0 0.4}}"/>
74-
<option name="ScrollBar.thumbColor" value="{{opacity surface1 0.45}}"/>
75-
<option name="ScrollBar.Mac.hoverThumbColor" value="{{opacity overlay0 0.4}}"/>
76-
<option name="ScrollBar.Mac.thumbColor" value="{{opacity surface1 0.45}}"/>
73+
<option name="ScrollBar.thumbColor" value="{{surface0}}"/>
74+
<option name="ScrollBar.thumbBorderColor" value="{{surface0}}"/>
75+
<option name="ScrollBar.hoverThumbColor" value="{{surface1}}"/>
76+
<option name="ScrollBar.hoverThumbBorderColor" value="{{surface1}}"/>
77+
<option name="ScrollBar.Mac.thumbColor" value="{{surface0}}"/>
78+
<option name="ScrollBar.Mac.thumbBorderColor" value="{{surface0}}"/>
79+
<option name="ScrollBar.Mac.hoverThumbColor" value="{{surface1}}"/>
80+
<option name="ScrollBar.Mac.hoverThumbBorderColor" value="{{surface1}}"/>
7781
<option name="TAB_UNDERLINE" value="{{mauve}}"/>
7882
<option name="TAB_UNDERLINE_INACTIVE" value="{{text}}"/>
7983
<option name="TEARLINE_COLOR" value="{{surface0}}"/>

‎generateFlavours/ui.theme.json

+8-4
Original file line numberDiff line numberDiff line change
@@ -335,11 +335,15 @@
335335
"stopBackground": "red"
336336
},
337337
"ScrollBar": {
338+
"thumbBorderColor": "surface0",
339+
"thumbColor": "surface0",
340+
"hoverThumbColor": "surface1",
341+
"hoverThumbBorderColor": "surface1",
338342
"Mac": {
339-
"Transparent": {
340-
"hoverThumbColor": "secondaryAccentColor"
341-
},
342-
"hoverThumbColor": "secondaryAccentColor"
343+
"thumbBorderColor": "surface0",
344+
"thumbColor": "surface0",
345+
"hoverThumbColor": "surface1",
346+
"hoverThumbBorderColor": "surface1"
343347
}
344348
},
345349
"SearchEverywhere": {

0 commit comments

Comments
 (0)
Please sign in to comment.