native-theme 0.7.1

Cross-platform native theme detection and loading for Rust GUI applications
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
# macOS Tahoe theme: AppKit's Liquid Glass look, from macOS 26 Tahoe.
# Covers: macOS 26. macOS 27 Golden Gate refines Liquid Glass and has no preset of its own until
# GitHub offers a macOS 27 runner image to verify one on (docs/todo.md); on 27 the reader merges
# over this preset and reports VersionMatch::PresetOlder.
# Verified on: macOS 26.6.2 by the OS probe, docs/evidence/os-probe/2026-10-11-run-38129819806/
# os-probe-macos-26/probe.toml, for the values whose comment cites it: "probe :N" is line N of that
# file. os-probe-xcode-27 (macOS 27.0.1) reports the same colour or size on every line cited here.
# The probe resolves each NSColor per appearance (performAsCurrentDrawingAppearance:, probe :305),
# with Reduce Transparency on (probe :465), and draws its renders (renders/aqua, renders/darkAqua)
# in a window that is never shown or key. A colour with alpha is stated as the API gives it, and
# its comment gives the composite over the colour it sits on.
# Not verified on macOS 26: a value whose comment says "no macOS 26 source" is one no source gives
# for 26 (docs/platform-facts.md's "macOS 26: ❓" cells), in a field the model requires or one whose
# inherited value would be the wrong kind; it carries macos-monterey's value.
# Source: docs/platform-facts.md's macOS column, its "macOS 26:" values (AppKit documentation, the
# HIG, WebKit, the OS probe).
name = "macOS Tahoe"
icon_set = "sf-symbols"
icon_theme = "sf-symbols"

# === Light variant ===

[light.defaults]
# platform-facts.md:1052 (§2.1.3): controlAccentColor, probe :362 (the same in darkAqua, :436)
accent_color = "#007aff"
# platform-facts.md:1050: windowBackgroundColor, probe :321
background_color = "#ffffff"
# platform-facts.md:1051: labelColor, probe :308; over background_color #272727
text_color = "#000000d8"
# platform-facts.md:1054: controlBackgroundColor, probe :323
surface_color = "#ffffff"
# platform-facts.md:1056: secondaryLabelColor, probe :309; over background_color #808080
muted_color = "#0000007f"
# platform-facts.md:1057: NSShadow.shadowColor's default, black at 1/3 (85/255, the nearest 8-bit alpha)
shadow_color = "#00000055"

# platform-facts.md:1084-1091 (§2.1.4): systemRedColor, systemOrangeColor, systemGreenColor and
# systemBlueColor, probe :344, :347, :345, :346; each text colour is labelColor (probe :308), the
# body text beside a status mark, not text on the status fill (footnote 1, :1093-1102)
danger_color = "#ff383c"
danger_text_color = "#000000d8"
warning_color = "#ff8d28"
warning_text_color = "#000000d8"
success_color = "#34c759"
success_text_color = "#000000d8"
info_color = "#0088ff"
info_text_color = "#000000d8"

# platform-facts.md:1059-1063: selectedContentBackgroundColor, alternateSelectedControlTextColor,
# unemphasizedSelectedContentBackgroundColor, selectedTextBackgroundColor and selectedTextColor,
# probe :324, :317, :325, :331, :330
selection_background = "#0064e1"
selection_text_color = "#ffffff"
selection_inactive_background = "#dcdcdc"
text_selection_background = "#b3d7ff"
text_selection_color = "#000000"
# platform-facts.md:1058: linkColor, probe :313
link_color = "#0068da"
# platform-facts.md:1108 (§2.1.5): keyboardFocusIndicatorColor, probe :339; over background_color #80b3fa
focus_ring_color = "#0067f47f"
# platform-facts.md:1064: disabledControlTextColor, probe :338; over background_color #c0c0c0
disabled_text_color = "#0000003f"
# platform-facts.md:1053: alternateSelectedControlTextColor, probe :317
accent_text_color = "#ffffff"

# platform-facts.md:1119 (§2.1.6): 1.0, macOS dims a disabled control by colour (disabled_text_color)
disabled_opacity = 1.0
# platform-facts.md:1034 (§2.1.1): SF Pro's sTypo metrics, unchanged in SF Pro 22.0d5e4
line_height = 1.19
# platform-facts.md:1109 (§2.1.5): 3, WebKit's unconditional constant
focus_ring_width_px = 3.0
# no macOS 26 source (platform-facts.md:1110): macos-monterey's value
focus_ring_offset_px = -1.0


[light.defaults.border]
# platform-facts.md:1055 (§2.1.3): separatorColor, probe :319; over background_color #e6e6e6
color = "#00000019"
# platform-facts.md:1116 (§2.1.6): 6, the push button's and pop-up's (WebKit's vector drawing)
corner_radius_px = 6.0
# no macOS 26 source (platform-facts.md:1117, :1168: Tahoe's window radii vary by style, no API):
# macos-monterey's value; Tahoe's window radii are larger per third-party measurements
# (platform-facts.md:177), not adopted
corner_radius_lg_px = 10.0
# no macOS 26 source (platform-facts.md:1118): macos-monterey's value
line_width_px = 0.5
# platform-facts.md:1120 (§2.1.6): separatorColor's alpha, 25/255 (probe :319), already in color
opacity = 0.098
# no macOS 26 source (platform-facts.md:1121): macos-monterey's value
shadow_enabled = true
[light.defaults.font]
# platform-facts.md:1029-1031 (§2.1.1): the system font, 13pt, weight trait 0 (probe :29-33)
family = "SF Pro"
size_pt = 13.0
weight = 400

