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
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
# Windows 11 Fluent Design theme
# Source: WinUI3 XAML theme resources, Fluent Design System
name = "Windows 11"
icon_set = "segoe-fluent"
icon_theme = "segoe-fluent"

# === Light variant ===

[light.defaults]
accent_color = "#0078d4"
background_color = "#f3f3f3"
text_color = "#1a1a1a"
surface_color = "#ffffff"
muted_color = "#717171"
shadow_color = "#00000018"

danger_color = "#c42b1c"
danger_text_color = "#ffffff"
warning_color = "#9d5d00"
warning_text_color = "#1a1a1a"
success_color = "#0f7b0f"
success_text_color = "#ffffff"
info_color = "#0078d4"
info_text_color = "#ffffff"

selection_background = "#0078d4"
selection_text_color = "#ffffff"
link_color = "#005a9e"
focus_ring_color = "#0078d4"
disabled_text_color = "#c5c5c5"
accent_text_color = "#ffffff"

# platform-facts.md:1115 (§2.1.6): 1.0, WinUI 3 dims a disabled control by its *Disabled brushes alone
disabled_opacity = 1.0
line_height = 1.43
focus_ring_width_px = 2.0
focus_ring_offset_px = 0.0


[light.defaults.border]
color = "#e5e5e5"
corner_radius_px = 4.0
corner_radius_lg_px = 8.0
line_width_px = 1.0
opacity = 0.14
shadow_enabled = true
[light.defaults.font]
family = "Segoe UI"
size_pt =10.5
weight = 400

[light.defaults.mono_font]
family = "Cascadia Mono"
size_pt =10.5
weight = 400

[light.defaults.icon_sizes]
toolbar_px = 20.0
small_px = 16.0
large_px = 32.0
dialog_px = 22.0
panel_px = 20.0

[light.text_scale.caption]
size_pt =9.0

[light.text_scale.section_heading]
size_pt =15.0
weight = 600

[light.text_scale.dialog_title]
size_pt =21.0
weight = 600

[light.text_scale.display]
size_pt =51.0
weight = 600

[light.button]
background_color = "#fdfdfd"
min_width_px = 64.0
min_height_px = 32.0
icon_text_gap_px = 8.0
# Interactive state colors (platform-facts.md section 2.3 Windows)
# Fluent SubtleFillColorSecondary overlay on bg
hover_background = "#0000000a"
hover_text_color = "#1a1a1a"
active_text_color = "#1a1a1a"
disabled_text_color = "#c5c5c5"
# soft_option: Fluent SubtleFillColorTertiary -- pressed state
active_background = "#00000008"
# soft_option: Fluent ControlFillColorDisabled
disabled_background = "#f9f9f900"
# platform-facts.md:1181-1182 (§2.3): ToggleButtonBackgroundChecked = AccentFillColorDefault, the accent button's fill (defaults.accent_color); ToggleButtonForegroundChecked = TextOnAccentFillColorPrimary #FFFFFF
checked_background = "#0078d4"
checked_text_color = "#ffffff"


[light.button.border]
# platform-facts.md:1171-1172 (§2.3): WinUI3 ButtonPadding=11,5,11,6
padding_horizontal_px = 11.0
padding_top_px = 5.0
padding_bottom_px = 6.0

[light.button.font]
color = "#1a1a1a"
[light.input]
background_color = "#ffffff"
min_height_px = 32.0
# Interactive state colors (platform-facts.md section 2.4 Windows)
disabled_text_color = "#c5c5c5"
# soft_option: Fluent TextBox hover border
hover_border_color = "#1a1a1a1a"
# soft_option: Fluent accent-color bottom border
focus_border_color = "#0078d4"
# soft_option: Fluent TextBox disabled bg
disabled_background = "#f9f9f900"


[light.input.border]
# platform-facts.md:1196-1197 (§2.4): WinUI3 TextControlThemePadding=10,5,6,6
padding_right_px = 6.0
padding_left_px = 10.0
padding_top_px = 5.0
padding_bottom_px = 6.0

