native-theme 0.6.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
# macOS Sonoma theme
# Source: Apple Human Interface Guidelines, NSColor system colors
name = "macOS Sonoma"
icon_set = "sf-symbols"
icon_theme = "sf-symbols"

# === Light variant ===

[light.defaults]
accent_color = "#007aff"
background_color = "#f0f0f0"
text_color = "#1d1d1f"
surface_color = "#ffffff"
muted_color = "#86868b"
shadow_color = "#00000018"

danger_color = "#ff3b30"
danger_text_color = "#ffffff"
warning_color = "#ff9500"
warning_text_color = "#1d1d1f"
success_color = "#34c759"
success_text_color = "#ffffff"
info_color = "#007aff"
info_text_color = "#ffffff"

selection_background = "#007aff"
selection_text_color = "#ffffff"
link_color = "#007aff"
focus_ring_color = "#007aff"
disabled_text_color = "#c7c7cc"
accent_text_color = "#ffffff"

disabled_opacity = 0.3
line_height = 1.19
focus_ring_width_px = 3.0
focus_ring_offset_px = -1.0


[light.defaults.border]
color = "#d5d5d5"
corner_radius_px = 5.0
corner_radius_lg_px = 10.0
line_width_px = 0.5
opacity = 0.2
shadow_enabled = true
[light.defaults.font]
family = "SF Pro"
size_pt =13.0
weight = 400

[light.defaults.mono_font]
family = "SF Mono"
size_pt =13.0
weight = 400

[light.defaults.icon_sizes]
# toolbar icon_sizes = 24 matches the small toolbar icon mode. Large mode uses 32.
toolbar_px = 24.0
small_px = 16.0
large_px = 32.0
dialog_px = 22.0
panel_px = 20.0

[light.button]
background_color = "#e8e8ed"
min_width_px = 64.0
min_height_px = 22.0
icon_text_gap_px = 4.0
# Interactive state colors (platform-facts.md section 2.3 macOS)
hover_background = "#e0e0e5"
hover_text_color = "#1d1d1f"
active_text_color = "#1d1d1f"
disabled_text_color = "#c7c7cc"
# soft_option: CoreUI pressed highlight -- slightly darker than hover
active_background = "#d6d6db"
# soft_option: disabled control bg -- bg with reduced alpha
disabled_background = "#e8e8ed80"


[light.button.border]
# platform-facts.md:1171-1172 (§2.3): NSButton ~8 (WebKit); 3 (measured)
padding_horizontal_px = 8.0
padding_vertical_px = 3.0

[light.button.font]
color = "#1d1d1f"
[light.input]
background_color = "#ffffff"
min_height_px = 22.0
# Interactive state colors (platform-facts.md section 2.4 macOS)
disabled_text_color = "#c7c7cc"
# soft_option: NSTextField hover ring -- accent-derived border
hover_border_color = "#007aff80"
# soft_option: accent-derived focus ring border
focus_border_color = "#007aff"
# soft_option: disabled text field bg -- surface with reduced alpha
disabled_background = "#ffffff80"


[light.input.border]
# platform-facts.md:1196-1197 (§2.4): NSTextField 4; 3 (measured)
padding_horizontal_px = 4.0
padding_vertical_px = 3.0

[light.input.font]
color = "#1d1d1f"
[light.checkbox]
indicator_width_px = 14.0
label_gap_px = 4.0
# Interactive state colors (platform-facts.md section 2.5 macOS)
disabled_text_color = "#c7c7cc"
# soft_option: checkbox hover state -- subtle highlight
hover_background = "#e0e0e5"
# soft_option: disabled checkbox bg -- reduced alpha
disabled_background = "#e8e8ed80"
# soft_option: unchecked indicator fill = controlBackgroundColor (white)
unchecked_background = "#ffffff"
# soft_option: unchecked border = controlColor (measured gray outline)
unchecked_border_color = "#86868b"