[light.defaults.mono_font]
# platform-facts.md:1040-1042 (§2.1.2): 13pt, weight trait 0 (probe :161-165); the family name is
# the same open question as macos-monterey's (platform-facts.md:65)
family = "SF Mono"
size_pt = 13.0
weight = 400

[light.defaults.icon_sizes]
# platform-facts.md:1136 (§2.1.8): 32 regular / 24 small; macos-monterey's choice of the small mode
toolbar_px = 24.0
# no macOS 26 source (platform-facts.md:1137-1140): macos-monterey's values
small_px = 16.0
large_px = 32.0
dialog_px = 22.0
panel_px = 20.0

[light.button]
# platform-facts.md:1177 (§2.3): drawn in secondarySystemFillColor's value (measured; probe :358);
# over background_color #ebebeb
background_color = "#00000014"
# no macOS 26 source (platform-facts.md:1182, (none)): macos-monterey's value
min_width_px = 64.0
# platform-facts.md:1183 (§2.3): NSButton intrinsicContentSize 24 (probe :1057)
min_height_px = 24.0
# no macOS 26 source (platform-facts.md:1187): macos-monterey's value
icon_text_gap_px = 4.0
# no macOS 26 source (platform-facts.md:1192): macos-monterey's value; the inherited
# defaults.background_color (inheritance-rules.toml:167, a wrong safety net) is the window's
# opaque colour, which would hide the translucent button on hover
hover_background = "#e0e0e5"
# platform-facts.md:1198 (§2.3): the bezel at half its alpha, black at 10/255 (measured, os-probe run 40348854007,
# renders/aqua/push_button-regular-disabled@2x.png, not key); over background_color #f5f5f5
disabled_background = "#0000000a"

[light.button.border]
# platform-facts.md:1184-1185 (§2.3): the title rect [12, 4, 41, 16] in the 65 x 24 bezel
# (probe :1071), from its outer edge
padding_horizontal_px = 12.0
padding_vertical_px = 4.0
# platform-facts.md:1191 (§2.3): no shadow (measured: nothing drawn outside the bezel)
shadow_enabled = false

[light.button.font]
# platform-facts.md:1179 (§2.3): controlTextColor, probe :335; over the button's fill #242424
color = "#000000d8"

[light.input]
# platform-facts.md:1203 (§2.4): textBackgroundColor, probe :328
background_color = "#ffffff"
# platform-facts.md:1212 (§2.4): NSTextField intrinsicContentSize 24 (probe :1308)
min_height_px = 24.0
# platform-facts.md:1208: placeholderTextColor, probe :314; over the field's background_color #808080
placeholder_color = "#0000007f"
# platform-facts.md:1209 (§2.4): textInsertionPointColor, probe :329
caret_color = "#007aff"

[light.input.border]
# platform-facts.md:1213-1214 (§2.4): the title rect [4, 4, 152, 16] in the 160 x 24 field
# (probe :1323), from its outer edge
padding_horizontal_px = 4.0
padding_vertical_px = 4.0
# platform-facts.md:178 (§1.1.3): the text field's radius, 5 (WebKit's vector drawing)
corner_radius_px = 5.0
# platform-facts.md:1216 (§2.4): no drop shadow (measured)
shadow_enabled = false

[light.input.font]
# platform-facts.md:1205 (§2.4): textColor, probe :327
color = "#000000"

[light.checkbox]
# platform-facts.md:1233 (§2.5): imageRectForBounds 16 x 16 (probe :1107)
indicator_width_px = 16.0
# platform-facts.md:1234 (§2.5): the title rect starts 6 after the image rect (probe :1106-1107)
label_gap_px = 6.0
# platform-facts.md:1241 (§2.5): macOS 26: the selected radio's dot, 5 (measured, os-probe run 40348854007,
# os-probe-macos-26/renders/aqua/radio-regular-on@2x.png, in a window that is not key)
radio_dot_diameter_px = 5.0
# platform-facts.md:1247 (§2.5): macOS 26: the unchecked box is one fill, systemFillColor's value #00000019 (measured,
# renders/aqua/checkbox-regular-off@2x.png; probe :1121, :357); the probe's window is never ordered front (:514), so
# this is the box of a window that is not key
unchecked_background = "#00000019"
# platform-facts.md:1248 (§2.5): macOS 26: none (measured), no edge pixel differs from the fill; the same caveat
unchecked_border_color = "#00000000"

[light.checkbox.border]
# platform-facts.md:1236 (§2.5): no shadow (measured)
shadow_enabled = false

[light.tooltip]
# no macOS 26 source (platform-facts.md:1285): macos-monterey's value
max_width_px = 300.0
# no macOS 26 source (platform-facts.md:1277): macos-monterey's value; the inherited window
# background would be the wrong kind
background_color = "#2c2c2e"

[light.tooltip.font]
# platform-facts.md:1279 (§2.7): toolTipsFontOfSize: 11, probe :98
size_pt = 11.0
# no macOS 26 source (platform-facts.md:1282): macos-monterey's value; the inherited label colour
# would be the wrong kind
color = "#ffffff"

[light.scrollbar]
# platform-facts.md:1307 (§2.8): scrollerWidth 17 in both modes (probe :481-482)
groove_width_px = 17.0
# no macOS 26 source (platform-facts.md:1309): macos-monterey's value
thumb_width_px = 7.0
# platform-facts.md:1310 (§2.8): NSScroller.preferredScrollerStyle, overlay on the probe's runner (probe :470)
overlay_mode = true
# no macOS 26 source (platform-facts.md:1308): macos-monterey's value
min_thumb_length_px = 40.0
# no macOS 26 source (platform-facts.md:1304): macos-monterey's value, the overlay mode's
# transparent track; the inherited window background would be the wrong kind
track_color = "#00000000"

