-
Notifications
You must be signed in to change notification settings - Fork 58
Expand file tree
/
Copy path_variables.scss
More file actions
2334 lines (1962 loc) · 128 KB
/
_variables.scss
File metadata and controls
2334 lines (1962 loc) · 128 KB
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
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Variables
//
// Variables should follow the `$component-state-property-size` formula for
// consistent naming. Ex: $nav-link-disabled-color and $modal-content-box-shadow-xs.
// Color system
// scss-docs-start gray-color-variables
$white: $ouds-color-functional-white !default; // OUDS mod: instead of `#fff`
$gray-100: $ouds-color-functional-light-gray-80 !default; // OUDS mod: instead of `#f8f9fa`
$gray-200: $ouds-color-functional-light-gray-160 !default; // OUDS mod: instead of `#e9ecef`
$gray-300: $ouds-color-functional-light-gray-560 !default; // OUDS mod: instead of `#dee2e6`
$gray-400: $ouds-color-functional-light-gray-560 !default; // OUDS mod: instead of `#ced4da`
$gray-500: $ouds-color-functional-dark-gray-400 !default; // OUDS mod: instead of `#adb5bd`
$gray-600: $ouds-color-functional-dark-gray-640 !default; // OUDS mod: instead of `#6c757d`
$gray-700: $ouds-color-functional-dark-gray-720 !default; // OUDS mod: instead of `#495057`
$gray-800: $ouds-color-functional-dark-gray-800 !default; // OUDS mod: instead of `#343a40`
$gray-900: $ouds-color-functional-dark-gray-880 !default; // OUDS mod: instead of `#212529`
$black: $ouds-color-functional-black !default; // OUDS mod: instead of `#000`
// scss-docs-end gray-color-variables
// fusv-disable
// scss-docs-start gray-colors-map
$grays: (
"100": $gray-100,
"200": $gray-200,
"300": $gray-300,
"400": $gray-400,
"500": $gray-500,
"600": $gray-600,
"700": $gray-700,
"800": $gray-800,
"900": $gray-900,
) !default;
// scss-docs-end gray-colors-map
// fusv-enable
// scss-docs-start color-variables
$blue: $ouds-color-functional-dodger-blue-500 !default; // OUDS mod: instead of `#0d6efd`
$indigo: $ouds-color-decorative-amethyst-400 !default; // OUDS mod: instead of `#6610f2`
$purple: $ouds-color-decorative-amethyst-400 !default; // OUDS mod: instead of `#6f42c1`
$pink: $ouds-color-decorative-shocking-pink-200 !default; // OUDS mod: instead of `#d63384`
$red: $ouds-color-functional-scarlet-600 !default; // OUDS mod: instead of `#dc3545`
$orange: $ouds-color-orange-550 !default; // OUDS mod: instead of `#fd7e14`
$yellow: $ouds-color-functional-sun-500 !default; // OUDS mod: instead of `#ffc107`
$green: $ouds-color-functional-malachite-500 !default; // OUDS mod: instead of `#198754`
$teal: $ouds-color-decorative-emerald-500 !default; // OUDS mod: instead of `#20c997`
$cyan: $ouds-color-decorative-sky-400 !default; // OUDS mod: instead of `#0dcaf0`
// scss-docs-end color-variables
// scss-docs-start colors-map
$colors: (
"blue": $blue,
"indigo": $indigo,
"purple": $purple,
"pink": $pink,
"red": $red,
"orange": $orange,
"yellow": $yellow,
"green": $green,
"teal": $teal,
"cyan": $cyan,
"black": $black,
"white": $white,
"gray": $gray-600,
"gray-dark": $gray-800
) !default;
// scss-docs-end colors-map
// The contrast ratio to reach against white, to determine if color changes from "light" to "dark". Acceptable values for WCAG 2.0 are 3, 4.5 and 7.
// See https://www.w3.org/TR/WCAG20/#visual-audio-contrast-contrast
$min-contrast-ratio: 4.5 !default;
// Customize the light and dark text colors for use in our YIQ color contrast function.
$color-contrast-dark: $black !default;
$color-contrast-light: $white !default;
// fusv-disable
$blue-100: $ouds-color-functional-dodger-blue-100 !default; // OUDS mod: instead of `tint-color($blue, 80%)`
$blue-200: $ouds-color-functional-dodger-blue-200 !default; // OUDS mod: instead of `tint-color($blue, 60%)`
$blue-300: $ouds-color-functional-dodger-blue-300 !default; // OUDS mod: instead of `tint-color($blue, 40%)`
$blue-400: $ouds-color-functional-dodger-blue-400 !default; // OUDS mod: instead of `tint-color($blue, 20%)`
$blue-500: $ouds-color-functional-dodger-blue-500 !default; // OUDS mod: instead of `$blue`
$blue-600: $ouds-color-functional-dodger-blue-600 !default; // OUDS mod: instead of `shade-color($blue, 20%)`
$blue-700: $ouds-color-functional-dodger-blue-700 !default; // OUDS mod: instead of `shade-color($blue, 40%)`
$blue-800: $ouds-color-functional-dodger-blue-800 !default; // OUDS mod: instead of `shade-color($blue, 60%)`
$blue-900: $ouds-color-functional-dodger-blue-900 !default; // OUDS mod: instead of `shade-color($blue, 80%)`
$indigo-100: $ouds-color-decorative-amethyst-100 !default; // OUDS mod: instead of `tint-color($indigo, 80%)`
$indigo-200: $ouds-color-decorative-amethyst-200 !default; // OUDS mod: instead of `tint-color($indigo, 60%)`
$indigo-300: $ouds-color-decorative-amethyst-300 !default; // OUDS mod: instead of `tint-color($indigo, 40%)`
$indigo-400: $ouds-color-decorative-amethyst-400 !default; // OUDS mod: instead of `tint-color($indigo, 20%)`
$indigo-500: $ouds-color-decorative-amethyst-500 !default; // OUDS mod: instead of `$indigo`
$indigo-600: $ouds-color-decorative-amethyst-600 !default; // OUDS mod: instead of `shade-color($indigo, 20%)`
$indigo-700: $ouds-color-decorative-amethyst-700 !default; // OUDS mod: instead of `shade-color($indigo, 40%)`
$indigo-800: $ouds-color-decorative-amethyst-800 !default; // OUDS mod: instead of `shade-color($indigo, 60%)`
$indigo-900: $ouds-color-decorative-amethyst-900 !default; // OUDS mod: instead of `shade-color($indigo, 80%)`
$purple-100: $ouds-color-decorative-amethyst-100 !default; // OUDS mod: instead of `tint-color($purple, 80%)`
$purple-200: $ouds-color-decorative-amethyst-200 !default; // OUDS mod: instead of `tint-color($purple, 60%)`
$purple-300: $ouds-color-decorative-amethyst-300 !default; // OUDS mod: instead of `tint-color($purple, 40%)`
$purple-400: $ouds-color-decorative-amethyst-400 !default; // OUDS mod: instead of `tint-color($purple, 20%)`
$purple-500: $ouds-color-decorative-amethyst-500 !default; // OUDS mod: instead of `$purple`
$purple-600: $ouds-color-decorative-amethyst-600 !default; // OUDS mod: instead of `shade-color($purple, 20%)`
$purple-700: $ouds-color-decorative-amethyst-700 !default; // OUDS mod: instead of `shade-color($purple, 40%)`
$purple-800: $ouds-color-decorative-amethyst-800 !default; // OUDS mod: instead of `shade-color($purple, 60%)`
$purple-900: $ouds-color-decorative-amethyst-900 !default; // OUDS mod: instead of `shade-color($purple, 80%)`
$pink-100: $ouds-color-decorative-shocking-pink-100 !default; // OUDS mod: instead of `tint-color($pink, 80%)`
$pink-200: $ouds-color-decorative-shocking-pink-200 !default; // OUDS mod: instead of `tint-color($pink, 60%)`
$pink-300: $ouds-color-decorative-shocking-pink-300 !default; // OUDS mod: instead of `tint-color($pink, 40%)`
$pink-400: $ouds-color-decorative-shocking-pink-400 !default; // OUDS mod: instead of `tint-color($pink, 20%)`
$pink-500: $ouds-color-decorative-shocking-pink-500 !default; // OUDS mod: instead of `$pink`
$pink-600: $ouds-color-decorative-shocking-pink-600 !default; // OUDS mod: instead of `shade-color($pink, 20%)`
$pink-700: $ouds-color-decorative-shocking-pink-700 !default; // OUDS mod: instead of `shade-color($pink, 40%)`
$pink-800: $ouds-color-decorative-shocking-pink-800 !default; // OUDS mod: instead of `shade-color($pink, 60%)`
$pink-900: $ouds-color-decorative-shocking-pink-900 !default; // OUDS mod: instead of `shade-color($pink, 80%)`
$red-100: $ouds-color-functional-scarlet-100 !default; // OUDS mod: instead of `tint-color($red, 80%)`
$red-200: $ouds-color-functional-scarlet-200 !default; // OUDS mod: instead of `tint-color($red, 60%)`
$red-300: $ouds-color-functional-scarlet-300 !default; // OUDS mod: instead of `tint-color($red, 40%)`
$red-400: $ouds-color-functional-scarlet-400 !default; // OUDS mod: instead of `tint-color($red, 20%)`
$red-500: $ouds-color-functional-scarlet-500 !default; // OUDS mod: instead of `$red`
$red-600: $ouds-color-functional-scarlet-600 !default; // OUDS mod: instead of `shade-color($red, 20%)`
$red-700: $ouds-color-functional-scarlet-700 !default; // OUDS mod: instead of `shade-color($red, 40%)`
$red-800: $ouds-color-functional-scarlet-800 !default; // OUDS mod: instead of `shade-color($red, 60%)`
$red-900: $ouds-color-functional-scarlet-900 !default; // OUDS mod: instead of `shade-color($red, 80%)`
$orange-100: $ouds-color-orange-100 !default; // OUDS mod: instead of `tint-color($orange, 80%)`
$orange-200: $ouds-color-orange-200 !default; // OUDS mod: instead of `tint-color($orange, 60%)`
$orange-300: $ouds-color-orange-300 !default; // OUDS mod: instead of `tint-color($orange, 40%)`
$orange-400: $ouds-color-orange-400 !default; // OUDS mod: instead of `tint-color($orange, 20%)`
$orange-500: $ouds-color-orange-500 !default; // OUDS mod: instead of `$orange`
$orange-600: $ouds-color-orange-600 !default; // OUDS mod: instead of `shade-color($orange, 20%)`
$orange-700: $ouds-color-orange-700 !default; // OUDS mod: instead of `shade-color($orange, 40%)`
$orange-800: $ouds-color-orange-800 !default; // OUDS mod: instead of `shade-color($orange, 60%)`
$orange-900: $ouds-color-orange-900 !default; // OUDS mod: instead of `shade-color($orange, 80%)`
$yellow-100: $ouds-color-functional-sun-100 !default; // OUDS mod: instead of `tint-color($yellow, 80%)`
$yellow-200: $ouds-color-functional-sun-200 !default; // OUDS mod: instead of `tint-color($yellow, 60%)`
$yellow-300: $ouds-color-functional-sun-300 !default; // OUDS mod: instead of `tint-color($yellow, 40%)`
$yellow-400: $ouds-color-functional-sun-400 !default; // OUDS mod: instead of `tint-color($yellow, 20%)`
$yellow-500: $ouds-color-functional-sun-500 !default; // OUDS mod: instead of `$yellow`
$yellow-600: $ouds-color-functional-sun-600 !default; // OUDS mod: instead of `shade-color($yellow, 20%)`
$yellow-700: $ouds-color-functional-sun-700 !default; // OUDS mod: instead of `shade-color($yellow, 40%)`
$yellow-800: $ouds-color-functional-sun-800 !default; // OUDS mod: instead of `shade-color($yellow, 60%)`
$yellow-900: $ouds-color-functional-sun-900 !default; // OUDS mod: instead of `shade-color($yellow, 80%)`
$green-100: $ouds-color-functional-malachite-100 !default; // OUDS mod: instead of `tint-color($green, 80%)`
$green-200: $ouds-color-functional-malachite-200 !default; // OUDS mod: instead of `tint-color($green, 60%)`
$green-300: $ouds-color-functional-malachite-300 !default; // OUDS mod: instead of `tint-color($green, 40%)`
$green-400: $ouds-color-functional-malachite-400 !default; // OUDS mod: instead of `tint-color($green, 20%)`
$green-500: $ouds-color-functional-malachite-500 !default; // OUDS mod: instead of `$green`
$green-600: $ouds-color-functional-malachite-600 !default; // OUDS mod: instead of `shade-color($green, 20%)`
$green-700: $ouds-color-functional-malachite-700 !default; // OUDS mod: instead of `shade-color($green, 40%)`
$green-800: $ouds-color-functional-malachite-800 !default; // OUDS mod: instead of `shade-color($green, 60%)`
$green-900: $ouds-color-functional-malachite-900 !default; // OUDS mod: instead of `shade-color($green, 80%)`
$teal-100: $ouds-color-decorative-emerald-100 !default; // OUDS mod: instead of `tint-color($teal, 80%)`
$teal-200: $ouds-color-decorative-emerald-200 !default; // OUDS mod: instead of `tint-color($teal, 60%)`
$teal-300: $ouds-color-decorative-emerald-300 !default; // OUDS mod: instead of `tint-color($teal, 40%)`
$teal-400: $ouds-color-decorative-emerald-400 !default; // OUDS mod: instead of `tint-color($teal, 20%)`
$teal-500: $ouds-color-decorative-emerald-500 !default; // OUDS mod: instead of `$teal`
$teal-600: $ouds-color-decorative-emerald-600 !default; // OUDS mod: instead of `shade-color($teal, 20%)`
$teal-700: $ouds-color-decorative-emerald-700 !default; // OUDS mod: instead of `shade-color($teal, 40%)`
$teal-800: $ouds-color-decorative-emerald-800 !default; // OUDS mod: instead of `shade-color($teal, 60%)`
$teal-900: $ouds-color-decorative-emerald-900 !default; // OUDS mod: instead of `shade-color($teal, 80%)`
$cyan-100: $ouds-color-decorative-sky-100 !default; // OUDS mod: instead of `tint-color($cyan, 80%)`
$cyan-200: $ouds-color-decorative-sky-200 !default; // OUDS mod: instead of `tint-color($cyan, 60%)`
$cyan-300: $ouds-color-decorative-sky-300 !default; // OUDS mod: instead of `tint-color($cyan, 40%)`
$cyan-400: $ouds-color-decorative-sky-400 !default; // OUDS mod: instead of `tint-color($cyan, 20%)`
$cyan-500: $ouds-color-decorative-sky-500 !default; // OUDS mod: instead of `$cyan`
$cyan-600: $ouds-color-decorative-sky-600 !default; // OUDS mod: instead of `shade-color($cyan, 20%)`
$cyan-700: $ouds-color-decorative-sky-700 !default; // OUDS mod: instead of `shade-color($cyan, 40%)`
$cyan-800: $ouds-color-decorative-sky-800 !default; // OUDS mod: instead of `shade-color($cyan, 60%)`
$cyan-900: $ouds-color-decorative-sky-900 !default; // OUDS mod: instead of `shade-color($cyan, 80%)`
$blues: (
"blue-100": $blue-100,
"blue-200": $blue-200,
"blue-300": $blue-300,
"blue-400": $blue-400,
"blue-500": $blue-500,
"blue-600": $blue-600,
"blue-700": $blue-700,
"blue-800": $blue-800,
"blue-900": $blue-900
) !default;
$indigos: (
"indigo-100": $indigo-100,
"indigo-200": $indigo-200,
"indigo-300": $indigo-300,
"indigo-400": $indigo-400,
"indigo-500": $indigo-500,
"indigo-600": $indigo-600,
"indigo-700": $indigo-700,
"indigo-800": $indigo-800,
"indigo-900": $indigo-900
) !default;
$purples: (
"purple-100": $purple-100,
"purple-200": $purple-200,
"purple-300": $purple-300,
"purple-400": $purple-400,
"purple-500": $purple-500,
"purple-600": $purple-600,
"purple-700": $purple-700,
"purple-800": $purple-800,
"purple-900": $purple-900
) !default;
$pinks: (
"pink-100": $pink-100,
"pink-200": $pink-200,
"pink-300": $pink-300,
"pink-400": $pink-400,
"pink-500": $pink-500,
"pink-600": $pink-600,
"pink-700": $pink-700,
"pink-800": $pink-800,
"pink-900": $pink-900
) !default;
$reds: (
"red-100": $red-100,
"red-200": $red-200,
"red-300": $red-300,
"red-400": $red-400,
"red-500": $red-500,
"red-600": $red-600,
"red-700": $red-700,
"red-800": $red-800,
"red-900": $red-900
) !default;
$oranges: (
"orange-100": $orange-100,
"orange-200": $orange-200,
"orange-300": $orange-300,
"orange-400": $orange-400,
"orange-500": $orange-500,
"orange-600": $orange-600,
"orange-700": $orange-700,
"orange-800": $orange-800,
"orange-900": $orange-900
) !default;
$yellows: (
"yellow-100": $yellow-100,
"yellow-200": $yellow-200,
"yellow-300": $yellow-300,
"yellow-400": $yellow-400,
"yellow-500": $yellow-500,
"yellow-600": $yellow-600,
"yellow-700": $yellow-700,
"yellow-800": $yellow-800,
"yellow-900": $yellow-900
) !default;
$greens: (
"green-100": $green-100,
"green-200": $green-200,
"green-300": $green-300,
"green-400": $green-400,
"green-500": $green-500,
"green-600": $green-600,
"green-700": $green-700,
"green-800": $green-800,
"green-900": $green-900
) !default;
$teals: (
"teal-100": $teal-100,
"teal-200": $teal-200,
"teal-300": $teal-300,
"teal-400": $teal-400,
"teal-500": $teal-500,
"teal-600": $teal-600,
"teal-700": $teal-700,
"teal-800": $teal-800,
"teal-900": $teal-900
) !default;
$cyans: (
"cyan-100": $cyan-100,
"cyan-200": $cyan-200,
"cyan-300": $cyan-300,
"cyan-400": $cyan-400,
"cyan-500": $cyan-500,
"cyan-600": $cyan-600,
"cyan-700": $cyan-700,
"cyan-800": $cyan-800,
"cyan-900": $cyan-900
) !default;
// fusv-enable
// scss-docs-start theme-color-variables
$primary: $orange !default; // OUDS mod: instead of `$blue`
$secondary: $black !default; // OUDS mod: instead of `$gray-600`
$success: $green !default;
$info: $blue !default; // OUDS mod: instead of `$cyan`
$warning: $yellow !default;
$danger: $red !default;
$light: $ouds-color-bg-secondary-light !default; // OUDS mod: instead of `$gray-100`
$dark: $ouds-color-bg-emphasized-light !default; // OUDS mod: instead of `$gray-900`
// scss-docs-end theme-color-variables
// scss-docs-start theme-colors-map
$theme-colors: (
"primary": $primary,
"secondary": $secondary,
"success": $success,
"info": $info,
"warning": $warning,
"danger": $danger,
"light": $light,
"dark": $dark
) !default;
// scss-docs-end theme-colors-map
// scss-docs-start theme-text-variables
$primary-text-emphasis: $ouds-color-content-brand-primary-light !default; // OUDS mod: instead of `shade-color($primary, 60%)`
$secondary-text-emphasis: $ouds-color-content-muted-light !default; // OUDS mod: instead of `shade-color($secondary, 60%)`
$success-text-emphasis: $ouds-color-content-status-positive-light !default; // OUDS mod: instead of `shade-color($success, 60%)`
$info-text-emphasis: $ouds-color-content-status-info-light !default; // OUDS mod: instead of `shade-color($info, 60%)`
$warning-text-emphasis: $ouds-color-content-status-warning-light !default; // OUDS mod: instead of `shade-color($warning, 60%)`
$danger-text-emphasis: $ouds-color-content-status-negative-light !default; // OUDS mod: instead of `shade-color($danger, 60%)`
$light-text-emphasis: $ouds-color-content-disabled-light !default; // OUDS mod: instead of `$gray-700`
$dark-text-emphasis: $ouds-color-content-default-light !default; // OUDS mod: instead of `$gray-700`
// scss-docs-end theme-text-variables
// scss-docs-start theme-bg-subtle-variables
$primary-bg-subtle: $ouds-color-bg-tertiary-light !default; // OUDS mod: instead of `tint-color($primary, 80%)`
$secondary-bg-subtle: $ouds-color-bg-secondary-light !default; // OUDS mod: instead of `tint-color($secondary, 80%)`
$success-bg-subtle: $ouds-color-surface-status-positive-muted-light !default; // OUDS mod: instead of `tint-color($success, 80%)`
$info-bg-subtle: $ouds-color-surface-status-info-muted-light !default; // OUDS mod: instead of `tint-color($info, 80%)`
$warning-bg-subtle: $ouds-color-surface-status-warning-muted-light !default; // OUDS mod: instead of `tint-color($warning, 80%)`
$danger-bg-subtle: $ouds-color-surface-status-negative-muted-light !default; // OUDS mod: instead of `tint-color($danger, 80%)`
$light-bg-subtle: $ouds-color-bg-secondary-light !default; // OUDS mod: instead of `mix($gray-100, $white)`
$dark-bg-subtle: $ouds-color-surface-status-neutral-muted-light !default; // OUDS mod: instead of `$gray-400`
// scss-docs-end theme-bg-subtle-variables
// scss-docs-start theme-border-subtle-variables
$primary-border-subtle: $ouds-color-border-default-light !default; // OUDS mod: instead of `tint-color($primary, 60%)`
$secondary-border-subtle: $ouds-color-border-default-light !default; // OUDS mod: instead of `tint-color($secondary, 60%)`
$success-border-subtle: $ouds-color-border-default-light !default; // OUDS mod: instead of `tint-color($success, 60%)`
$info-border-subtle: $ouds-color-border-default-light !default; // OUDS mod: instead of `tint-color($info, 60%)`
$warning-border-subtle: $ouds-color-border-default-light !default; // OUDS mod: instead of `tint-color($warning, 60%)`
$danger-border-subtle: $ouds-color-border-default-light !default; // OUDS mod: instead of `tint-color($danger, 60%)`
$light-border-subtle: $ouds-color-border-default-light !default; // OUDS mod: instead of `$gray-200`
$dark-border-subtle: $ouds-color-border-default-light !default; // OUDS mod: instead of `$gray-500`
// scss-docs-end theme-border-subtle-variables
// Characters which are escaped by the escape-svg function
$escaped-characters: (
("<", "%3c"),
(">", "%3e"),
("#", "%23"),
("(", "%28"),
(")", "%29"),
) !default;
// OUDS mod
//// SVG as Data-URi
$chevron-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000'><path d='M597.22 225 402.78 421.43 325 500l77.78 78.57L597.22 775 675 696.43 480.56 500 675 303.57z'/></svg>") !default;
$cross-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30' fill='#{$black}'><path d='m15 17.121-8.132 8.132-2.121-2.12L12.879 15 4.747 6.868l2.12-2.121L15 12.879l8.132-8.132 2.12 2.121L17.122 15l8.132 8.132-2.121 2.12L15 17.123z'/></svg>") !default;
$cross-icon-stroke: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='116 116 767 767' fill='#{$black}'><path d='M817.493 676.165a49.977 49.977 0 0 1 0 70.664l-70.664 70.664a49.977 49.977 0 0 1-70.664 0L499.5 640.828 322.835 817.493a49.977 49.977 0 0 1-70.664 0l-70.664-70.664a49.977 49.977 0 0 1 0-70.664L358.172 499.5 181.507 322.835a49.977 49.977 0 0 1 0-70.664l70.664-70.664a49.977 49.977 0 0 1 70.664 0L499.5 358.172l176.665-176.665a49.977 49.977 0 0 1 70.664 0l70.664 70.664a49.977 49.977 0 0 1 0 70.664L640.828 499.5Z'/></svg>") !default;
$check-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 12'><path fill='#{$black}' d='M13 0 5 8 2 5 0 7l5 5L15 2z'/></svg>") !default;
$burger-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30' fill='#{$black}'><path d='M28 21v2H2v-2h26Zm0-7v2H2v-2h26Zm0-7v2H2V7h26Z'/></svg>") !default;
$burger-icon-small: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 25 25' fill='#{$black}'><path d='M2 19h21v-2H2v2Zm0-6h21v-2H2v2Zm0-6h21V5H2v2Z'/></svg>") !default;
$success-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 125 125'><path fill='#{$success}' d='M62.5 0a62.5 62.5 0 1 0 0 125 62.5 62.5 0 0 0 0-125zm28 29.4c3.3 0 6 2.6 6 5.9a5.9 5.9 0 0 1-1.3 3.7L57.7 86a5.8 5.8 0 0 1-9.1 0L29.8 62.5c-.8-1-1.2-2.3-1.2-3.7a5.9 5.9 0 0 1 1.7-4.1l2.3-2.4a5.8 5.8 0 0 1 4.2-1.7 5.8 5.8 0 0 1 3.8 1.4L52 64.7 86.6 31a5.8 5.8 0 0 1 4-1.6z'/></svg>") !default;
$info-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 125 125'><path fill='#{$info}' d='M62.5 0a62.5 62.5 0 1 0 0 125 62.5 62.5 0 0 0 0-125zm0 14.7a11 11 0 1 1 0 22 11 11 0 0 1 0-22zM47.8 44.1h25.7v46.2c0 4.7 1.3 6.5 1.8 7.2.8 1 2.3 1.5 4.8 1.6h.8v3.8H47.8v-3.7h.8c2.3-.1 4-.8 5-2 .4-.4 1-2 1-7V57c0-4.8-.6-6.6-1.2-7.3-.8-1-2.4-1.5-4.9-1.6h-.7V44z'/></svg>") !default;
$warning-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='75 125 850 750'><path fill='#{$warning}' fill-rule='evenodd' d='M828.111 875H170.889A93.71 93.71 0 0 1 89.8 734.017l-.008-.005.772-1.321.036-.062 327.8-561.117h.008a93.94 93.94 0 0 1 162.182 0h.008l328.612 562.5-.009.005A93.709 93.709 0 0 1 828.111 875ZM500.5 775a47.5 47.5 0 1 1 47.507-47.5A47.5 47.5 0 0 1 500.5 775Zm47.368-424.038-15.7 258.121c-.009 17.482-14.185 24.05-31.671 24.05s-31.662-6.568-31.671-24.05l-15.74-258.716c-.057-.949-.094-1.9-.094-2.867a47.507 47.507 0 0 1 95.014 0 47.782 47.782 0 0 1-.138 3.462Z'/></svg>") !default;
$warning-icon-filled: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='75 125 850 750'><path fill='#{$warning}' d='M828.111 875H170.889A93.71 93.71 0 0 1 89.8 734.017l-.008-.005.772-1.321.036-.062 327.8-561.117h.008a93.94 93.94 0 0 1 162.182 0h.008l328.612 562.5-.009.005A93.709 93.709 0 0 1 828.111 875Z'/><path fill='#{$black}' d='M500.5 775a47.5 47.5 0 1 1 47.507-47.5A47.5 47.5 0 0 1 500.5 775Zm47.368-424.038-15.7 258.121c-.009 17.482-14.185 24.05-31.671 24.05s-31.662-6.568-31.671-24.05l-15.74-258.716c-.057-.949-.094-1.9-.094-2.867a47.507 47.507 0 0 1 95.014 0 47.782 47.782 0 0 1-.138 3.462Z'/></svg>") !default;
$danger-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 125'><path fill='#{$danger}' d='M70.3 0c-5.8 0-10.8 3.1-13.5 7.8L2.3 101.3l-.2.2A15.6 15.6 0 0 0 15.6 125H125a15.6 15.6 0 0 0 13.5-23.5L83.8 7.8A15.6 15.6 0 0 0 70.3 0zm19.2 50a6.4 6.4 0 0 1 4.4 1.9 6.4 6.4 0 0 1 0 9L79.4 75.6l15 15a6.4 6.4 0 0 1 0 9.2 6.4 6.4 0 0 1-4.5 1.9 6.4 6.4 0 0 1-4.6-2l-15-15-15 15a6.4 6.4 0 0 1-4.6 2 6.4 6.4 0 0 1-4.6-2 6.4 6.4 0 0 1 0-9l15-15L46.8 61a6.4 6.4 0 1 1 9-9.1l14.6 14.5L84.8 52a6.4 6.4 0 0 1 4.7-1.9z'/></svg>") !default;
$add-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><path fill='currentColor' d='M14 6H8V0H6v6H0v2h6v6h2V8h6V6z'/></svg>") !default;
$remove-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 2'><path fill='currentColor' d='M0 0h14v2H0z'/></svg>") !default;
$add-icon-sm: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'><path d='M10 4H6V0H4v4H0v2h4v4h2V6h4V4z'/></svg>") !default;
$remove-icon-sm: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 2'><path d='M0 0h10v2H0z'/></svg>") !default;
$play-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='currentColor' d='M12.138 16.8 3 21.6V2.4l9.138 4.8L21 12z' fill-rule='evenodd'/></svg>") !default;
$pause-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='currentColor' d='M10.2 21H3V3h7.2v18ZM21 21h-7.2V3H21v18Z' fill-rule='evenodd'/></svg>") !default;
$helper-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000'><path fill='#{$info}' d='M500 75C265.277 75 75 265.279 75 500s190.277 425 425 425 425-190.279 425-425S734.721 75 500 75Zm30.8 680.633a54.149 54.149 0 0 1-37.069 14.267 56.1 56.1 0 0 1-37.95-14.085q-16.233-14.079-16.226-39.384 0-22.458 15.679-37.781t38.5-15.324q22.464 0 37.789 15.324t15.324 37.781q-.003 24.951-16.047 39.202Zm133.12-330.046a162.251 162.251 0 0 1-29.23 39.38q-16.92 16.574-60.772 55.785A248.236 248.236 0 0 0 554.5 540.18a79.146 79.146 0 0 0-10.868 15.32 75.1 75.1 0 0 0-5.529 13.9q-1.953 6.954-5.879 24.42-6.762 37.068-42.413 37.069-18.541 0-31.192-12.119t-12.647-36q0-29.945 9.262-51.863a131.346 131.346 0 0 1 24.6-38.491q15.319-16.577 41.35-39.4 22.789-19.946 32.962-30.113a101.987 101.987 0 0 0 17.105-22.632 54.714 54.714 0 0 0 6.955-27.086q0-28.517-21.213-48.119t-54.7-19.6q-39.213 0-57.743 19.783t-31.359 58.272Q401.059 423.8 367.2 423.8q-19.964 0-33.683-14.079T319.8 379.248q0-33.852 21.739-68.606t63.447-57.562q41.7-22.814 97.3-22.813 51.66 0 91.244 19.069 39.549 19.074 61.119 51.856t21.571 71.286q.004 30.297-12.297 53.109Z'/></svg>") !default;
//// SVG used several times
$svg-as-custom-props: (
"chevron": $chevron-icon,
"close": $cross-icon-stroke,
"check": $check-icon,
"success": $success-icon,
"error": $danger-icon
) !default;
//// Filters
// see https://codepen.io/sosuke/pen/Pjoqqp
$invert-filter: invert(1) !default;
// End mod
// Options
//
// Quickly modify global styling by enabling or disabling optional features.
$enable-caret: true !default;
$enable-rounded: true !default;
$enable-shadows: false !default;
$enable-gradients: false !default;
$enable-transitions: true !default;
$enable-reduced-motion: true !default;
$enable-smooth-scroll: true !default;
$enable-grid-classes: true !default;
$enable-container-classes: true !default;
$enable-cssgrid: false !default;
$enable-button-pointers: true !default;
$enable-rfs: false !default;
$enable-validation-icons: true !default;
$enable-negative-margins: false !default;
$enable-deprecation-messages: false !default;
$enable-important-utilities: true !default;
$enable-fixed-header: true !default; // OUDS mod: used to apply scroll-padding-top
$enable-bootstrap-compatibility: false !default; // OUDS mod: used to enforce Bootstrap compatibility
$enable-dark-mode: true !default;
// OUDS mod: $color-mode-type is declared in our `_config.scss` file
// OUDS mod: Prefix for $ouds-root-selector CSS variables has been moved to `_config.scss`
// Gradient
//
// The gradient which is added to components if `$enable-gradients` is `true`
// This gradient is also added to elements with `.bg-gradient`
// scss-docs-start variable-gradient
$gradient: linear-gradient(180deg, rgba($white, .15), rgba($white, 0)) !default;
// scss-docs-end variable-gradient
// Spacing
//
// Control the default styling of most OUDS Web elements by modifying these
// variables. Mostly focused on spacing.
// You can add more entries to the $spacers map, should you need more variation.
// scss-docs-start spacer-variables-maps
$spacer: 1rem !default;
$spacers: (
0: 0,
1: $spacer * .25,
2: $spacer * .75, // OUDS mod: instead of `.5`
3: $spacer * 1.5, // OUDS mod: instead of `1`
4: $spacer * 2.5, // OUDS mod: instead of `1.5`
5: $spacer * 3.5, // OUDS mod: instead of `3`
) !default;
// scss-docs-end spacer-variables-maps
$target-size: 2.75rem !default; // OUDS mod: minimum target size (44×44px)
// Position
//
// Define the edge positioning anchors of the position utilities.
// scss-docs-start position-map
$position-values: (
0: 0,
50: 50%,
100: 100%
) !default;
// scss-docs-end position-map
// Body
//
// Settings for the `<body>` element.
$body-text-align: null !default;
$body-color: $ouds-color-content-default-light !default; // OUDS mod: instead of `$gray-900`
$body-bg: $ouds-color-bg-primary-light !default; // OUDS mod: instead of `$white`
$body-secondary-color: $ouds-color-content-muted-light !default; // OUDS mod: instead of `rgba($body-color, .75)`
$body-secondary-bg: $ouds-color-bg-secondary-light !default; // OUDS mod: instead of `$gray-200`
$body-tertiary-color: $ouds-color-content-disabled-light !default; // OUDS mod: instead of `rgba($body-color, .5)`
$body-tertiary-bg: $ouds-color-bg-tertiary-light !default; // OUDS mod: instead of `$gray-100`
$body-emphasis-color: $ouds-color-content-default-light !default; // OUDS mod: instead of `$black`
// Links
//
// Style anchor elements.
// scss-docs-start link-variables
$link-color: $black !default; // OUDS mod
$link-decoration: underline !default;
$link-font-weight: $ouds-font-weight-strong !default; // OUDS mod
$link-shade-percentage: 20% !default;
$link-hover-color: $primary !default; // OUDS mod
$link-hover-decoration: null !default;
// scss-docs-end link-variables
$stretched-link-pseudo-element: after !default;
$stretched-link-z-index: 1 !default;
// OUDS mod: no longer used
// Icon links
// scss-docs-start icon-link-variables
// $icon-link-gap: .375rem !default;
// $icon-link-underline-offset: .25em !default;
// $icon-link-icon-size: 1em !default;
// $icon-link-icon-transition: .2s ease-in-out transform !default;
// $icon-link-icon-transform: translate3d(.25em, 0, 0) !default;
// scss-docs-end icon-link-variables
// End mod
// Paragraphs
//
// Style p element.
$paragraph-margin-bottom: $ouds-space-fixed-medium !default; // OUDS mod: instead of `1rem`
// Grid breakpoints
//
// Define the minimum dimensions at which your layout will change,
// adapting to different screen sizes, for use in media queries.
// OUDS mod
// scss-docs-start grid-breakpoints
$grid-breakpoints: (
2xs: 0,
xs: $ouds-grid-xs-min-width, // 390px
sm: $ouds-grid-sm-min-width, // 480px
md: $ouds-grid-md-min-width, // 736px
lg: $ouds-grid-lg-min-width, // 1024px
xl: $ouds-grid-xl-min-width, // 1320px
2xl: $ouds-grid-2xl-min-width, // 1640px
3xl: $ouds-grid-3xl-min-width // 1880px
) !default;
// scss-docs-end grid-breakpoints
// This adjustment ensures the map is in the correct ascending order for the checks that follow.
// Note: This requires `$enable-bootstrap-compatibility` to be set before importing this file.
@if $enable-bootstrap-compatibility {
$breakpoint-2xl: map-get($grid-breakpoints, 2xl);
$breakpoint-3xl: map-get($grid-breakpoints, 3xl);
$grid-breakpoints: map-remove($grid-breakpoints, 2xl, 3xl);
$grid-breakpoints: map-merge($grid-breakpoints, (xxl: $breakpoint-2xl, 2xl: $breakpoint-2xl, 3xl: $breakpoint-3xl));
}
@include _assert-ascending($grid-breakpoints, "$grid-breakpoints");
@include _assert-starts-at-zero($grid-breakpoints, "$grid-breakpoints");
// Grid containers
//
// Define the maximum width of `.container` for different screen sizes.
// scss-docs-start container-max-widths
$container-max-widths: (
xs: $ouds-grid-xs-min-width, // 390px
sm: $ouds-grid-sm-min-width, // 480px
md: $ouds-grid-md-min-width, // 736px
lg: $ouds-grid-lg-min-width, // 1024px
xl: $ouds-grid-xl-min-width, // 1320px
2xl: $ouds-grid-2xl-min-width, // 1640px
3xl: $ouds-grid-3xl-min-width, // 1880px
) !default;
$container-fluid-margin: (
2xs: $ouds-grid-2xs-margin, // 16px
xs: $ouds-grid-xs-margin, // 24px
sm: $ouds-grid-sm-margin, // 28px
md: $ouds-grid-md-margin, // 32px
lg: $ouds-grid-lg-margin, // 40px
xl: $ouds-grid-xl-margin, // 56px
2xl: $ouds-grid-2xl-margin, // 80px
3xl: $ouds-grid-3xl-margin // 112px
) !default;
// scss-docs-end container-max-widths
// End mod
@include _assert-ascending($container-max-widths, "$container-max-widths");
// Grid columns
//
// Set the number of columns and specify the width of the gutters.
$grid-columns: 12 !default;
$grid-gutter-width: $spacer !default;
$grid-row-columns: 6 !default;
// Container padding
$container-padding-x: $grid-gutter-width !default;
// Components
//
// Define common padding and border radius sizes and more.
// scss-docs-start border-variables
$border-width: $ouds-border-width-default !default; // OUDS mod: instead of `.125rem`
$border-widths: (
1: $ouds-border-width-thin, // OUDS mod: instead of `$border-width * .5`
2: $ouds-border-width-medium, // OUDS mod: instead of `$border-width`
3: $ouds-border-width-thick, // OUDS mod: instead of `$border-width * 1.5`
4: $ouds-border-width-thicker, // OUDS mod: instead of `$border-width * 2`
5: $ouds-border-width-thicker * 1.25 // OUDS mod: instead of `$border-width * 2.5`
) !default;
$border-style: $ouds-border-style-default !default; // OUDS mod: instead of `solid`
$border-color: $ouds-color-border-emphasized-light !default; // OUDS mod: instead of `$gray-300`
$border-color-translucent: $ouds-color-border-default-light !default; // OUDS mod: instead of `rgba($black, .175)`
// scss-docs-end border-variables
// scss-docs-start border-radius-variables
$border-radius: $ouds-border-radius-default !default; // OUDS mod: instead of `.375rem`
$border-radius-sm: $ouds-border-radius-short !default; // OUDS mod: instead of `.25rem`
$border-radius-lg: $ouds-border-radius-medium !default; // OUDS mod: instead of `.5rem`
$border-radius-xl: $ouds-border-radius-tall !default; //OUDS mod: instead of `1rem`
$border-radius-xxl: $ouds-border-radius-tall * 1.5 !default; // OUDS mod: instead of `2rem`
$border-radius-pill: px-to-rem($ouds-border-radius-pill) !default; // OUDS mod: instead of `50rem`
// scss-docs-end border-radius-variables
// fusv-disable
$border-radius-2xl: $border-radius-xxl !default; // Deprecated in Bootstrap v5.3.0
// fusv-enable
// scss-docs-start focus-visible-variables
$focus-visible-zindex: 5 !default; // OUDS mod
$focus-visible-inner-width: 2px !default; // OUDS mod
$focus-visible-outer-width: 3px !default; // OUDS mod
$focus-visible-outer-offset: $focus-visible-inner-width !default; // OUDS mod
// scss-docs-end focus-visible-variables
// scss-docs-start box-shadow-variables
$box-shadow: $ouds-elevation-default !default; // OUDS mod: instead of `0 .5rem 1rem rgba($black, .15)`
$box-shadow-sm: $ouds-elevation-default !default; // OUDS mod: instead of `0 .125rem .25rem rgba($black, .075)`
$box-shadow-lg: $ouds-elevation-emphasized !default; // OUDS mod: instead of `0 1rem 3rem rgba($black, .175)`
$box-shadow-inset: null !default; // OUDS mod: instead of `inset 0 1px 2px rgba($black, .075)`
// scss-docs-end box-shadow-variables
$component-active-color: var(--#{$prefix}color-content-on-action-primary-pressed) !default;
$component-active-bg: var(--#{$prefix}color-action-primary-pressed) !default;
// scss-docs-start focus-ring-variables
$focus-ring-width: .25rem !default;
$focus-ring-opacity: .25 !default;
$focus-ring-color: rgba($primary, $focus-ring-opacity) !default;
// OUDS mod: no `$focus-ring-blur`
$focus-ring-box-shadow: null !default; // OUDS mod: instead of `0 0 $focus-ring-blur $focus-ring-width $focus-ring-color`
// scss-docs-end focus-ring-variables
// scss-docs-start caret-variables
$caret-width: add($spacer * .25, var(--#{$prefix}border-width)) !default;
$caret-vertical-align: center !default;
$caret-spacing: $spacer * .5 !default;
// scss-docs-end caret-variables
$transition-duration: .2s !default; // OUDS mod
$transition-timing: ease-in-out !default; // OUDS mod
$transition-base: all $transition-duration $transition-timing !default;
$transition-fade: opacity $transition-timing linear !default;
// scss-docs-start collapse-transition
$transition-collapse: height .35s ease !default;
$transition-collapse-width: width .35s ease !default;
// scss-docs-end collapse-transition
$transition-focus: null !default; // OUDS mod
// stylelint-disable function-disallowed-list
// scss-docs-start aspect-ratios
$aspect-ratios: (
"1x1": 100%,
"4x3": calc(3 / 4 * 100%),
"16x9": calc(9 / 16 * 100%),
"21x9": calc(9 / 21 * 100%),
"9x16": calc(16 / 9 * 100%) // OUDS mod: additional ratio for portrait videos
) !default;
// scss-docs-end aspect-ratios
// stylelint-enable function-disallowed-list
// Typography
//
// Font, line-height, and color for body text, headings, and more.
// scss-docs-start font-variables
$font-family-sans-serif: $ouds-font-family-sans-serif-stack !default; // OUDS mod
$font-family-monospace: $ouds-font-family-monospace-stack !default; // OUDS mod
$font-family-base: var(--#{$prefix}font-sans-serif) !default;
$font-family-code: var(--#{$prefix}font-monospace) !default;
// OUDS mod
//// Type scale & vertical rhythm completely revamped to match Orange Web Guidelines
// $font-size-root affects the value of `rem`, which is used for as well font sizes, paddings and margins
// $font-size-base affects the font size of the body text
$font-size-root: null !default;
$font-size-base: var(--#{$prefix}font-size-body-medium) !default; // Assumes the browser default, typically `16px`
$font-size-sm: var(--#{$prefix}font-size-body-small) !default; // 14px
$font-size-lg: var(--#{$prefix}font-size-body-large) !default; // 18px
$font-weight-lighter: null !default;
$font-weight-light: null !default;
$font-weight-normal: $ouds-font-weight-default !default;
$font-weight-medium: null !default;
$font-weight-semibold: null !default;
$font-weight-bold: $ouds-font-weight-strong !default;
$font-weight-bolder: null !default;
$font-weight-base: $font-weight-normal !default;
$line-height-base: var(--#{$prefix}font-line-height-body-medium) !default;
$line-height-sm: var(--#{$prefix}font-line-height-body-small) !default;
$line-height-lg: var(--#{$prefix}font-line-height-body-large) !default;
$letter-spacing-base: var(--#{$prefix}font-letter-spacing-body-medium) !default;
$h1-font-size: var(--#{$prefix}font-size-heading-xlarge) !default;
$h2-font-size: var(--#{$prefix}font-size-heading-large) !default;
$h3-font-size: var(--#{$prefix}font-size-heading-medium) !default;
$h4-font-size: var(--#{$prefix}font-size-heading-small) !default;
$h5-font-size: var(--#{$prefix}font-size-body-large) !default;
$h6-font-size: var(--#{$prefix}font-size-body-medium) !default;
// scss-docs-end font-variables
// scss-docs-start font-sizes
$font-sizes: (
1: $h1-font-size,
2: $h2-font-size,
3: $h3-font-size,
4: $h4-font-size,
5: $h5-font-size,
6: $h6-font-size
) !default;
// scss-docs-end font-sizes
// scss-docs-start headings-variables
$headings-margin-bottom: $ouds-space-fixed-medium !default; // OUDS mod: instead of `$spacer * .5`
$headings-font-family: null !default;
$headings-font-style: null !default;
$headings-font-weight: $ouds-font-weight-heading !default;
$headings-line-height: null !default;
$headings-color: inherit !default;
// scss-docs-end headings-variables
// scss-docs-start display-headings
$display-font-sizes: (
large: "display-large",
medium: "display-medium",
small: "display-small"
) !default;
@if $enable-bootstrap-compatibility {
$display-font-sizes: map-merge(
$display-font-sizes,
(
1: "display-large",
2: "display-medium",
3: "display-small",
4: "heading-xlarge",
5: "heading-large",
6: "heading-medium",
)
);
}
$display-font-family: null !default;
$display-font-style: null !default;
$display-font-weight: $ouds-font-weight-display !default;
$display-line-height: $headings-line-height !default;
// scss-docs-end display-headings
// scss-docs-start type-variables
$lead-font-size: $h5-font-size !default;
$lead-font-weight: $ouds-font-weight-body-default !default;
// OUDS mod: no $small-font-size
$sub-sup-font-size: .75em !default;
// fusv-disable
$text-muted: var(--#{$prefix}secondary-color) !default; // Deprecated in Bootstrap 5.3.0
// fusv-enable
// OUDS mod: no $initialism-font-size
$blockquote-margin-y: $ouds-space-fixed-medium !default; // OUDS mod: instead of `1rem`
// OUDS mod: no `$blockquote-font-size`
$blockquote-footer-color: var(--#{$prefix}color-content-muted) !default; // OUDS mod: instead of `$gray-600`
// OUDS mod: no `$blockquote-footer-font-size`
$hr-margin-y: $ouds-space-fixed-medium !default;
$hr-color: inherit !default;
// fusv-disable
$hr-bg-color: null !default; // Deprecated in Bootstrap v5.2.0
$hr-height: null !default; // Deprecated in Bootstrap v5.2.0
// fusv-enable
$hr-border-color: null !default; // Allows for inherited colors
$hr-border-width: var(--#{$prefix}border-width) !default;
$hr-opacity: null !default;
// scss-docs-start vr-variables
$vr-border-width: 2px !default; // OUDS mod: instead of `var(--#{$prefix}border-width)`
// scss-docs-end vr-variables
$legend-margin-bottom: $spacer * .25 !default;
// OUDS mod: no `$legend-font-size`
$legend-font-weight: $font-weight-bold !default;
$dt-font-weight: $font-weight-bold !default;
$list-inline-padding: $spacer * .25 !default;
$mark-padding: .125em !default; // OUDS mod: instead of `.1875rem`
$mark-color: $ouds-color-content-on-action-highlighted-light !default; // OUDS mod: instead of `$body-color`
$mark-bg: $ouds-color-action-highlighted-light !default; // OUDS mod: instead of `$yellow-100`
// scss-docs-end type-variables
// End mod
// Tables
//
// Customizes the `.table` component with basic values, each used across all table variations.
// scss-docs-start table-variables
$table-cell-padding-y: .875rem !default; // OUDS mod
$table-cell-padding-x: $spacer * .5 !default; // OUDS mod
$table-cell-padding-y-sm: .5625rem !default; // OUDS mod
$table-cell-padding-x-sm: $table-cell-padding-x !default; // OUDS mod
$table-cell-icon-margin-top: -.75rem !default; // OUDS mod
$table-cell-icon-margin-bottom: -.625rem !default; // OUDS mod
$table-cell-vertical-align: top !default;
$table-line-height: 1.25 !default; // OUDS mod
$table-color: var(--#{$prefix}emphasis-color) !default;
$table-bg: var(--#{$prefix}body-bg) !default;
$table-accent-bg: transparent !default;
$table-th-font-weight: null !default;
$table-striped-color: $table-color !default;
$table-striped-bg-factor: .035 !default; // OUDS mod: equivalent to `$gray-200`
$table-striped-bg: rgba(var(--#{$prefix}black-rgb), var(--#{$prefix}table-striped-bg-factor)) !default; // OUDS mod: instead of `rgba(var(--#{$prefix}emphasis-color-rgb), $table-striped-bg-factor)`
$table-variant-striped-bg-factor: .08 !default; // OUDS mod
$table-active-color: $table-color !default;
$table-active-bg-factor: .135 !default; // OUDS mod
$table-active-bg: rgba(var(--#{$prefix}emphasis-color-rgb), var(--#{$prefix}table-active-bg-factor)) !default; // OUDS mod: instead of `rgba(var(--#{$prefix}emphasis-color-rgb), $table-active-bg-factor)`
$table-variant-active-bg-factor: .4 !default; // OUDS mod
$table-hover-color: $table-color !default;
$table-hover-bg-factor: .065 !default; // OUDS mod
$table-hover-bg: rgba(var(--#{$prefix}emphasis-color-rgb), var(--#{$prefix}table-hover-bg-factor)) !default; // OUDS mod: instead of `rgba(var(--#{$prefix}emphasis-color-rgb), $table-hover-bg-factor)`
$table-variant-hover-bg-factor: .2 !default; // OUDS mod
$table-border-factor: .4 !default; // OUDS mod
// stylelint-disable-next-line function-disallowed-list
$table-border-width: calc(var(--#{$prefix}border-width) * .5) !default; // OUDS mod
$table-border-color: var(--#{$prefix}color-border-default) !default; // OUDS mod: instead of `var(--#{$prefix}border-color)`
$table-striped-order: odd !default;
$table-striped-columns-order: even !default;
$table-group-separator-color: currentcolor !default;
$table-caption-color: var(--#{$prefix}caption-color, var(--#{$prefix}emphasis-color)) !default; // OUDS mod: instead of `var(--#{$prefix}secondary-color)`
$table-caption-padding-y: .75rem !default; // OUDS mod
$table-bg-scale: -60% !default;
// scss-docs-end table-variables
// scss-docs-start table-loop
$table-variants: (
"primary": shift-color($primary, $table-bg-scale),
"secondary": shift-color($secondary, $table-bg-scale),
"success": shift-color($success, $table-bg-scale),
"info": shift-color($info, $table-bg-scale),
"warning": shift-color($warning, $table-bg-scale),
"danger": shift-color($danger, $table-bg-scale),
"light": $light,
"dark": $dark,
) !default;
// scss-docs-end table-loop
// Buttons + Forms
//
// Shared variables that are reassigned to `$input-` and `$btn-` specific variables.
// scss-docs-start input-btn-variables
// OUDS mod: no `$input-btn-padding-y`
// OUDS mod: no `$input-btn-padding-x`
$input-btn-font-family: null !default;
$input-btn-font-size: $font-size-base !default;
$input-btn-line-height: 1.25 !default;
$input-btn-focus-width: $focus-visible-outer-offset !default; // OUDS mod: instead of `$focus-ring-width`
// OUDS mod: no `$input-btn-focus-color-opacity`
// OUDS mod: no `$input-btn-focus-color`
// OUDS mod: no `$input-btn-focus-blur`
// OUDS mod: deprecated in OUDS Web, kept for Bootstrap compatibility
// fusv-disable
$input-btn-focus-box-shadow: $focus-ring-box-shadow !default;
// fusv-enable
// End mod
// OUDS mod: no $input-btn-padding-y-sm
$input-btn-padding-x-sm: $spacer * .5 !default;
$input-btn-font-size-sm: $font-size-sm !default;
$input-btn-padding-y-lg: .8125rem !default;
$input-btn-padding-x-lg: $spacer !default;
$input-btn-font-size-lg: $font-size-lg !default;
// OUDS mod: no `$input-btn-border-width`
// scss-docs-end input-btn-variables
// Buttons
//
// For each of OUDS Web's buttons, define text, background, and border color.
// scss-docs-start btn-variables
$btn-color: $ouds-button-color-content-default-enabled !default; // OUDS mod: instead of `var(--#{$prefix}body-color)`
$btn-padding-y: $ouds-button-space-padding-block !default; // OUDS mod: instead of $input-btn-padding-y
$btn-padding-x: $ouds-button-space-padding-inline-icon-none !default; // OUDS mod: instead of $input-btn-padding-x
// OUDS mod: no $btn-font-family
// OUDS mod: no `$btn-font-size` which is defined within the font size tokens
// OUDS mod: no `$btn-line-height` which is defined within the font size tokens
$btn-white-space: null !default; // Set to `nowrap` to prevent text wrapping
// OUDS mod: no $btn-padding-y-sm
// OUDS mod: no $btn-padding-x-sm
// OUDS mod: no $btn-font-size-sm
// OUDS mod: no $btn-padding-y-lg
// OUDS mod: no $btn-padding-x-lg
// OUDS mod: no $btn-font-size-lg
$btn-border-width: $ouds-button-border-width-default !default; // OUDS mod: instead of $input-btn-border-width
$btn-font-weight: $font-weight-bold !default;
// OUDS mod: no $btn-box-shadow
$btn-focus-width: $input-btn-focus-width !default;
$btn-focus-box-shadow: 0 0 0 $btn-focus-width $white !default;
// OUDS mod: no $btn-disabled-opacity
$btn-active-box-shadow: null !default;
// OUDS mod: no $btn-link-color
// OUDS mod: no $btn-link-hover-color
// OUDS mod: no $btn-link-disabled-color
// OUDS mod: no `$btn-link-focus-shadow-rgb`
// Allows for customizing button radius independently from global border radius
$btn-border-radius: $ouds-button-border-radius !default; // OUDS mod: instead of var(--#{$prefix}border-radius)
// OUDS mod: no $btn-border-radius-sm: var(--#{$prefix}border-radius-sm) !default;
// OUDS mod: no $btn-border-radius-lg: var(--#{$prefix}border-radius-lg) !default;
$btn-transition: $transition-focus !default; // OUDS mod
// scss-docs-end btn-variables
// OUDS mod: icon button
$btn-icon-padding-x: subtract($ouds-button-space-padding-inline-icon-start, var(--#{$prefix}border-width)) !default;
// Forms
// scss-docs-start form-text-variables
$form-text-margin-top: .4375rem !default; // OUDS mod
$form-text-font-size: null !default; // OUDS mod: instead of `$small-font-size`
$form-text-font-style: null !default;
$form-text-font-weight: $font-weight-bold !default; // OUDS mod: instead of `null`
$form-text-line-height: $line-height-sm !default; // OUDS mod
$form-text-color: var(--#{$prefix}secondary-color) !default;
// scss-docs-end form-text-variables
// scss-docs-start form-label-variables
$form-label-margin-bottom: .5rem !default; // OUDS mod
$form-label-font-size: null !default;
$form-label-font-style: null !default;
$form-label-font-weight: null !default;
$form-label-color: null !default;
$form-label-disabled-color: var(--#{$prefix}color-content-disabled) !default; // OUDS mod
$form-label-required-margin-left: .1875rem !default; // OUDS mod
$form-label-required-color: var(--#{$prefix}primary) !default; // OUDS mod
// scss-docs-end form-label-variables
// scss-docs-start form-helper-variables
$form-helper-size: 1.25rem !default; // OUDS mod
$form-helper-color: var(--#{$prefix}info) !default; // OUDS mod
$form-helper-bg: var(--#{$prefix}highlight-color) !default; // OUDS mod
$form-helper-icon: escape-svg($helper-icon) !default; // OUDS mod
$form-helper-label-margin-bottom: $form-label-margin-bottom - divide(($form-helper-size - 1rem), 2) !default; // OUDS mod
// scss-docs-end form-helper-variables
// scss-docs-start form-input-variables
$input-padding-y: .5rem !default; // OUDS mod: instead of $input-btn-padding-y (temporary value waiting for input component)
$input-padding-x: $spacer * .5 !default;
$input-font-family: $input-btn-font-family !default;
$input-font-size: $input-btn-font-size !default;
$input-font-weight: $font-weight-bold !default;