[light.text_area.border]
# platform-facts.md:1639-1640 (§2.29): the same TextBox, TextControlThemePadding=10,5,6,6
padding_right_px = 6.0
padding_left_px = 10.0
padding_top_px = 5.0
padding_bottom_px = 6.0

[light.input.font]
color = "#1a1a1a"
[light.checkbox]
indicator_width_px = 20.0
# platform-facts.md:1220 (§2.5): RadioButtonCheckGlyphSize = 12
radio_dot_diameter_px = 12.0
label_gap_px = 8.0
# Interactive state colors (platform-facts.md section 2.5 Windows)
disabled_text_color = "#c5c5c5"
# soft_option: Fluent checkbox hover fill
hover_background = "#0000000a"
# soft_option: Fluent checkbox disabled fill
disabled_background = "#f9f9f900"
# soft_option: Fluent ControlAltFillColorSecondary -- unchecked bg
unchecked_background = "#0000000a"
# soft_option: Fluent ControlStrongStrokeColorDefault -- unchecked border
unchecked_border_color = "#0000005c"

[light.tooltip]
background_color = "#2c2c2c"
max_width_px = 320.0


[light.tooltip.border]
# platform-facts.md:1257-1258 (§2.7): WinUI3 ToolTipBorderPadding=9,6,9,8
padding_horizontal_px = 9.0
padding_top_px = 6.0
padding_bottom_px = 8.0

[light.tooltip.font]
color = "#ffffff"
[light.scrollbar]
groove_width_px = 17.0
min_thumb_length_px = 17.0
thumb_width_px = 6.0
overlay_mode = false
# Interactive state colors (platform-facts.md section 2.8 Windows)
# measured Windows scrollbar thumb hover
thumb_hover_color = "#a0a0a0"
# soft_option: Fluent scrollbar pressed
thumb_active_color = "#787878"

[light.slider]
track_height_px = 4.0
thumb_diameter_px = 18.0
tick_mark_length_px = 4.0
# soft_option interactive state colors (Windows Fluent section 2.9)
# Fluent slider thumb hover
thumb_hover_color = "#e0e0e0"
# Fluent AccentFillColorDisabled
disabled_fill_color = "#0078d450"
# Fluent SliderTrackFillDisabled
disabled_track_color = "#71717150"
# Fluent slider thumb disabled
disabled_thumb_color = "#ffffff80"

[light.progress_bar]
track_height_px = 1.0
min_width_px = 100.0

[light.progress_bar.border]
# platform-facts.md:1308 (§2.10): ProgressBarBorderThemeThickness = 0 (1 in high contrast)
line_width_px = 0.0

[light.tab]
min_width_px = 64.0
min_height_px = 32.0
# platform-facts.md:1326 (§2.11): TabView stacks its items with no margin (TabView.xaml:76-82, :292-300)
item_gap_px = 0.0
# Interactive state colors (platform-facts.md section 2.11 Windows)
active_background = "#f3f3f3"
active_text_color = "#1a1a1a"
hover_text_color = "#1a1a1a"
# soft_option: Fluent tab hover (SubtleFillColorSecondary)
hover_background = "#0000000a"


[light.tab.border]
# platform-facts.md:1318-1319 (§2.11): WinUI3 without-close-button context, TabViewItemHeaderPaddingWithoutCloseButton=8,3,8,3
padding_horizontal_px = 8.0
padding_vertical_px = 3.0
[light.menu]
# platform-facts.md:1234 (§2.6): WinUI3 mouse (Narrow) context, 14 text + 4 + 5
row_height_px = 23.0
icon_text_gap_px = 12.0
# Interactive state colors (platform-facts.md section 2.6 Windows)
# Fluent SubtleFillColorSecondary
hover_background = "#0000000a"
# defaults.text_color (no change)
hover_text_color = "#1a1a1a"
disabled_text_color = "#c5c5c5"


[light.menu.border]
# platform-facts.md:1235-1236 (§2.6): WinUI3 11; mouse context 4 top / 5 bottom
padding_horizontal_px = 11.0
padding_top_px = 4.0
padding_bottom_px = 5.0
[light.list]
alternate_row_background = "#f9f9f9"
row_height_px = 40.0
# Interactive state colors (platform-facts.md section 2.15 Windows)
# Fluent SubtleFillColorSecondary
hover_background = "#0000000a"
hover_text_color = "#1a1a1a"
disabled_text_color = "#c5c5c5"