[light.slider]
# platform-facts.md:1320 (§2.9): barRectFlipped 6 high (probe :1435)
track_height_px = 6.0
# platform-facts.md:1318 (§2.9): systemFillColor's value (probe :357), black at alpha 25/255 (measured,
# os-probe run 40348854007, renders/aqua/slider-regular@2x.png; a key window draws #e4e4e4 over #ffffff,
# os-probe-macos-26/probe.toml:3680), not muted_color; over background_color #e6e6e6
track_color = "#00000019"
# platform-facts.md:1321 (§2.9): the knob is a 20 x 16 capsule (probe :1436); its 16 across the
# track (docs/archive/todo_v0.7.0_code-review-findings.md, M2a Steps 8-12)
thumb_diameter_px = 16.0
# platform-facts.md:1322 (§2.9): rectOfTickMarkAtIndex 2 x 2 (probe :1481)
tick_mark_length_px = 2.0
# platform-facts.md:1325 (§2.9): no accent when disabled, the bar left of the knob a grey darker than
# the track: #dfdfdf over the window's #ffffff in a key window (os-probe run 40348854007,
# os-probe-macos-26/probe.toml:3660), black at alpha 32/255; over background_color #dfdfdf
disabled_fill_color = "#00000020"
# no disabled_track_color / disabled_thumb_color: platform-facts.md:1326-1327 (§2.9), macOS 26
# draws a disabled slider's track and knob as the enabled ones; unset, they are track_color and
# thumb_color

[light.progress_bar]
# platform-facts.md:1335 (§2.10): 8 (measured, renders/aqua/progress_bar-regular@2x.png)
track_height_px = 8.0
# no macOS 26 source (platform-facts.md:1336, (none)): macos-monterey's value
min_width_px = 100.0

[light.progress_bar.border]
# platform-facts.md:1338 (§2.10): no shadow (measured)
shadow_enabled = false
# platform-facts.md:1341-1342 (§2.10): 0; 0 (measured, macOS 26.6.2), the fill starts in the track's first column and covers its rows
padding_horizontal_px = 0.0
padding_vertical_px = 0.0

[light.tab]
# no macOS 26 source (platform-facts.md:1350-1351): macos-monterey's values
min_width_px = 64.0
min_height_px = 24.0

[light.menu]
# no macOS 26 source (platform-facts.md:1267): macos-monterey's value
icon_text_gap_px = 4.0
# no macOS 26 source (platform-facts.md:1268): macos-monterey's value; the inherited toolbar size
# would be the wrong kind
icon_size_px = 16.0
# platform-facts.md:1270: selectedMenuItemTextColor, probe :316
hover_text_color = "#ffffff"

[light.list]
# platform-facts.md:1429 (§2.15): the table's own fill in a key window, measured on
# macOS 26 and xcode-27's macOS 27, which agree (os-probe run 40320895749, os-probe-macos-26/probe.toml:3335)
header_background = "#ffffff"
# platform-facts.md:1421 (§2.15): controlBackgroundColor, probe :323, alternatingContentBackgroundColors[0]
background_color = "#ffffff"
# platform-facts.md:1424 (§2.15): alternatingContentBackgroundColors[1], probe :377
alternate_row_background = "#f4f5f5"
# platform-facts.md:1430: gridColor, probe :320
grid_color = "#e6e6e6"
# platform-facts.md:1431 (§2.15): NSTableView rowHeight 24 (probe :498)
row_height_px = 24.0
# platform-facts.md:1432 (§2.15): NSTableHeaderView height 28, .fullWidth, macOS 26 (probe 26 :537)
header_height_px = 28.0

[light.list.header_font]
# platform-facts.md:1428 (§2.15): headerTextColor, probe :318
color = "#000000d8"

[light.sidebar]
# platform-facts.md:1370 (§2.12): NSVisualEffectView.Material.sidebar's opaque rendering with Reduce
# Transparency on, in an active view of a key window, measured on macOS 26 and xcode-27's macOS 27, which agree
# (os-probe run 40320895749, os-probe-macos-26/probe.toml:3315)
background_color = "#f6f6f6"

[light.splitter]
# platform-facts.md:1468-1469 (§2.17): NSSplitView's default .thick divider, dividerThickness 9
# (probe :488-495), dividerColor clear
divider_width_px = 9.0
divider_color = "#00000000"

[light.switch]
# platform-facts.md:1522 (§2.21): black at alpha 25/255 (measured), systemFillColor's value
# (probe :357); over background_color #e6e6e6
unchecked_background = "#00000019"
# platform-facts.md:1523 (§2.21): white (measured)
thumb_background = "#ffffff"
# platform-facts.md:1517-1518 (§2.21): NSSwitch intrinsicContentSize 54 x 24 (probe :1194)
track_width_px = 54.0
track_height_px = 24.0
# platform-facts.md:1519 (§2.21): the knob is a 32 x 20 capsule (measured); its 20 across the
# track (docs/archive/todo_v0.7.0_code-review-findings.md, M2a Steps 8-12)
thumb_diameter_px = 20.0
# platform-facts.md:1520 (§2.21): half the track's height, a pill (the render's ends are round)
track_radius_px = 12.0
# platform-facts.md:1529 (§2.21): accent_color at alpha 115/255, as macOS 26 draws the enabled on track
# at about 0.45 (measured in a key window, os-probe run 40348854007, os-probe-macos-26/probe.toml:3620,
# :3640); the macOS reader writes the user's accent at it; over background_color #8cc3ff
disabled_checked_background = "#007aff73"
# platform-facts.md:1530 (§2.21): black at alpha 13/255 (measured, os-probe run 40348854007,
# renders/aqua/switch-regular-disabled-off@2x.png); over background_color #f2f2f2
disabled_unchecked_background = "#0000000d"
# no disabled_thumb_color: platform-facts.md:1531 (§2.21), macOS 26 draws a disabled knob white, as
# the enabled one; unset, it is thumb_background