[light.tooltip]
background_color = "#2c2c2e"
max_width_px = 300.0


[light.tooltip.border]
# platform-facts.md:1257-1258 (§2.7): NSToolTipManager 4; 4
padding_horizontal_px = 4.0
padding_vertical_px = 4.0

[light.tooltip.font]
color = "#ffffff"
[light.scrollbar]
groove_width_px = 16.0
thumb_width_px = 7.0
overlay_mode = true
min_thumb_length_px = 40.0
# Interactive state colors (platform-facts.md section 2.8 macOS)
# measured Sonoma scrollbar thumb hover -- NOT defaults.muted_color
thumb_hover_color = "#60606080"
# soft_option: pressed scrollbar thumb -- darker than hover
thumb_active_color = "#50505090"

[light.slider]
track_height_px = 5.0
thumb_diameter_px = 21.0
tick_mark_length_px = 8.0
# soft_option interactive state colors (platform-facts.md section 2.9 macOS)
# slider knob hover -- slightly darker surface
thumb_hover_color = "#e0e0e0"
# disabled slider fill -- accent at reduced opacity
disabled_fill_color = "#007aff50"
# disabled slider track -- muted at reduced opacity
disabled_track_color = "#86868b50"
# disabled slider knob -- surface at reduced opacity
disabled_thumb_color = "#ffffff80"

[light.progress_bar]
track_height_px = 6.0
min_width_px = 100.0

[light.tab]
min_width_px = 64.0
min_height_px = 24.0
# Interactive state colors (platform-facts.md section 2.11 macOS)
active_background = "#f0f0f0"
active_text_color = "#1d1d1f"
hover_text_color = "#1d1d1f"
# soft_option: tab hover state -- subtle bg shift
hover_background = "#e8e8ed"


[light.tab.border]
# platform-facts.md:1318-1319 (§2.11): NSTabView 12; 4 (measured)
padding_horizontal_px = 12.0
padding_vertical_px = 4.0
[light.menu]
row_height_px = 22.0
icon_text_gap_px = 4.0
# Interactive state colors (platform-facts.md section 2.6 macOS)
# selectedContentBackgroundColor = accent color
hover_background = "#007aff"
# selectedMenuItemTextColor = white
hover_text_color = "#ffffff"
disabled_text_color = "#c7c7cc"


[light.menu.border]
# platform-facts.md:1235-1236 (§2.6): NSMenuItem 12; 3 (measured)
padding_horizontal_px = 12.0
padding_vertical_px = 3.0
[light.list]
alternate_row_background = "#f5f5fa"
row_height_px = 24.0
# Interactive state colors (platform-facts.md section 2.15 macOS)
# selectedContentBackgroundColor at reduced opacity
hover_background = "#007aff18"
hover_text_color = "#1d1d1f"
disabled_text_color = "#c7c7cc"


[light.list.border]
# platform-facts.md:1390-1391 (§2.15): NSTableView 4; 4 (measured)
padding_horizontal_px = 4.0
padding_vertical_px = 4.0
[light.toolbar]
# platform-facts.md:1351 (§2.13): NSToolbar 38
bar_height_px = 38.0
# platform-facts.md:1352 (§2.13): AppKit 8
item_gap_px = 8.0


[light.toolbar.border]
# platform-facts.md:1353-1354 (§2.13): NSToolbar 8 (measured); 0
padding_horizontal_px = 8.0
padding_vertical_px = 0.0

[light.sidebar]
background_color = "#e8e8ed"
# Interactive state colors (platform-facts.md section 2.12 macOS)
# selectedContentBackgroundColor at reduced opacity
hover_background = "#007aff18"


[light.sidebar.font]
color = "#1d1d1f"
[light.popover]
background_color = "#ffffff"


[light.popover.font]
color = "#1d1d1f"
[light.separator]
line_color = "#d5d5d5"