[light.list.border]
# platform-facts.md:1390-1391 (§2.15): WinUI3 DefaultListViewItemStyle Padding=16,0,12,0
padding_left_px = 16.0
padding_right_px = 12.0
padding_vertical_px = 0.0
[light.toolbar]
# platform-facts.md:1351 (§2.13): WinUI3 CommandBar compact (default) mode, AppBarThemeCompactHeight = 48
bar_height_px = 48.0
# platform-facts.md:1352 (§2.13): WinUI3 0
item_gap_px = 0.0


[light.toolbar.border]
# platform-facts.md:1353-1354 (§2.13): WinUI3 CommandBar Padding=4,0,0,0
padding_right_px = 0.0
padding_left_px = 4.0
padding_vertical_px = 0.0

[light.sidebar]
background_color = "#ebebeb"
# Interactive state colors (platform-facts.md section 2.12 Windows)
# Fluent SubtleFillColorSecondary
hover_background = "#0000000a"


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


[light.popover.font]
color = "#1a1a1a"


[light.popover.border]
# platform-facts.md:1412-1413 (§2.16): WinUI3 FlyoutContentPadding=16,15,16,17
padding_horizontal_px = 16.0
padding_top_px = 15.0
padding_bottom_px = 17.0
[light.separator]
line_color = "#e5e5e5"

[light.splitter]
divider_width_px = 1.0
# Interactive state colors (platform-facts.md section 2.17 Windows)
# splitter.divider_color = defaults.border.color
hover_color = "#e5e5e5"

[light.switch]
unchecked_background = "#c5c5c5"
thumb_background = "#ffffff"
# platform-facts.md:1476 (§2.21): ToggleSwitchKnobFillOff = TextFillColorSecondary #9E000000
unchecked_thumb_background = "#0000009e"
track_width_px = 40.0
track_height_px = 20.0
thumb_diameter_px = 12.0
track_radius_px = 10.0
# soft_option interactive state colors (Windows Fluent ToggleSwitch)
# Fluent ToggleSwitch hover on -- slightly brighter accent
hover_checked_background = "#1a86d6"
# Fluent ToggleSwitch hover off -- slightly darker trough
hover_unchecked_background = "#b0b0b0"
# Fluent ToggleSwitch disabled on -- accent at reduced opacity
disabled_checked_background = "#0078d450"
# Fluent ToggleSwitch disabled off -- trough at reduced opacity
disabled_unchecked_background = "#c5c5c550"
# Fluent ToggleSwitch disabled knob
disabled_thumb_color = "#ffffff80"

[light.dialog]
# Windows uses primary-leftmost per MS Common Buttons guideline (Win7) and
# modern WinUI 3 ContentDialog. See docs/platform-facts.md:1494, 1835-1836.
button_order = "primary_left"
min_width_px = 320.0
max_width_px = 548.0
min_height_px = 184.0
max_height_px = 756.0
button_gap_px = 8.0
icon_size_px =32.0

[light.dialog.title_font]
size_pt =15.0
weight = 600


[light.dialog.border]
# platform-facts.md:1491-1492 (§2.22): WinUI3 ContentDialogPadding=24
padding_horizontal_px = 24.0
padding_vertical_px = 24.0

[light.link]
underline_enabled = true
background_color = "#00000000"
hover_background = "#0078d418"
# Interactive state colors (platform-facts.md section 2.28 Windows)
hover_text_color = "#005a9e"
active_text_color = "#005a9e"
disabled_text_color = "#c5c5c5"

[light.spinner]
diameter_px = 32.0
min_diameter_px = 16.0
stroke_width_px = 4.0

[light.combo_box]
min_height_px = 32.0
min_width_px = 64.0
arrow_icon_size_px =12.0
arrow_area_width_px = 38.0
# Interactive state colors (platform-facts.md section 2.24 Windows)
disabled_text_color = "#c5c5c5"
# soft_option: Fluent ComboBox hover
hover_background = "#0000000a"
# soft_option: Fluent ComboBox disabled
disabled_background = "#f9f9f900"