[light.dialog]
# platform-facts.md:1559 (§2.22): the default button rightmost
button_order = "primary_right"
# no macOS 26 source (platform-facts.md:1552-1555, :1558, :1568): macos-monterey's values
min_width_px = 320.0
max_width_px = 560.0
min_height_px = 140.0
max_height_px = 600.0
button_gap_px = 12.0
icon_size_px = 64.0

[light.dialog.title_font]
# no macOS 26 source (platform-facts.md:1561-1562): macos-monterey's values, the emphasized system
# font, 13pt Bold; the inherited defaults.font would be the regular weight
size_pt = 13.0
weight = 700

[light.link]
# no macOS 26 source (platform-facts.md:1696-1698): macos-monterey's values
underline_enabled = true
background_color = "#00000000"
hover_background = "#00000000"

[light.spinner]
# platform-facts.md:1599-1600 (§2.23): sizeToFit 32 regular, 10 mini (probe :1530, :770)
diameter_px = 32.0
min_diameter_px = 10.0
# no macOS 26 source (platform-facts.md:1601, (none)): macos-monterey's value
stroke_width_px = 2.0
# platform-facts.md:1602 (§2.23): black fins at a graded alpha, the leading one 82/255 (the render
# equals macOS 14.8.9's byte for byte); over the window background #adadad
fill_color = "#00000052"

[light.combo_box]
# platform-facts.md:1611 (§2.24): drawn in secondarySystemFillColor's value (measured; probe :358);
# over background_color #ebebeb
background_color = "#00000014"
# platform-facts.md:1616 (§2.24): NSPopUpButton intrinsicContentSize 24 (probe :1237)
min_height_px = 24.0
# no macOS 26 source (platform-facts.md:1617, (none)): macos-monterey's value
min_width_px = 120.0
# no macOS 26 source (platform-facts.md:1619: the chevron is 7 x 10.5, which a square icon size
# cannot carry): macos-monterey's value
arrow_icon_size_px = 17.0

[light.combo_box.border]
# platform-facts.md:1618, :1623 (§2.24): the title rect [12, 4, 41, 16] in the 89 x 24 frame
# (probe :1251), from its outer edge; the right side holds the arrow
padding_left_px = 12.0
padding_top_px = 4.0
padding_bottom_px = 4.0
# platform-facts.md:1622 (§2.24): no shadow (measured)
shadow_enabled = false

[light.combo_box.font]
# platform-facts.md:1613 (§2.24): labelColor = controlTextColor, probe :308, :335; over the fill #242424
color = "#000000d8"

[light.segmented_control]
# platform-facts.md:1638 (§2.25): intrinsicContentSize 24 high, the alignment rect (probe :1380)
segment_height_px = 24.0
# no macOS 26 source (platform-facts.md:1639): macos-monterey's value
separator_width_px = 1.0
# no active_background: platform-facts.md:1636 (§2.25), macOS 26 draws the selected segment in the
# accent, within 7 levels of controlAccentColor under the default and a red accent (os-probe run 40348854007,
# accent-red); unset, it is defaults.accent_color, which the macOS reader writes

[light.segmented_control.border]
# platform-facts.md:1644 (§2.25): no shadow (measured)
shadow_enabled = false

[light.card.border]
# platform-facts.md:1662-1663 (§2.26): NSBox.contentViewMargins, "By default, these are both 5.0" (API); on macOS 26
# the same, inferred from the current page, which is not versioned and makes no macOS 26 statement; the box's fill
# and border are not published (§2.26 background_color, ❓), so the card's fill stays inherited
padding_horizontal_px = 5.0
padding_vertical_px = 5.0

[light.expander]
# no macOS 26 source (platform-facts.md:1675-1676): macos-monterey's values
header_height_px = 40.0
arrow_icon_size_px = 13.0
# platform-facts.md:1683 (§2.27): the HIG's disclosure triangle points in from the leading edge
arrow_side = "leading"

[light.expander.border]
# no macOS 26 source (platform-facts.md:1682): macos-monterey's value; the inherited
# defaults.border.shadow_enabled would be the wrong kind
shadow_enabled = false

[light.window]
# platform-facts.md:1160 (§2.2): a key window's title bar with Reduce Transparency on, measured
# on macOS 26 and xcode-27's macOS 27, which agree (os-probe run 40320895749, os-probe-macos-26/probe.toml:3310)
title_bar_background = "#ffffff"
# platform-facts.md:1166-1167 (§2.2): inactive_title_bar_background and inactive_title_bar_text_color
# inherit the active title bar's: a window that is not key draws its title bar as the key one does on
# macOS 26 and 27 (os-probe run 40324458365, os-probe-macos-26/not-key/probe.toml:3321)

[light.window.title_bar_font]
# platform-facts.md:1163 (§2.2): titleBarFontOfSize:, weight trait 0.4 (probe :121)
weight = 700