[light.splitter]
divider_width_px = 6.0
# Interactive state colors (platform-facts.md section 2.17 macOS)
# splitter.divider_color = separatorColor = border.color
hover_color = "#d5d5d5"

[light.switch]
unchecked_background = "#d5d5d5"
thumb_background = "#ffffff"
track_width_px = 38.0
track_height_px = 22.0
thumb_diameter_px = 18.0
track_radius_px = 11.0
# soft_option interactive state colors (macOS NSSwitch)
# NSSwitch hover checked -- slightly brighter accent
hover_checked_background = "#1a8aff"
# NSSwitch hover unchecked -- slightly darker trough
hover_unchecked_background = "#c8c8cd"
# NSSwitch disabled checked -- accent at disabled_opacity
disabled_checked_background = "#007aff50"
# NSSwitch disabled unchecked -- trough at disabled_opacity
disabled_unchecked_background = "#d5d5d550"
# NSSwitch disabled thumb -- white at reduced opacity
disabled_thumb_color = "#ffffff80"

[light.dialog]
button_order = "primary_right"
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]
# platform-facts.md:1496-1497 (§2.22): the emphasized system font, 13pt Bold
size_pt =13.0
weight = 700


[light.dialog.border]
# platform-facts.md:1491-1492 (§2.22): ~20 (measured)
padding_horizontal_px = 20.0
padding_vertical_px = 20.0

[light.link]
underline_enabled = true
background_color = "#00000000"
# platform-facts.md:1626 (§2.28): macOS hover_background **(none)**, transparent as background_color
hover_background = "#00000000"
# Interactive state colors (platform-facts.md section 2.28 macOS)
hover_text_color = "#007aff"
active_text_color = "#007aff"
disabled_text_color = "#c7c7cc"

[light.spinner]
diameter_px = 32.0
min_diameter_px = 10.0
stroke_width_px = 2.0

[light.combo_box]
min_height_px = 21.0
min_width_px = 120.0
arrow_icon_size_px =17.0
# arrow_area_width not stated: platform-facts.md:1554 (§2.24), ~16–18px (measured) is a range
# Interactive state colors (platform-facts.md section 2.24 macOS)
disabled_text_color = "#c7c7cc"
# soft_option: NSPopUpButton hover -- subtle highlight
hover_background = "#e0e0e5"
# soft_option: NSPopUpButton disabled -- reduced alpha bg
disabled_background = "#e8e8ed80"


[light.combo_box.border]
# platform-facts.md:1552, :1557 (§2.24): ~3 (measured); horizontal ~8–10 is a range, not stated
padding_vertical_px = 3.0
[light.segmented_control]
segment_height_px = 24.0
separator_width_px = 1.0
# Interactive state colors (platform-facts.md section 2.25 macOS)
# selectedContentBackgroundColor
active_background = "#007aff"
# alternateSelectedControlTextColor
active_text_color = "#ffffff"
# soft_option: NSSegmentedControl hover -- subtle highlight
hover_background = "#e0e0e5"


[light.segmented_control.border]
# platform-facts.md:1571, :1576 (§2.25): ~3 (measured); horizontal ~8–10 is a range, not stated
padding_vertical_px = 3.0
[light.card]

[light.expander]
header_height_px = 40.0
arrow_icon_size_px =13.0
# platform-facts.md:1613 (§2.27): the HIG's disclosure triangle points in from the leading edge
arrow_side = "leading"
# soft_option interactive state colors (macOS disclosure)
# disclosure hover -- subtle highlight
hover_background = "#e0e0e5"
# NSDisclosureButton triangle color -- secondary label color
arrow_color = "#86868b"

[light.window]
# Interactive state colors (platform-facts.md section 2.2 macOS)
# macOS uses system-managed dimming for inactive windows -- same as active title bar
inactive_title_bar_background = "#ffffff"
inactive_title_bar_text_color = "#1d1d1f"

[light.window.title_bar_font]
weight = 700