[light.combo_box.border]
# platform-facts.md:1552, :1557 (§2.24): WinUI3 ComboBoxPadding=12,5,0,7; 0 right, where the text column meets the 38px arrow column
padding_left_px = 12.0
padding_right_px = 0.0
padding_top_px = 5.0
padding_bottom_px = 7.0
[light.segmented_control]
segment_height_px = 28.0
separator_width_px = 1.0
# Interactive state colors (Windows: no native segmented control)
# Use defaults.accent_color
active_background = "#0078d4"
# Use defaults.accent_text_color
active_text_color = "#ffffff"
# soft_option: Use button hover pattern
hover_background = "#0000000a"


[light.card]


[light.card.border]
# platform-facts.md:1592-1593 (§2.26): 12 (convention)
padding_horizontal_px = 12.0
padding_vertical_px = 12.0

[light.expander]
header_height_px = 48.0
arrow_icon_size_px =12.0
# platform-facts.md:1613-1616 (§2.27): the chevron at the row's end, its 12px glyph
# 20 + (32 - 12) / 2 from the content, the content padded 16, header and content framed
arrow_side = "trailing"
arrow_gap_px = 30.0
content_indent_px = 16.0
frame_enabled = true
# soft_option interactive state colors (Windows Fluent Expander)
# Fluent Expander hover
hover_background = "#0000000a"
# Fluent Expander chevron color = TextFillColorPrimary
arrow_color = "#1a1a1ae0"


[light.expander.border]
# platform-facts.md:1607-1608 (§2.27): WinUI3 header context, ExpanderHeaderPadding=16,0,0,0
padding_right_px = 0.0
padding_left_px = 16.0
padding_vertical_px = 0.0

[light.window]
# Interactive state colors (platform-facts.md section 2.2 Windows)
# COLOR_INACTIVECAPTION -- default Windows 11 light
inactive_title_bar_background = "#f1f1f1"
# COLOR_INACTIVECAPTIONTEXT -- default Windows 11 light
inactive_title_bar_text_color = "#1a1a1a99"

# === Dark variant ===

[dark.defaults]
accent_color = "#0078d4"
background_color = "#202020"
text_color = "#ffffff"
surface_color = "#2d2d2d"
muted_color = "#9a9a9a"
shadow_color = "#00000040"

danger_color = "#ff99a4"
danger_text_color = "#1a1a1a"
warning_color = "#fce100"
warning_text_color = "#1a1a1a"
success_color = "#6ccb5f"
success_text_color = "#1a1a1a"
info_color = "#60cdff"
info_text_color = "#1a1a1a"

selection_background = "#0078d4"
selection_text_color = "#ffffff"
link_color = "#60cdff"
focus_ring_color = "#0078d4"
disabled_text_color = "#454545"
accent_text_color = "#000000"

# platform-facts.md:1115 (§2.1.6): 1.0, WinUI 3 dims a disabled control by its *Disabled brushes alone
disabled_opacity = 1.0
line_height = 1.43
focus_ring_width_px = 2.0
focus_ring_offset_px = 0.0


[dark.defaults.border]
color = "#454545"
corner_radius_px = 4.0
corner_radius_lg_px = 8.0
line_width_px = 1.0
opacity = 0.14
shadow_enabled = true
[dark.defaults.font]
family = "Segoe UI"
size_pt =10.5
weight = 400

[dark.defaults.mono_font]
family = "Cascadia Mono"
size_pt =10.5
weight = 400

[dark.defaults.icon_sizes]
toolbar_px = 20.0
small_px = 16.0
large_px = 32.0
dialog_px = 22.0
panel_px = 20.0

[dark.text_scale.caption]
size_pt =9.0

[dark.text_scale.section_heading]
size_pt =15.0
weight = 600

[dark.text_scale.dialog_title]
size_pt =21.0
weight = 600

[dark.text_scale.display]
size_pt =51.0
weight = 600