[light.text_scale.caption]
# platform-facts.md:1485-1488 (§2.19): the HIG's macOS text styles (probe :186-286)
size_pt = 10.0
weight = 400

[light.text_scale.section_heading]
size_pt = 13.0
weight = 700

[light.text_scale.dialog_title]
size_pt = 22.0
weight = 400

[light.text_scale.display]
size_pt = 26.0
weight = 400

# === Dark variant ===

[dark.defaults]
# platform-facts.md:1052 (§2.1.3): controlAccentColor, probe :436, the same as in Aqua (:362)
accent_color = "#007aff"
# platform-facts.md:1050: windowBackgroundColor, probe :395
background_color = "#1e1e1e"
# platform-facts.md:1051: labelColor, probe :382; over background_color #dddddd
text_color = "#ffffffd8"
# platform-facts.md:1054: controlBackgroundColor, probe :397
surface_color = "#1e1e1e"
# platform-facts.md:1056: secondaryLabelColor, probe :383; over background_color #9a9a9a
muted_color = "#ffffff8c"
# platform-facts.md:1057: NSShadow.shadowColor's default, black at 1/3 (85/255, the nearest 8-bit alpha)
shadow_color = "#00000055"

# platform-facts.md:1084-1091 (§2.1.4): systemRedColor, systemOrangeColor, systemGreenColor and
# systemBlueColor, probe :418, :421, :419, :420; each text colour is labelColor (probe :382), the
# body text beside a status mark, not text on the status fill (footnote 1, :1093-1102)
danger_color = "#ff4245"
danger_text_color = "#ffffffd8"
warning_color = "#ff9230"
warning_text_color = "#ffffffd8"
success_color = "#30d158"
success_text_color = "#ffffffd8"
info_color = "#0091ff"
info_text_color = "#ffffffd8"

# platform-facts.md:1059-1063: selectedContentBackgroundColor, alternateSelectedControlTextColor,
# unemphasizedSelectedContentBackgroundColor, selectedTextBackgroundColor and selectedTextColor,
# probe :398, :391, :399, :405, :404
selection_background = "#0059d1"
selection_text_color = "#ffffff"
selection_inactive_background = "#464646"
text_selection_background = "#3f638b"
text_selection_color = "#ffffff"
# platform-facts.md:1058: linkColor, probe :387
link_color = "#419cff"
# platform-facts.md:1108 (§2.1.5): keyboardFocusIndicatorColor, probe :413; over background_color #1c638e
focus_ring_color = "#1aa9ff7f"
# platform-facts.md:1064: disabledControlTextColor, probe :412; over background_color #565656
disabled_text_color = "#ffffff3f"
# platform-facts.md:1053: alternateSelectedControlTextColor, probe :391
accent_text_color = "#ffffff"

# platform-facts.md:1119 (§2.1.6): 1.0, macOS dims a disabled control by colour (disabled_text_color)
disabled_opacity = 1.0
# platform-facts.md:1034 (§2.1.1): SF Pro's sTypo metrics, unchanged in SF Pro 22.0d5e4
line_height = 1.19
# platform-facts.md:1109 (§2.1.5): 3, WebKit's unconditional constant
focus_ring_width_px = 3.0
# no macOS 26 source (platform-facts.md:1110): macos-monterey's value
focus_ring_offset_px = -1.0


[dark.defaults.border]
# platform-facts.md:1055 (§2.1.3): separatorColor, probe :393; over background_color #343434
color = "#ffffff19"
# platform-facts.md:1116 (§2.1.6): 6, the push button's and pop-up's (WebKit's vector drawing)
corner_radius_px = 6.0
# no macOS 26 source (platform-facts.md:1117, :1168: Tahoe's window radii vary by style, no API):
# macos-monterey's value; Tahoe's window radii are larger per third-party measurements
# (platform-facts.md:177), not adopted
corner_radius_lg_px = 10.0
# no macOS 26 source (platform-facts.md:1118): macos-monterey's value
line_width_px = 0.5
# platform-facts.md:1120 (§2.1.6): separatorColor's alpha, 25/255 (probe :393), already in color
opacity = 0.098
# no macOS 26 source (platform-facts.md:1121): macos-monterey's value
shadow_enabled = true
[dark.defaults.font]
# platform-facts.md:1029-1031 (§2.1.1): the system font, 13pt, weight trait 0 (probe :29-33)
family = "SF Pro"
size_pt = 13.0
weight = 400

[dark.defaults.mono_font]
# platform-facts.md:1040-1042 (§2.1.2): 13pt, weight trait 0 (probe :161-165); the family name is
# the same open question as macos-monterey's (platform-facts.md:65)
family = "SF Mono"
size_pt = 13.0
weight = 400

[dark.defaults.icon_sizes]
# platform-facts.md:1136 (§2.1.8): 32 regular / 24 small; macos-monterey's choice of the small mode
toolbar_px = 24.0
# no macOS 26 source (platform-facts.md:1137-1140): macos-monterey's values
small_px = 16.0
large_px = 32.0
dialog_px = 22.0
panel_px = 20.0