[light.text_scale.caption]
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]
accent_color = "#0a84ff"
background_color = "#1e1e1e"
text_color = "#ffffff"
surface_color = "#2d2d2d"
muted_color = "#98989d"
shadow_color = "#00000040"

danger_color = "#ff453a"
danger_text_color = "#ffffff"
warning_color = "#ff9f0a"
warning_text_color = "#1e1e1e"
success_color = "#30d158"
success_text_color = "#ffffff"
info_color = "#0a84ff"
info_text_color = "#ffffff"

selection_background = "#0a84ff"
selection_text_color = "#ffffff"
link_color = "#0a84ff"
focus_ring_color = "#0a84ff"
disabled_text_color = "#48484a"
accent_text_color = "#ffffff"

disabled_opacity = 0.3
line_height = 1.19
focus_ring_width_px = 3.0
focus_ring_offset_px = -1.0


[dark.defaults.border]
color = "#3d3d3d"
corner_radius_px = 5.0
corner_radius_lg_px = 10.0
line_width_px = 0.5
opacity = 0.2
shadow_enabled = true
[dark.defaults.font]
family = "SF Pro"
size_pt =13.0
weight = 400

[dark.defaults.mono_font]
family = "SF Mono"
size_pt =13.0
weight = 400

[dark.defaults.icon_sizes]
# toolbar icon_sizes = 24 matches the small toolbar icon mode. Large mode uses 32.
toolbar_px = 24.0
small_px = 16.0
large_px = 32.0
dialog_px = 22.0
panel_px = 20.0

[dark.button]
background_color = "#3a3a3c"
min_width_px = 64.0
min_height_px = 22.0
icon_text_gap_px = 4.0
# Interactive state colors (platform-facts.md section 2.3 macOS)
hover_background = "#444446"
hover_text_color = "#ffffff"
active_text_color = "#ffffff"
disabled_text_color = "#48484a"
# soft_option: CoreUI pressed highlight -- brighter than hover
active_background = "#4e4e50"
# soft_option: disabled control bg -- bg with reduced alpha
disabled_background = "#3a3a3c80"


[dark.button.border]
# platform-facts.md:1171-1172 (§2.3): NSButton ~8 (WebKit); 3 (measured)
padding_horizontal_px = 8.0
padding_vertical_px = 3.0

[dark.button.font]
color = "#ffffff"
[dark.input]
background_color = "#2d2d2d"
min_height_px = 22.0
# Interactive state colors (platform-facts.md section 2.4 macOS)
disabled_text_color = "#48484a"
# soft_option: NSTextField hover ring -- accent-derived border
hover_border_color = "#0a84ff80"
# soft_option: accent-derived focus ring border
focus_border_color = "#0a84ff"
# soft_option: disabled text field bg -- surface with reduced alpha
disabled_background = "#2d2d2d80"


[dark.input.border]
# platform-facts.md:1196-1197 (§2.4): NSTextField 4; 3 (measured)
padding_horizontal_px = 4.0
padding_vertical_px = 3.0

[dark.input.font]
color = "#ffffff"
[dark.checkbox]
indicator_width_px = 14.0
label_gap_px = 4.0
# Interactive state colors (platform-facts.md section 2.5 macOS)
disabled_text_color = "#48484a"
# soft_option: checkbox hover state -- subtle highlight
hover_background = "#444446"
# soft_option: disabled checkbox bg -- reduced alpha
disabled_background = "#3a3a3c80"
# soft_option: unchecked indicator fill = controlBackgroundColor (dark mode)
unchecked_background = "#2d2d2d"
# soft_option: unchecked border = controlColor (dark mode)
unchecked_border_color = "#98989d"

[dark.tooltip]
background_color = "#3a3a3c"
max_width_px = 300.0


[dark.tooltip.border]
# platform-facts.md:1257-1258 (§2.7): NSToolTipManager 4; 4
padding_horizontal_px = 4.0
padding_vertical_px = 4.0