[dark.button]
background_color = "#333333"
min_width_px = 64.0
min_height_px = 32.0
icon_text_gap_px = 8.0
# Interactive state colors (platform-facts.md section 2.3 Windows)
# Fluent SubtleFillColorSecondary overlay on bg
hover_background = "#ffffff0f"
hover_text_color = "#ffffff"
active_text_color = "#ffffff"
disabled_text_color = "#454545"
# soft_option: Fluent SubtleFillColorTertiary -- pressed state
active_background = "#ffffff08"
# soft_option: Fluent ControlFillColorDisabled
disabled_background = "#33333300"
# platform-facts.md:1181-1182 (§2.3): ToggleButtonBackgroundChecked = AccentFillColorDefault, the accent button's fill (defaults.accent_color); ToggleButtonForegroundChecked = TextOnAccentFillColorPrimary #000000
checked_background = "#0078d4"
checked_text_color = "#000000"


[dark.button.border]
# platform-facts.md:1171-1172 (§2.3): WinUI3 ButtonPadding=11,5,11,6
padding_horizontal_px = 11.0
padding_top_px = 5.0
padding_bottom_px = 6.0

[dark.button.font]
color = "#ffffff"
[dark.input]
background_color = "#2d2d2d"
min_height_px = 32.0
# Interactive state colors (platform-facts.md section 2.4 Windows)
disabled_text_color = "#454545"
# soft_option: Fluent TextBox hover border
hover_border_color = "#ffffff1a"
# soft_option: Fluent accent-color bottom border
focus_border_color = "#0078d4"
# soft_option: Fluent TextBox disabled bg
disabled_background = "#33333300"


[dark.input.border]
# platform-facts.md:1196-1197 (§2.4): WinUI3 TextControlThemePadding=10,5,6,6
padding_right_px = 6.0
padding_left_px = 10.0
padding_top_px = 5.0
padding_bottom_px = 6.0

[dark.text_area.border]
# platform-facts.md:1639-1640 (§2.29): the same TextBox, TextControlThemePadding=10,5,6,6
padding_right_px = 6.0
padding_left_px = 10.0
padding_top_px = 5.0
padding_bottom_px = 6.0

[dark.input.font]
color = "#ffffff"
[dark.checkbox]
indicator_width_px = 20.0
# platform-facts.md:1220 (§2.5): RadioButtonCheckGlyphSize = 12
radio_dot_diameter_px = 12.0
label_gap_px = 8.0
# Interactive state colors (platform-facts.md section 2.5 Windows)
disabled_text_color = "#454545"
# soft_option: Fluent checkbox hover fill
hover_background = "#ffffff0f"
# soft_option: Fluent checkbox disabled fill
disabled_background = "#33333300"
# soft_option: Fluent ControlAltFillColorSecondary -- unchecked bg
unchecked_background = "#ffffff0f"
# soft_option: Fluent ControlStrongStrokeColorDefault -- unchecked border
unchecked_border_color = "#ffffff9c"

[dark.tooltip]
background_color = "#3a3a3a"
max_width_px = 320.0


[dark.tooltip.border]
# platform-facts.md:1257-1258 (§2.7): WinUI3 ToolTipBorderPadding=9,6,9,8
padding_horizontal_px = 9.0
padding_top_px = 6.0
padding_bottom_px = 8.0

[dark.tooltip.font]
color = "#ffffff"
[dark.scrollbar]
groove_width_px = 17.0
min_thumb_length_px = 17.0
thumb_width_px = 6.0
overlay_mode = false
# Interactive state colors (platform-facts.md section 2.8 Windows)
# measured Windows scrollbar thumb hover
thumb_hover_color = "#a0a0a0"
# soft_option: Fluent scrollbar pressed
thumb_active_color = "#787878"

[dark.slider]
track_height_px = 4.0
thumb_diameter_px = 18.0
tick_mark_length_px = 4.0
# soft_option interactive state colors (Windows Fluent section 2.9)
# Fluent slider thumb hover
thumb_hover_color = "#404040"
# Fluent AccentFillColorDisabled
disabled_fill_color = "#0078d450"
# Fluent SliderTrackFillDisabled
disabled_track_color = "#9a9a9a50"
# Fluent slider thumb disabled
disabled_thumb_color = "#2d2d2d80"