[dark.button]
# platform-facts.md:1177 (§2.3): drawn in secondarySystemFillColor's value (measured; probe :432);
# over background_color #303030
background_color = "#ffffff14"
# no macOS 26 source (platform-facts.md:1182, (none)): macos-monterey's value
min_width_px = 64.0
# platform-facts.md:1183 (§2.3): NSButton intrinsicContentSize 24 (probe :1057)
min_height_px = 24.0
# no macOS 26 source (platform-facts.md:1187): macos-monterey's value
icon_text_gap_px = 4.0
# no macOS 26 source (platform-facts.md:1192): macos-monterey's value; the inherited
# defaults.background_color (inheritance-rules.toml:167, a wrong safety net) is the window's
# opaque colour, which would hide the translucent button on hover
hover_background = "#444446"
# platform-facts.md:1198 (§2.3): the bezel at half its alpha, white at 10/255 (measured, os-probe run 40348854007,
# renders/darkAqua/push_button-regular-disabled@2x.png, not key); over background_color #272727
disabled_background = "#ffffff0a"

[dark.button.border]
# platform-facts.md:1184-1185 (§2.3): the title rect [12, 4, 41, 16] in the 65 x 24 bezel
# (probe :1071), from its outer edge
padding_horizontal_px = 12.0
padding_vertical_px = 4.0
# platform-facts.md:1191 (§2.3): no shadow (measured: nothing drawn outside the bezel)
shadow_enabled = false

[dark.button.font]
# platform-facts.md:1179 (§2.3): controlTextColor, probe :409; over the button's fill #dfdfdf
color = "#ffffffd8"

[dark.input]
# platform-facts.md:1203 (§2.4): textBackgroundColor, probe :402
background_color = "#1e1e1e"
# platform-facts.md:1212 (§2.4): NSTextField intrinsicContentSize 24 (probe :1308)
min_height_px = 24.0
# platform-facts.md:1208: placeholderTextColor, probe :388; over the field's background_color #9a9a9a
placeholder_color = "#ffffff8c"
# platform-facts.md:1209 (§2.4): textInsertionPointColor, probe :403
caret_color = "#007aff"

[dark.input.border]
# platform-facts.md:1213-1214 (§2.4): the title rect [4, 4, 152, 16] in the 160 x 24 field
# (probe :1323), from its outer edge
padding_horizontal_px = 4.0
padding_vertical_px = 4.0
# platform-facts.md:178 (§1.1.3): the text field's radius, 5 (WebKit's vector drawing)
corner_radius_px = 5.0
# platform-facts.md:1216 (§2.4): no drop shadow (measured)
shadow_enabled = false

[dark.input.font]
# platform-facts.md:1205 (§2.4): textColor, probe :401
color = "#ffffff"

[dark.checkbox]
# platform-facts.md:1233 (§2.5): imageRectForBounds 16 x 16 (probe :1107)
indicator_width_px = 16.0
# platform-facts.md:1234 (§2.5): the title rect starts 6 after the image rect (probe :1106-1107)
label_gap_px = 6.0
# platform-facts.md:1241 (§2.5): macOS 26: the selected radio's dot, 5 (measured, os-probe run 40348854007,
# os-probe-macos-26/renders/aqua/radio-regular-on@2x.png, in a window that is not key)
radio_dot_diameter_px = 5.0
# platform-facts.md:1247 (§2.5): macOS 26: the unchecked box is one fill, systemFillColor's value #ffffff19 (measured,
# renders/darkAqua/checkbox-regular-off@2x.png; probe :2433, :431); the probe's window is never ordered front (:514), so
# this is the box of a window that is not key
unchecked_background = "#ffffff19"
# platform-facts.md:1248 (§2.5): macOS 26: none (measured), no edge pixel differs from the fill; the same caveat
unchecked_border_color = "#00000000"

[dark.checkbox.border]
# platform-facts.md:1236 (§2.5): no shadow (measured)
shadow_enabled = false

[dark.tooltip]
# no macOS 26 source (platform-facts.md:1285): macos-monterey's value
max_width_px = 300.0
# no macOS 26 source (platform-facts.md:1277): macos-monterey's value; the inherited window
# background would be the wrong kind
background_color = "#3a3a3c"

[dark.tooltip.font]
# platform-facts.md:1279 (§2.7): toolTipsFontOfSize: 11, probe :98
size_pt = 11.0
# no macOS 26 source (platform-facts.md:1282): macos-monterey's value; the inherited label colour
# would be the wrong kind
color = "#ffffff"

[dark.scrollbar]
# platform-facts.md:1307 (§2.8): scrollerWidth 17 in both modes (probe :481-482)
groove_width_px = 17.0
# no macOS 26 source (platform-facts.md:1309): macos-monterey's value
thumb_width_px = 7.0
# platform-facts.md:1310 (§2.8): NSScroller.preferredScrollerStyle, overlay on the probe's runner (probe :470)
overlay_mode = true
# no macOS 26 source (platform-facts.md:1308): macos-monterey's value
min_thumb_length_px = 40.0
# no macOS 26 source (platform-facts.md:1304): macos-monterey's value, the overlay mode's
# transparent track; the inherited window background would be the wrong kind
track_color = "#00000000"