[dark.tooltip.font]
color = "#ffffff"
[dark.scrollbar]
groove_width_px = 16.0
thumb_width_px = 7.0
overlay_mode = true
min_thumb_length_px = 40.0
# Interactive state colors (platform-facts.md section 2.8 macOS)
# measured Sonoma scrollbar thumb hover -- NOT defaults.muted_color
thumb_hover_color = "#a0a0a080"
# soft_option: pressed scrollbar thumb -- brighter than hover
thumb_active_color = "#b0b0b090"

[dark.slider]
track_height_px = 5.0
thumb_diameter_px = 21.0
tick_mark_length_px = 8.0
# soft_option interactive state colors (platform-facts.md section 2.9 macOS)
# slider knob hover -- slightly brighter surface
thumb_hover_color = "#3a3a3c"
# disabled slider fill -- accent at reduced opacity
disabled_fill_color = "#0a84ff50"
# disabled slider track -- muted at reduced opacity
disabled_track_color = "#98989d50"
# disabled slider knob -- surface at reduced opacity
disabled_thumb_color = "#2d2d2d80"

[dark.progress_bar]
track_height_px = 6.0
min_width_px = 100.0

[dark.tab]
min_width_px = 64.0
min_height_px = 24.0
# Interactive state colors (platform-facts.md section 2.11 macOS)
active_background = "#1e1e1e"
active_text_color = "#ffffff"
hover_text_color = "#ffffff"
# soft_option: tab hover state -- subtle bg shift
hover_background = "#3a3a3c"


[dark.tab.border]
# platform-facts.md:1318-1319 (§2.11): NSTabView 12; 4 (measured)
padding_horizontal_px = 12.0
padding_vertical_px = 4.0
[dark.menu]
row_height_px = 22.0
icon_text_gap_px = 4.0
# Interactive state colors (platform-facts.md section 2.6 macOS)
# selectedContentBackgroundColor = accent color
hover_background = "#0a84ff"
# selectedMenuItemTextColor = white
hover_text_color = "#ffffff"
disabled_text_color = "#48484a"


[dark.menu.border]
# platform-facts.md:1235-1236 (§2.6): NSMenuItem 12; 3 (measured)
padding_horizontal_px = 12.0
padding_vertical_px = 3.0
[dark.list]
alternate_row_background = "#252527"
row_height_px = 24.0
# Interactive state colors (platform-facts.md section 2.15 macOS)
# selectedContentBackgroundColor at reduced opacity
hover_background = "#0a84ff18"
hover_text_color = "#ffffff"
disabled_text_color = "#48484a"


[dark.list.border]
# platform-facts.md:1390-1391 (§2.15): NSTableView 4; 4 (measured)
padding_horizontal_px = 4.0
padding_vertical_px = 4.0
[dark.toolbar]
# platform-facts.md:1351 (§2.13): NSToolbar 38
bar_height_px = 38.0
# platform-facts.md:1352 (§2.13): AppKit 8
item_gap_px = 8.0


[dark.toolbar.border]
# platform-facts.md:1353-1354 (§2.13): NSToolbar 8 (measured); 0
padding_horizontal_px = 8.0
padding_vertical_px = 0.0

[dark.sidebar]
background_color = "#262626"
# Interactive state colors (platform-facts.md section 2.12 macOS)
# selectedContentBackgroundColor at reduced opacity
hover_background = "#0a84ff18"


[dark.sidebar.font]
color = "#ffffff"
[dark.popover]
background_color = "#2d2d2d"


[dark.popover.font]
color = "#ffffff"
[dark.separator]
line_color = "#3d3d3d"

[dark.splitter]
divider_width_px = 6.0
# Interactive state colors (platform-facts.md section 2.17 macOS)
# splitter.divider_color = separatorColor = border.color
hover_color = "#3d3d3d"