[dark.progress_bar]
track_height_px = 1.0
min_width_px = 100.0

[dark.progress_bar.border]
# platform-facts.md:1308 (§2.10): ProgressBarBorderThemeThickness = 0 (1 in high contrast)
line_width_px = 0.0

[dark.tab]
min_width_px = 64.0
min_height_px = 32.0
# platform-facts.md:1326 (§2.11): TabView stacks its items with no margin (TabView.xaml:76-82, :292-300)
item_gap_px = 0.0
# Interactive state colors (platform-facts.md section 2.11 Windows)
active_background = "#202020"
active_text_color = "#ffffff"
hover_text_color = "#ffffff"
# soft_option: Fluent tab hover (SubtleFillColorSecondary)
hover_background = "#ffffff0f"


[dark.tab.border]
# platform-facts.md:1318-1319 (§2.11): WinUI3 without-close-button context, TabViewItemHeaderPaddingWithoutCloseButton=8,3,8,3
padding_horizontal_px = 8.0
padding_vertical_px = 3.0
[dark.menu]
# platform-facts.md:1234 (§2.6): WinUI3 mouse (Narrow) context, 14 text + 4 + 5
row_height_px = 23.0
icon_text_gap_px = 12.0
# Interactive state colors (platform-facts.md section 2.6 Windows)
# Fluent SubtleFillColorSecondary
hover_background = "#ffffff0f"
# defaults.text_color (no change)
hover_text_color = "#ffffff"
disabled_text_color = "#454545"


[dark.menu.border]
# platform-facts.md:1235-1236 (§2.6): WinUI3 11; mouse context 4 top / 5 bottom
padding_horizontal_px = 11.0
padding_top_px = 4.0
padding_bottom_px = 5.0
[dark.list]
alternate_row_background = "#262626"
row_height_px = 40.0
# Interactive state colors (platform-facts.md section 2.15 Windows)
# Fluent SubtleFillColorSecondary
hover_background = "#ffffff0f"
hover_text_color = "#ffffff"
disabled_text_color = "#454545"


[dark.list.border]
# platform-facts.md:1390-1391 (§2.15): WinUI3 DefaultListViewItemStyle Padding=16,0,12,0
padding_left_px = 16.0
padding_right_px = 12.0
padding_vertical_px = 0.0
[dark.toolbar]
# platform-facts.md:1351 (§2.13): WinUI3 CommandBar compact (default) mode, AppBarThemeCompactHeight = 48
bar_height_px = 48.0
# platform-facts.md:1352 (§2.13): WinUI3 0
item_gap_px = 0.0


[dark.toolbar.border]
# platform-facts.md:1353-1354 (§2.13): WinUI3 CommandBar Padding=4,0,0,0
padding_right_px = 0.0
padding_left_px = 4.0
padding_vertical_px = 0.0

[dark.sidebar]
background_color = "#272727"
# Interactive state colors (platform-facts.md section 2.12 Windows)
# Fluent SubtleFillColorSecondary
hover_background = "#ffffff0f"


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


[dark.popover.font]
color = "#ffffff"


[dark.popover.border]
# platform-facts.md:1412-1413 (§2.16): WinUI3 FlyoutContentPadding=16,15,16,17
padding_horizontal_px = 16.0
padding_top_px = 15.0
padding_bottom_px = 17.0
[dark.separator]
line_color = "#3b3b3b"

[dark.splitter]
divider_width_px = 1.0
# Interactive state colors (platform-facts.md section 2.17 Windows)
# splitter.divider_color = defaults.border.color
hover_color = "#454545"

[dark.switch]
unchecked_background = "#454545"
thumb_background = "#ffffff"
# platform-facts.md:1476 (§2.21): ToggleSwitchKnobFillOff = TextFillColorSecondary #C5FFFFFF
unchecked_thumb_background = "#ffffffc5"
track_width_px = 40.0
track_height_px = 20.0
thumb_diameter_px = 12.0
track_radius_px = 10.0
# soft_option interactive state colors (Windows Fluent ToggleSwitch)
# Fluent ToggleSwitch hover on -- slightly brighter accent
hover_checked_background = "#1a86d6"
# Fluent ToggleSwitch hover off -- slightly brighter trough
hover_unchecked_background = "#525252"
# Fluent ToggleSwitch disabled on -- accent at reduced opacity
disabled_checked_background = "#0078d450"
# Fluent ToggleSwitch disabled off -- trough at reduced opacity
disabled_unchecked_background = "#45454550"
# Fluent ToggleSwitch disabled knob
disabled_thumb_color = "#ffffff80"