[dark.slider]
# platform-facts.md:1320 (§2.9): barRectFlipped 6 high (probe :1435)
track_height_px = 6.0
# platform-facts.md:1318 (§2.9): systemFillColor's value (probe :431), white at alpha 25/255 (measured,
# os-probe run 40348854007, renders/darkAqua/slider-regular@2x.png; a key window draws #343434 over #1e1e1e,
# os-probe-macos-26/probe.toml:3874), not muted_color; over background_color #343434
track_color = "#ffffff19"
# platform-facts.md:1321 (§2.9): the knob is a 20 x 16 capsule (probe :1436); its 16 across the
# track (docs/archive/todo_v0.7.0_code-review-findings.md, M2a Steps 8-12)
thumb_diameter_px = 16.0
# platform-facts.md:1322 (§2.9): rectOfTickMarkAtIndex 2 x 2 (probe :1481)
tick_mark_length_px = 2.0
# platform-facts.md:1319 (§2.9): white at alpha 217/255 (measured, renders/darkAqua/slider-regular@2x.png);
# over background_color #dddddd
thumb_color = "#ffffffd9"
# platform-facts.md:1325 (§2.9): no accent when disabled, the bar left of the knob a grey lighter than
# the track: #393939 over the window's #1e1e1e in a key window (os-probe run 40348854007,
# os-probe-macos-26/probe.toml:3854), white at alpha 31/255; over background_color #393939
disabled_fill_color = "#ffffff1f"
# no disabled_track_color / disabled_thumb_color: platform-facts.md:1326-1327 (§2.9), macOS 26
# draws a disabled slider's track and knob as the enabled ones; unset, they are track_color and
# thumb_color

[dark.progress_bar]
# platform-facts.md:1335 (§2.10): 8 (measured, renders/darkAqua/progress_bar-regular@2x.png)
track_height_px = 8.0
# no macOS 26 source (platform-facts.md:1336, (none)): macos-monterey's value
min_width_px = 100.0

[dark.progress_bar.border]
# platform-facts.md:1338 (§2.10): no shadow (measured)
shadow_enabled = false
# platform-facts.md:1341-1342 (§2.10): 0; 0 (measured, macOS 26.6.2), the fill starts in the track's first column and covers its rows
padding_horizontal_px = 0.0
padding_vertical_px = 0.0

[dark.tab]
# no macOS 26 source (platform-facts.md:1350-1351): macos-monterey's values
min_width_px = 64.0
min_height_px = 24.0

[dark.menu]
# no macOS 26 source (platform-facts.md:1267): macos-monterey's value
icon_text_gap_px = 4.0
# no macOS 26 source (platform-facts.md:1268): macos-monterey's value; the inherited toolbar size
# would be the wrong kind
icon_size_px = 16.0
# platform-facts.md:1270: selectedMenuItemTextColor, probe :390
hover_text_color = "#ffffff"

[dark.list]
# platform-facts.md:1429 (§2.15): the table's own fill in a key window, measured on
# macOS 26 and xcode-27's macOS 27, which agree (os-probe run 40320895749, os-probe-macos-26/probe.toml:3459)
header_background = "#1e1e1e"
# platform-facts.md:1421 (§2.15): controlBackgroundColor, probe :397, alternatingContentBackgroundColors[0]
background_color = "#1e1e1e"
# platform-facts.md:1424 (§2.15): alternatingContentBackgroundColors[1], probe :451; over the
# list's background_color #292929
alternate_row_background = "#ffffff0c"
# platform-facts.md:1430: gridColor, probe :394
grid_color = "#1a1a1a"
# platform-facts.md:1431 (§2.15): NSTableView rowHeight 24 (probe :498)
row_height_px = 24.0
# platform-facts.md:1432 (§2.15): NSTableHeaderView height 28, .fullWidth, macOS 26 (probe 26 :537)
header_height_px = 28.0

[dark.list.header_font]
# platform-facts.md:1428 (§2.15): headerTextColor, probe :392
color = "#ffffff"

[dark.sidebar]
# platform-facts.md:1370 (§2.12): NSVisualEffectView.Material.sidebar's opaque rendering with Reduce
# Transparency on, in an active view of a key window, measured on macOS 26 and xcode-27's macOS 27, which agree
# (os-probe run 40320895749, os-probe-macos-26/probe.toml:3439)
background_color = "#383838"

[dark.splitter]
# platform-facts.md:1468-1469 (§2.17): NSSplitView's default .thick divider, dividerThickness 9
# (probe :488-495), dividerColor clear
divider_width_px = 9.0
divider_color = "#00000000"

[dark.switch]
# platform-facts.md:1522 (§2.21): white at alpha 25/255 (measured), systemFillColor's value
# (probe :431); over background_color #343434
unchecked_background = "#ffffff19"
# platform-facts.md:1523 (§2.21): white at alpha 221/255 (measured, renders/darkAqua/switch-regular-off@2x.png)
thumb_background = "#ffffffdd"
# platform-facts.md:1517-1518 (§2.21): NSSwitch intrinsicContentSize 54 x 24 (probe :1194)
track_width_px = 54.0
track_height_px = 24.0
# platform-facts.md:1519 (§2.21): the knob is a 32 x 20 capsule (measured); its 20 across the
# track (docs/archive/todo_v0.7.0_code-review-findings.md, M2a Steps 8-12)
thumb_diameter_px = 20.0
# platform-facts.md:1520 (§2.21): half the track's height, a pill (the render's ends are round)
track_radius_px = 12.0
# platform-facts.md:1529 (§2.21): accent_color at alpha 115/255, as macOS 26 draws the enabled on track
# at about 0.45 (measured in a key window, os-probe run 40348854007, os-probe-macos-26/probe.toml:3814,
# :3834); the macOS reader writes the user's accent at it; over background_color #104783
disabled_checked_background = "#007aff73"
# platform-facts.md:1530 (§2.21): white at alpha 13/255 (measured, os-probe run 40348854007,
# renders/darkAqua/switch-regular-disabled-off@2x.png); over background_color #292929
disabled_unchecked_background = "#ffffff0d"
# platform-facts.md:1531 (§2.21): white at alpha 219/255, where the enabled knob is 221/255 (measured,
# the same render); over background_color #dfdfdf
disabled_thumb_color = "#ffffffdb"