[dark.switch]
unchecked_background = "#3d3d3d"
thumb_background = "#ffffff"
track_width_px = 38.0
track_height_px = 22.0
thumb_diameter_px = 18.0
track_radius_px = 11.0
# soft_option interactive state colors (macOS NSSwitch)
# NSSwitch hover checked -- slightly brighter accent
hover_checked_background = "#2e94ff"
# NSSwitch hover unchecked -- slightly brighter trough
hover_unchecked_background = "#4a4a4c"
# NSSwitch disabled checked -- accent at disabled_opacity
disabled_checked_background = "#0a84ff50"
# NSSwitch disabled unchecked -- trough at disabled_opacity
disabled_unchecked_background = "#3d3d3d50"
# NSSwitch disabled thumb -- white at reduced opacity
disabled_thumb_color = "#ffffff80"

[dark.dialog]
button_order = "primary_right"
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]
# platform-facts.md:1496-1497 (§2.22): the emphasized system font, 13pt Bold
size_pt =13.0
weight = 700


[dark.dialog.border]
# platform-facts.md:1491-1492 (§2.22): ~20 (measured)
padding_horizontal_px = 20.0
padding_vertical_px = 20.0

[dark.link]
underline_enabled = true
background_color = "#00000000"
# platform-facts.md:1626 (§2.28): macOS hover_background **(none)**, transparent as background_color
hover_background = "#00000000"
# Interactive state colors (platform-facts.md section 2.28 macOS)
hover_text_color = "#0a84ff"
active_text_color = "#0a84ff"
disabled_text_color = "#48484a"

[dark.spinner]
diameter_px = 32.0
min_diameter_px = 10.0
stroke_width_px = 2.0

[dark.combo_box]
min_height_px = 21.0
min_width_px = 120.0
arrow_icon_size_px =17.0
# arrow_area_width not stated: platform-facts.md:1554 (§2.24), ~16–18px (measured) is a range
# Interactive state colors (platform-facts.md section 2.24 macOS)
disabled_text_color = "#48484a"
# soft_option: NSPopUpButton hover -- subtle highlight
hover_background = "#444446"
# soft_option: NSPopUpButton disabled -- reduced alpha bg
disabled_background = "#3a3a3c80"


[dark.combo_box.border]
# platform-facts.md:1552, :1557 (§2.24): ~3 (measured); horizontal ~8–10 is a range, not stated
padding_vertical_px = 3.0
[dark.segmented_control]
segment_height_px = 24.0
separator_width_px = 1.0
# Interactive state colors (platform-facts.md section 2.25 macOS)
# selectedContentBackgroundColor
active_background = "#0a84ff"
# alternateSelectedControlTextColor
active_text_color = "#ffffff"
# soft_option: NSSegmentedControl hover -- subtle highlight
hover_background = "#444446"


[dark.segmented_control.border]
# platform-facts.md:1571, :1576 (§2.25): ~3 (measured); horizontal ~8–10 is a range, not stated
padding_vertical_px = 3.0
[dark.card]

[dark.expander]
header_height_px = 40.0
arrow_icon_size_px =13.0
# platform-facts.md:1613 (§2.27): the HIG's disclosure triangle points in from the leading edge
arrow_side = "leading"
# soft_option interactive state colors (macOS disclosure)
# disclosure hover -- subtle highlight
hover_background = "#444446"
# NSDisclosureButton triangle color -- secondary label color
arrow_color = "#98989d"

[dark.window]
# Interactive state colors (platform-facts.md section 2.2 macOS)
# macOS uses system-managed dimming for inactive windows -- same as active title bar
inactive_title_bar_background = "#2d2d2d"
inactive_title_bar_text_color = "#ffffff"

[dark.window.title_bar_font]
weight = 700

[dark.text_scale.caption]
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]
widget_gap_px = 8.0
container_margin_px = 8.0
window_margin_px = 20.0
section_gap_px = 20.0