[dark.dialog]
# Windows uses primary-leftmost per MS Common Buttons guideline (Win7) and
# modern WinUI 3 ContentDialog. See docs/platform-facts.md:1494, 1835-1836.
button_order = "primary_left"
min_width_px = 320.0
max_width_px = 548.0
min_height_px = 184.0
max_height_px = 756.0
button_gap_px = 8.0
icon_size_px =32.0

[dark.dialog.title_font]
size_pt =15.0
weight = 600


[dark.dialog.border]
# platform-facts.md:1491-1492 (§2.22): WinUI3 ContentDialogPadding=24
padding_horizontal_px = 24.0
padding_vertical_px = 24.0

[dark.link]
underline_enabled = true
background_color = "#00000000"
hover_background = "#0078d418"
# Interactive state colors (platform-facts.md section 2.28 Windows)
hover_text_color = "#60cdff"
active_text_color = "#60cdff"
disabled_text_color = "#454545"

[dark.spinner]
diameter_px = 32.0
min_diameter_px = 16.0
stroke_width_px = 4.0

[dark.combo_box]
min_height_px = 32.0
min_width_px = 64.0
arrow_icon_size_px =12.0
arrow_area_width_px = 38.0
# Interactive state colors (platform-facts.md section 2.24 Windows)
disabled_text_color = "#454545"
# soft_option: Fluent ComboBox hover
hover_background = "#ffffff0f"
# soft_option: Fluent ComboBox disabled
disabled_background = "#33333300"


[dark.combo_box.border]
# platform-facts.md:1552, :1557 (§2.24): WinUI3 ComboBoxPadding=12,5,0,7; 0 right, where the text column meets the 38px arrow column
padding_left_px = 12.0
padding_right_px = 0.0
padding_top_px = 5.0
padding_bottom_px = 7.0
[dark.segmented_control]
segment_height_px = 28.0
separator_width_px = 1.0
# Interactive state colors (Windows: no native segmented control)
# Use defaults.accent_color
active_background = "#0078d4"
# Use defaults.accent_text_color
active_text_color = "#000000"
# soft_option: Use button hover pattern
hover_background = "#ffffff0f"


[dark.card]


[dark.card.border]
# platform-facts.md:1592-1593 (§2.26): 12 (convention)
padding_horizontal_px = 12.0
padding_vertical_px = 12.0

[dark.expander]
header_height_px = 48.0
arrow_icon_size_px =12.0
# platform-facts.md:1613-1616 (§2.27): the chevron at the row's end, its 12px glyph
# 20 + (32 - 12) / 2 from the content, the content padded 16, header and content framed
arrow_side = "trailing"
arrow_gap_px = 30.0
content_indent_px = 16.0
frame_enabled = true
# soft_option interactive state colors (Windows Fluent Expander)
# Fluent Expander hover
hover_background = "#ffffff0f"
# Fluent Expander chevron color = TextFillColorPrimary
arrow_color = "#ffffffe0"


[dark.expander.border]
# platform-facts.md:1607-1608 (§2.27): WinUI3 header context, ExpanderHeaderPadding=16,0,0,0
padding_right_px = 0.0
padding_left_px = 16.0
padding_vertical_px = 0.0

[dark.window]
# Interactive state colors (platform-facts.md section 2.2 Windows)
# COLOR_INACTIVECAPTION -- default Windows 11 dark
inactive_title_bar_background = "#2b2b2b"
# COLOR_INACTIVECAPTIONTEXT -- default Windows 11 dark
inactive_title_bar_text_color = "#ffffff99"


[layout]
widget_gap_px = 6.0
container_margin_px = 6.0
window_margin_px = 10.0
section_gap_px = 18.0