[dark.dialog]
# platform-facts.md:1559 (§2.22): the default button rightmost
button_order = "primary_right"
# no macOS 26 source (platform-facts.md:1552-1555, :1558, :1568): macos-monterey's values
min_width_px = 320.0
max_width_px = 560.0
min_height_px = 140.0
max_height_px = 600.0
button_gap_px = 12.0
icon_size_px = 64.0

[dark.dialog.title_font]
# no macOS 26 source (platform-facts.md:1561-1562): macos-monterey's values, the emphasized system
# font, 13pt Bold; the inherited defaults.font would be the regular weight
size_pt = 13.0
weight = 700

[dark.link]
# no macOS 26 source (platform-facts.md:1696-1698): macos-monterey's values
underline_enabled = true
background_color = "#00000000"
hover_background = "#00000000"

[dark.spinner]
# platform-facts.md:1599-1600 (§2.23): sizeToFit 32 regular, 10 mini (probe :1530, :770)
diameter_px = 32.0
min_diameter_px = 10.0
# no macOS 26 source (platform-facts.md:1601, (none)): macos-monterey's value
stroke_width_px = 2.0
# platform-facts.md:1602 (§2.23): white fins at a graded alpha, the leading one 82/255 (the render
# equals macOS 14.8.9's byte for byte); over the window background #666666
fill_color = "#ffffff52"

[dark.combo_box]
# platform-facts.md:1611 (§2.24): drawn in secondarySystemFillColor's value (measured; probe :432);
# over background_color #303030
background_color = "#ffffff14"
# platform-facts.md:1616 (§2.24): NSPopUpButton intrinsicContentSize 24 (probe :1237)
min_height_px = 24.0
# no macOS 26 source (platform-facts.md:1617, (none)): macos-monterey's value
min_width_px = 120.0
# no macOS 26 source (platform-facts.md:1619: the chevron is 7 x 10.5, which a square icon size
# cannot carry): macos-monterey's value
arrow_icon_size_px = 17.0

[dark.combo_box.border]
# platform-facts.md:1618, :1623 (§2.24): the title rect [12, 4, 41, 16] in the 89 x 24 frame
# (probe :1251), from its outer edge; the right side holds the arrow
padding_left_px = 12.0
padding_top_px = 4.0
padding_bottom_px = 4.0
# platform-facts.md:1622 (§2.24): no shadow (measured)
shadow_enabled = false

[dark.combo_box.font]
# platform-facts.md:1613 (§2.24): labelColor = controlTextColor, probe :382, :409; over the fill #dfdfdf
color = "#ffffffd8"

[dark.segmented_control]
# platform-facts.md:1638 (§2.25): intrinsicContentSize 24 high, the alignment rect (probe :1380)
segment_height_px = 24.0
# no macOS 26 source (platform-facts.md:1639): macos-monterey's value
separator_width_px = 1.0
# no active_background: platform-facts.md:1636 (§2.25), macOS 26 draws the selected segment in the
# accent, within 7 levels of controlAccentColor under the default and a red accent (os-probe run 40348854007,
# accent-red); unset, it is defaults.accent_color, which the macOS reader writes

[dark.segmented_control.border]
# platform-facts.md:1644 (§2.25): no shadow (measured)
shadow_enabled = false

[dark.card.border]
# platform-facts.md:1662-1663 (§2.26): NSBox.contentViewMargins, "By default, these are both 5.0" (API); on macOS 26
# the same, inferred from the current page, which is not versioned and makes no macOS 26 statement; the box's fill
# and border are not published (§2.26 background_color, ❓), so the card's fill stays inherited
padding_horizontal_px = 5.0
padding_vertical_px = 5.0

[dark.expander]
# no macOS 26 source (platform-facts.md:1675-1676): macos-monterey's values
header_height_px = 40.0
arrow_icon_size_px = 13.0
# platform-facts.md:1683 (§2.27): the HIG's disclosure triangle points in from the leading edge
arrow_side = "leading"

[dark.expander.border]
# no macOS 26 source (platform-facts.md:1682): macos-monterey's value; the inherited
# defaults.border.shadow_enabled would be the wrong kind
shadow_enabled = false

[dark.window]
# platform-facts.md:1160 (§2.2): a key window's title bar with Reduce Transparency on, measured
# on macOS 26 and xcode-27's macOS 27, which agree (os-probe run 40320895749, os-probe-macos-26/probe.toml:3434)
title_bar_background = "#1e1e1e"
# platform-facts.md:1166-1167 (§2.2): inactive_title_bar_background and inactive_title_bar_text_color
# inherit the active title bar's: a window that is not key draws its title bar as the key one does on
# macOS 26 and 27 (os-probe run 40324458365, os-probe-macos-26/not-key/probe.toml:3447)

[dark.window.title_bar_font]
# platform-facts.md:1163 (§2.2): titleBarFontOfSize:, weight trait 0.4 (probe :121)
weight = 700

[dark.text_scale.caption]
# platform-facts.md:1485-1488 (§2.19): the HIG's macOS text styles (probe :186-286)
size_pt = 10.0
weight = 400

[dark.text_scale.section_heading]
size_pt = 13.0
weight = 700

[dark.text_scale.dialog_title]
size_pt = 22.0
weight = 400

[dark.text_scale.display]
size_pt = 26.0
weight = 400


[layout]
# platform-facts.md:1503 (§2.20): NSStackView's default spacing 8
widget_gap_px = 8.0
# platform-facts.md:1505 (§2.20): 20, §1.1.5's content margin (the Auto Layout Guide)
window_margin_px = 20.0