sdga-ui 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.editorconfig +23 -23
- package/.github/workflows/publish.yml +38 -33
- package/.prettierignore +73 -73
- package/.prettierrc +17 -17
- package/LICENSE +21 -21
- package/README.md +167 -167
- package/fonts/IBM_Plex_Sans_Arabic/OFL.txt +93 -93
- package/package.json +51 -47
- package/theme/_fonts.scss +58 -58
- package/theme/_functions.scss +11 -11
- package/theme/_variables.scss +50 -50
- package/theme/components/_accordion.scss +35 -35
- package/theme/components/_alerts.scss +11 -11
- package/theme/components/_badges.scss +8 -8
- package/theme/components/_breadcrumb.scss +13 -13
- package/theme/components/_buttons.scss +270 -270
- package/theme/components/_cards.scss +21 -21
- package/theme/components/_carousel.scss +33 -33
- package/theme/components/_content.scss +211 -211
- package/theme/components/_dropdowns.scss +45 -45
- package/theme/components/_forms-check.scss +124 -124
- package/theme/components/_forms-floating.scss +17 -17
- package/theme/components/_forms-inputs.scss +70 -70
- package/theme/components/_forms-range.scss +26 -26
- package/theme/components/_forms-select.scss +47 -47
- package/theme/components/_forms-switch.scss +63 -63
- package/theme/components/_forms-validation.scss +16 -16
- package/theme/components/_forms.scss +14 -14
- package/theme/components/_list-group.scss +26 -26
- package/theme/components/_modals.scss +42 -42
- package/theme/components/_navbar.scss +40 -40
- package/theme/components/_navigation.scss +151 -151
- package/theme/components/_offcanvas.scss +15 -15
- package/theme/components/_overlays.scss +112 -112
- package/theme/components/_pagination.scss +39 -39
- package/theme/components/_popovers.scss +26 -26
- package/theme/components/_progress.scss +11 -11
- package/theme/components/_spinners.scss +11 -11
- package/theme/components/_tables.scss +47 -47
- package/theme/components/_toasts.scss +16 -16
- package/theme/components/_tooltips.scss +15 -15
- package/theme/config/_base.scss +111 -111
- package/theme/config/_colors.scss +303 -303
- package/theme/config/_effects.scss +227 -227
- package/theme/config/_radius.scss +78 -78
- package/theme/config/_spacing.scss +155 -155
- package/theme/config/_typography.scss +118 -118
- package/theme/customizations/_alerts.scss +242 -242
- package/theme/customizations/_badges.scss +15 -15
- package/theme/customizations/_buttons.scss +209 -209
- package/theme/customizations/_cards.scss +117 -117
- package/theme/customizations/_forms-check.scss +278 -278
- package/theme/customizations/_forms-inputs.scss +9 -9
- package/theme/customizations/_forms-switch.scss +91 -91
- package/theme/customizations/_forms.scss +5 -5
- package/theme/customizations/_global.scss +25 -25
- package/theme/customizations/_links.scss +46 -46
- package/theme/customizations/_tables.scss +67 -67
- package/theme/customizations/_toasts.scss +221 -221
- package/theme/customizations/_utilities.scss +138 -138
- package/theme/dga-ui.scss +28 -28
|
@@ -1,156 +1,156 @@
|
|
|
1
|
-
// Bootstrap 5.3 - Spacing Variables
|
|
2
|
-
// Customized with extended spacing scale, width utilities, and semantic tokens
|
|
3
|
-
|
|
4
|
-
// ============================================
|
|
5
|
-
// SPACING SCALE
|
|
6
|
-
// ============================================
|
|
7
|
-
|
|
8
|
-
// Base spacer unit
|
|
9
|
-
$spacer: 1rem;
|
|
10
|
-
|
|
11
|
-
// Bootstrap spacers map (0-10)
|
|
12
|
-
$spacers: (
|
|
13
|
-
0: 0,
|
|
14
|
-
1: $spacer * 0.25, // 4px
|
|
15
|
-
2: $spacer * 0.5, // 8px
|
|
16
|
-
3: $spacer * 0.75, // 12px
|
|
17
|
-
4: $spacer, // 16px
|
|
18
|
-
5: $spacer * 1.5, // 24px
|
|
19
|
-
6: $spacer * 2, // 32px
|
|
20
|
-
7: $spacer * 2.5, // 40px
|
|
21
|
-
8: $spacer * 3, // 48px
|
|
22
|
-
9: $spacer * 4, // 64px
|
|
23
|
-
10: $spacer * 5 // 80px
|
|
24
|
-
);
|
|
25
|
-
|
|
26
|
-
// Extended spacing scale for custom utilities
|
|
27
|
-
$spacing-scale: (
|
|
28
|
-
0: 0rem,
|
|
29
|
-
0-5: 0.125rem, // 2px
|
|
30
|
-
1: 0.25rem, // 4px
|
|
31
|
-
2: 0.5rem, // 8px
|
|
32
|
-
3: 0.75rem, // 12px
|
|
33
|
-
4: 1rem, // 16px
|
|
34
|
-
5: 1.25rem, // 20px
|
|
35
|
-
6: 1.5rem, // 24px
|
|
36
|
-
8: 2rem, // 32px
|
|
37
|
-
10: 2.5rem, // 40px
|
|
38
|
-
12: 3rem, // 48px
|
|
39
|
-
16: 4rem, // 64px
|
|
40
|
-
20: 5rem, // 80px
|
|
41
|
-
24: 6rem, // 96px
|
|
42
|
-
32: 8rem, // 128px
|
|
43
|
-
40: 10rem, // 160px
|
|
44
|
-
48: 12rem, // 192px
|
|
45
|
-
56: 14rem, // 224px
|
|
46
|
-
64: 16rem // 256px
|
|
47
|
-
);
|
|
48
|
-
|
|
49
|
-
// ============================================
|
|
50
|
-
// SEMANTIC SPACING TOKENS
|
|
51
|
-
// ============================================
|
|
52
|
-
|
|
53
|
-
$spacing-tokens: (
|
|
54
|
-
spacing-none: 0rem,
|
|
55
|
-
spacing-xxs: 0.125rem,
|
|
56
|
-
spacing-xs: 0.25rem,
|
|
57
|
-
spacing-sm: 0.375rem,
|
|
58
|
-
spacing-md: 0.5rem,
|
|
59
|
-
spacing-lg: 0.75rem,
|
|
60
|
-
spacing-xl: 1rem,
|
|
61
|
-
spacing-2xl: 1.25rem,
|
|
62
|
-
spacing-3xl: 1.5rem,
|
|
63
|
-
spacing-4xl: 2rem,
|
|
64
|
-
spacing-5xl: 2.5rem,
|
|
65
|
-
spacing-6xl: 3rem,
|
|
66
|
-
spacing-7xl: 4rem,
|
|
67
|
-
spacing-8xl: 5rem,
|
|
68
|
-
spacing-9xl: 6rem,
|
|
69
|
-
spacing-10xl: 8rem,
|
|
70
|
-
spacing-11xl: 10rem
|
|
71
|
-
);
|
|
72
|
-
|
|
73
|
-
// ============================================
|
|
74
|
-
// WIDTH SCALE
|
|
75
|
-
// ============================================
|
|
76
|
-
|
|
77
|
-
$width-scale: (
|
|
78
|
-
width-xxs: 20rem,
|
|
79
|
-
width-xs: 24rem,
|
|
80
|
-
width-sm: 30rem,
|
|
81
|
-
width-md: 35rem,
|
|
82
|
-
width-lg: 40rem,
|
|
83
|
-
width-xl: 48rem,
|
|
84
|
-
width-2xl: 64rem,
|
|
85
|
-
width-3xl: 80rem,
|
|
86
|
-
width-4xl: 90rem,
|
|
87
|
-
width-5xl: 100rem,
|
|
88
|
-
width-6xl: 120rem
|
|
89
|
-
);
|
|
90
|
-
|
|
91
|
-
// ============================================
|
|
92
|
-
// CONTAINER CONFIGURATION
|
|
93
|
-
// ============================================
|
|
94
|
-
|
|
95
|
-
$container-padding-mobile: 1rem;
|
|
96
|
-
$container-padding-desktop: 2rem;
|
|
97
|
-
$container-max-width-desktop: 80rem;
|
|
98
|
-
|
|
99
|
-
// ============================================
|
|
100
|
-
// PARAGRAPH CONFIGURATION
|
|
101
|
-
// ============================================
|
|
102
|
-
|
|
103
|
-
$paragraph-max-width: 45rem;
|
|
104
|
-
|
|
105
|
-
// ============================================
|
|
106
|
-
// UTILITY CLASSES GENERATION
|
|
107
|
-
// ============================================
|
|
108
|
-
|
|
109
|
-
// Generate extended spacing utilities
|
|
110
|
-
@each $key, $value in $spacing-scale {
|
|
111
|
-
// Margin utilities
|
|
112
|
-
.m-#{$key} { margin: $value !important; }
|
|
113
|
-
.mt-#{$key} { margin-top: $value !important; }
|
|
114
|
-
.mb-#{$key} { margin-bottom: $value !important; }
|
|
115
|
-
.ml-#{$key} { margin-left: $value !important; }
|
|
116
|
-
.mr-#{$key} { margin-right: $value !important; }
|
|
117
|
-
.mx-#{$key} { margin-inline: $value !important; }
|
|
118
|
-
.my-#{$key} { margin-block: $value !important; }
|
|
119
|
-
|
|
120
|
-
// Padding utilities
|
|
121
|
-
.p-#{$key} { padding: $value !important; }
|
|
122
|
-
.pt-#{$key} { padding-top: $value !important; }
|
|
123
|
-
.pb-#{$key} { padding-bottom: $value !important; }
|
|
124
|
-
.pl-#{$key} { padding-left: $value !important; }
|
|
125
|
-
.pr-#{$key} { padding-right: $value !important; }
|
|
126
|
-
.px-#{$key} { padding-inline: $value !important; }
|
|
127
|
-
.py-#{$key} { padding-block: $value !important; }
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
// Generate semantic spacing token utilities
|
|
131
|
-
@each $name, $space in $spacing-tokens {
|
|
132
|
-
.#{$name} { margin: $space !important; }
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
// Generate width utilities
|
|
136
|
-
@each $name, $value in $width-scale {
|
|
137
|
-
.#{$name} { max-width: $value !important; }
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
// Container utility class
|
|
141
|
-
.container-platform {
|
|
142
|
-
padding-left: $container-padding-mobile;
|
|
143
|
-
padding-right: $container-padding-mobile;
|
|
144
|
-
|
|
145
|
-
@media (min-width: 992px) {
|
|
146
|
-
padding-left: $container-padding-desktop;
|
|
147
|
-
padding-right: $container-padding-desktop;
|
|
148
|
-
max-width: $container-max-width-desktop;
|
|
149
|
-
margin: 0 auto;
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
// Paragraph max-width utility
|
|
154
|
-
.paragraph-max {
|
|
155
|
-
max-width: $paragraph-max-width;
|
|
1
|
+
// Bootstrap 5.3 - Spacing Variables
|
|
2
|
+
// Customized with extended spacing scale, width utilities, and semantic tokens
|
|
3
|
+
|
|
4
|
+
// ============================================
|
|
5
|
+
// SPACING SCALE
|
|
6
|
+
// ============================================
|
|
7
|
+
|
|
8
|
+
// Base spacer unit
|
|
9
|
+
$spacer: 1rem;
|
|
10
|
+
|
|
11
|
+
// Bootstrap spacers map (0-10)
|
|
12
|
+
$spacers: (
|
|
13
|
+
0: 0,
|
|
14
|
+
1: $spacer * 0.25, // 4px
|
|
15
|
+
2: $spacer * 0.5, // 8px
|
|
16
|
+
3: $spacer * 0.75, // 12px
|
|
17
|
+
4: $spacer, // 16px
|
|
18
|
+
5: $spacer * 1.5, // 24px
|
|
19
|
+
6: $spacer * 2, // 32px
|
|
20
|
+
7: $spacer * 2.5, // 40px
|
|
21
|
+
8: $spacer * 3, // 48px
|
|
22
|
+
9: $spacer * 4, // 64px
|
|
23
|
+
10: $spacer * 5 // 80px
|
|
24
|
+
);
|
|
25
|
+
|
|
26
|
+
// Extended spacing scale for custom utilities
|
|
27
|
+
$spacing-scale: (
|
|
28
|
+
0: 0rem,
|
|
29
|
+
0-5: 0.125rem, // 2px
|
|
30
|
+
1: 0.25rem, // 4px
|
|
31
|
+
2: 0.5rem, // 8px
|
|
32
|
+
3: 0.75rem, // 12px
|
|
33
|
+
4: 1rem, // 16px
|
|
34
|
+
5: 1.25rem, // 20px
|
|
35
|
+
6: 1.5rem, // 24px
|
|
36
|
+
8: 2rem, // 32px
|
|
37
|
+
10: 2.5rem, // 40px
|
|
38
|
+
12: 3rem, // 48px
|
|
39
|
+
16: 4rem, // 64px
|
|
40
|
+
20: 5rem, // 80px
|
|
41
|
+
24: 6rem, // 96px
|
|
42
|
+
32: 8rem, // 128px
|
|
43
|
+
40: 10rem, // 160px
|
|
44
|
+
48: 12rem, // 192px
|
|
45
|
+
56: 14rem, // 224px
|
|
46
|
+
64: 16rem // 256px
|
|
47
|
+
);
|
|
48
|
+
|
|
49
|
+
// ============================================
|
|
50
|
+
// SEMANTIC SPACING TOKENS
|
|
51
|
+
// ============================================
|
|
52
|
+
|
|
53
|
+
$spacing-tokens: (
|
|
54
|
+
spacing-none: 0rem,
|
|
55
|
+
spacing-xxs: 0.125rem,
|
|
56
|
+
spacing-xs: 0.25rem,
|
|
57
|
+
spacing-sm: 0.375rem,
|
|
58
|
+
spacing-md: 0.5rem,
|
|
59
|
+
spacing-lg: 0.75rem,
|
|
60
|
+
spacing-xl: 1rem,
|
|
61
|
+
spacing-2xl: 1.25rem,
|
|
62
|
+
spacing-3xl: 1.5rem,
|
|
63
|
+
spacing-4xl: 2rem,
|
|
64
|
+
spacing-5xl: 2.5rem,
|
|
65
|
+
spacing-6xl: 3rem,
|
|
66
|
+
spacing-7xl: 4rem,
|
|
67
|
+
spacing-8xl: 5rem,
|
|
68
|
+
spacing-9xl: 6rem,
|
|
69
|
+
spacing-10xl: 8rem,
|
|
70
|
+
spacing-11xl: 10rem
|
|
71
|
+
);
|
|
72
|
+
|
|
73
|
+
// ============================================
|
|
74
|
+
// WIDTH SCALE
|
|
75
|
+
// ============================================
|
|
76
|
+
|
|
77
|
+
$width-scale: (
|
|
78
|
+
width-xxs: 20rem,
|
|
79
|
+
width-xs: 24rem,
|
|
80
|
+
width-sm: 30rem,
|
|
81
|
+
width-md: 35rem,
|
|
82
|
+
width-lg: 40rem,
|
|
83
|
+
width-xl: 48rem,
|
|
84
|
+
width-2xl: 64rem,
|
|
85
|
+
width-3xl: 80rem,
|
|
86
|
+
width-4xl: 90rem,
|
|
87
|
+
width-5xl: 100rem,
|
|
88
|
+
width-6xl: 120rem
|
|
89
|
+
);
|
|
90
|
+
|
|
91
|
+
// ============================================
|
|
92
|
+
// CONTAINER CONFIGURATION
|
|
93
|
+
// ============================================
|
|
94
|
+
|
|
95
|
+
$container-padding-mobile: 1rem;
|
|
96
|
+
$container-padding-desktop: 2rem;
|
|
97
|
+
$container-max-width-desktop: 80rem;
|
|
98
|
+
|
|
99
|
+
// ============================================
|
|
100
|
+
// PARAGRAPH CONFIGURATION
|
|
101
|
+
// ============================================
|
|
102
|
+
|
|
103
|
+
$paragraph-max-width: 45rem;
|
|
104
|
+
|
|
105
|
+
// ============================================
|
|
106
|
+
// UTILITY CLASSES GENERATION
|
|
107
|
+
// ============================================
|
|
108
|
+
|
|
109
|
+
// Generate extended spacing utilities
|
|
110
|
+
@each $key, $value in $spacing-scale {
|
|
111
|
+
// Margin utilities
|
|
112
|
+
.m-#{$key} { margin: $value !important; }
|
|
113
|
+
.mt-#{$key} { margin-top: $value !important; }
|
|
114
|
+
.mb-#{$key} { margin-bottom: $value !important; }
|
|
115
|
+
.ml-#{$key} { margin-left: $value !important; }
|
|
116
|
+
.mr-#{$key} { margin-right: $value !important; }
|
|
117
|
+
.mx-#{$key} { margin-inline: $value !important; }
|
|
118
|
+
.my-#{$key} { margin-block: $value !important; }
|
|
119
|
+
|
|
120
|
+
// Padding utilities
|
|
121
|
+
.p-#{$key} { padding: $value !important; }
|
|
122
|
+
.pt-#{$key} { padding-top: $value !important; }
|
|
123
|
+
.pb-#{$key} { padding-bottom: $value !important; }
|
|
124
|
+
.pl-#{$key} { padding-left: $value !important; }
|
|
125
|
+
.pr-#{$key} { padding-right: $value !important; }
|
|
126
|
+
.px-#{$key} { padding-inline: $value !important; }
|
|
127
|
+
.py-#{$key} { padding-block: $value !important; }
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
// Generate semantic spacing token utilities
|
|
131
|
+
@each $name, $space in $spacing-tokens {
|
|
132
|
+
.#{$name} { margin: $space !important; }
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
// Generate width utilities
|
|
136
|
+
@each $name, $value in $width-scale {
|
|
137
|
+
.#{$name} { max-width: $value !important; }
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
// Container utility class
|
|
141
|
+
.container-platform {
|
|
142
|
+
padding-left: $container-padding-mobile;
|
|
143
|
+
padding-right: $container-padding-mobile;
|
|
144
|
+
|
|
145
|
+
@media (min-width: 992px) {
|
|
146
|
+
padding-left: $container-padding-desktop;
|
|
147
|
+
padding-right: $container-padding-desktop;
|
|
148
|
+
max-width: $container-max-width-desktop;
|
|
149
|
+
margin: 0 auto;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
// Paragraph max-width utility
|
|
154
|
+
.paragraph-max {
|
|
155
|
+
max-width: $paragraph-max-width;
|
|
156
156
|
}
|
|
@@ -1,118 +1,118 @@
|
|
|
1
|
-
// Bootstrap 5.3 - Typography Variables
|
|
2
|
-
// Customized with SDGA Typography System (IBM Plex Sans Arabic)
|
|
3
|
-
// Responsive typography with breakpoint-specific sizes
|
|
4
|
-
|
|
5
|
-
// ============================================
|
|
6
|
-
// TYPOGRAPHY - DESKTOP (Default)
|
|
7
|
-
// ============================================
|
|
8
|
-
|
|
9
|
-
// Font Family
|
|
10
|
-
$font-family-base: 'IBM Plex Sans Arabic';
|
|
11
|
-
|
|
12
|
-
// Font Sizes - Desktop (1024px+)
|
|
13
|
-
$font-size-base: 1rem; // 16px
|
|
14
|
-
$font-size-sm: 0.875rem; // 14px
|
|
15
|
-
$font-size-lg: 1.125rem; // 18px
|
|
16
|
-
|
|
17
|
-
// Font Weights
|
|
18
|
-
$font-weight-lighter: 300;
|
|
19
|
-
$font-weight-light: 300;
|
|
20
|
-
$font-weight-base: 400;
|
|
21
|
-
$font-weight-medium: 500;
|
|
22
|
-
$font-weight-semibold: 600;
|
|
23
|
-
$font-weight-bold: 700;
|
|
24
|
-
$font-weight-bolder: 700;
|
|
25
|
-
|
|
26
|
-
// Line Heights
|
|
27
|
-
$line-height-base: 1.5;
|
|
28
|
-
$line-height-sm: 1.43;
|
|
29
|
-
$line-height-lg: 1.56;
|
|
30
|
-
|
|
31
|
-
// Headings - Desktop
|
|
32
|
-
$headings-font-family: $font-family-base;
|
|
33
|
-
$headings-font-weight: $font-weight-semibold;
|
|
34
|
-
$headings-line-height: $line-height-base;
|
|
35
|
-
$headings-color: null;
|
|
36
|
-
|
|
37
|
-
// Heading Sizes - Desktop
|
|
38
|
-
$h1-font-size: 3rem; // 48px
|
|
39
|
-
$h2-font-size: 2.25rem; // 36px
|
|
40
|
-
$h3-font-size: 1.875rem; // 30px
|
|
41
|
-
$h4-font-size: 1.5rem; // 24px
|
|
42
|
-
$h5-font-size: 1.125rem; // 18px
|
|
43
|
-
$h6-font-size: 1rem; // 16px
|
|
44
|
-
|
|
45
|
-
// Display Headings - Desktop
|
|
46
|
-
$display-font-sizes: (
|
|
47
|
-
1: 4.5rem, // 72px
|
|
48
|
-
2: 3.75rem, // 60px
|
|
49
|
-
3: 3rem, // 48px
|
|
50
|
-
4: 2.25rem, // 36px
|
|
51
|
-
5: 1.875rem, // 30px
|
|
52
|
-
6: 1.5rem // 24px
|
|
53
|
-
);
|
|
54
|
-
|
|
55
|
-
$display-font-weight: 700;
|
|
56
|
-
$display-line-height: 1.25;
|
|
57
|
-
|
|
58
|
-
// ============================================
|
|
59
|
-
// RESPONSIVE CONFIGURATION
|
|
60
|
-
// ============================================
|
|
61
|
-
|
|
62
|
-
// Enable responsive font sizes
|
|
63
|
-
$enable-rfs: true;
|
|
64
|
-
|
|
65
|
-
// Small text
|
|
66
|
-
$small-font-size: 0.875rem;
|
|
67
|
-
$sub-sup-font-size: 0.75rem;
|
|
68
|
-
|
|
69
|
-
// Paragraph
|
|
70
|
-
$paragraph-margin-bottom: 1rem;
|
|
71
|
-
|
|
72
|
-
// Lead text
|
|
73
|
-
$lead-font-size: 1.25rem;
|
|
74
|
-
$lead-font-weight: 300;
|
|
75
|
-
|
|
76
|
-
// ============================================
|
|
77
|
-
// TABLET SIZES (768px - 1023px)
|
|
78
|
-
// Will be applied via media queries in bootstrap.scss
|
|
79
|
-
// ============================================
|
|
80
|
-
$h1-font-size-tablet: 2.5rem; // 40px
|
|
81
|
-
$h2-font-size-tablet: 2rem; // 32px
|
|
82
|
-
$h3-font-size-tablet: 1.75rem; // 28px
|
|
83
|
-
$h4-font-size-tablet: 1.375rem; // 22px
|
|
84
|
-
$h5-font-size-tablet: 1.0625rem; // 17px
|
|
85
|
-
$h6-font-size-tablet: 0.9375rem; // 15px
|
|
86
|
-
|
|
87
|
-
$display-1-tablet: 3.75rem; // 60px
|
|
88
|
-
$display-2-tablet: 3rem; // 48px
|
|
89
|
-
$display-3-tablet: 2.5rem; // 40px
|
|
90
|
-
$display-4-tablet: 2rem; // 32px
|
|
91
|
-
$display-5-tablet: 1.75rem; // 28px
|
|
92
|
-
$display-6-tablet: 1.375rem; // 22px
|
|
93
|
-
|
|
94
|
-
$font-size-base-tablet: 0.9375rem; // 15px
|
|
95
|
-
$font-size-sm-tablet: 0.8125rem; // 13px
|
|
96
|
-
$font-size-lg-tablet: 1.0625rem; // 17px
|
|
97
|
-
|
|
98
|
-
// ============================================
|
|
99
|
-
// MOBILE SIZES (below 768px)
|
|
100
|
-
// Will be applied via media queries in bootstrap.scss
|
|
101
|
-
// ============================================
|
|
102
|
-
$h1-font-size-mobile: 2rem; // 32px
|
|
103
|
-
$h2-font-size-mobile: 1.75rem; // 28px
|
|
104
|
-
$h3-font-size-mobile: 1.5rem; // 24px
|
|
105
|
-
$h4-font-size-mobile: 1.25rem; // 20px
|
|
106
|
-
$h5-font-size-mobile: 1rem; // 16px
|
|
107
|
-
$h6-font-size-mobile: 0.875rem; // 14px
|
|
108
|
-
|
|
109
|
-
$display-1-mobile: 3rem; // 48px
|
|
110
|
-
$display-2-mobile: 2.5rem; // 40px
|
|
111
|
-
$display-3-mobile: 2rem; // 32px
|
|
112
|
-
$display-4-mobile: 1.75rem; // 28px
|
|
113
|
-
$display-5-mobile: 1.5rem; // 24px
|
|
114
|
-
$display-6-mobile: 1.25rem; // 20px
|
|
115
|
-
|
|
116
|
-
$font-size-base-mobile: 0.875rem; // 14px
|
|
117
|
-
$font-size-sm-mobile: 0.75rem; // 12px
|
|
118
|
-
$font-size-lg-mobile: 1rem; // 16px
|
|
1
|
+
// Bootstrap 5.3 - Typography Variables
|
|
2
|
+
// Customized with SDGA Typography System (IBM Plex Sans Arabic)
|
|
3
|
+
// Responsive typography with breakpoint-specific sizes
|
|
4
|
+
|
|
5
|
+
// ============================================
|
|
6
|
+
// TYPOGRAPHY - DESKTOP (Default)
|
|
7
|
+
// ============================================
|
|
8
|
+
|
|
9
|
+
// Font Family
|
|
10
|
+
$font-family-base: 'IBM Plex Sans Arabic';
|
|
11
|
+
|
|
12
|
+
// Font Sizes - Desktop (1024px+)
|
|
13
|
+
$font-size-base: 1rem; // 16px
|
|
14
|
+
$font-size-sm: 0.875rem; // 14px
|
|
15
|
+
$font-size-lg: 1.125rem; // 18px
|
|
16
|
+
|
|
17
|
+
// Font Weights
|
|
18
|
+
$font-weight-lighter: 300;
|
|
19
|
+
$font-weight-light: 300;
|
|
20
|
+
$font-weight-base: 400;
|
|
21
|
+
$font-weight-medium: 500;
|
|
22
|
+
$font-weight-semibold: 600;
|
|
23
|
+
$font-weight-bold: 700;
|
|
24
|
+
$font-weight-bolder: 700;
|
|
25
|
+
|
|
26
|
+
// Line Heights
|
|
27
|
+
$line-height-base: 1.5;
|
|
28
|
+
$line-height-sm: 1.43;
|
|
29
|
+
$line-height-lg: 1.56;
|
|
30
|
+
|
|
31
|
+
// Headings - Desktop
|
|
32
|
+
$headings-font-family: $font-family-base;
|
|
33
|
+
$headings-font-weight: $font-weight-semibold;
|
|
34
|
+
$headings-line-height: $line-height-base;
|
|
35
|
+
$headings-color: null;
|
|
36
|
+
|
|
37
|
+
// Heading Sizes - Desktop
|
|
38
|
+
$h1-font-size: 3rem; // 48px
|
|
39
|
+
$h2-font-size: 2.25rem; // 36px
|
|
40
|
+
$h3-font-size: 1.875rem; // 30px
|
|
41
|
+
$h4-font-size: 1.5rem; // 24px
|
|
42
|
+
$h5-font-size: 1.125rem; // 18px
|
|
43
|
+
$h6-font-size: 1rem; // 16px
|
|
44
|
+
|
|
45
|
+
// Display Headings - Desktop
|
|
46
|
+
$display-font-sizes: (
|
|
47
|
+
1: 4.5rem, // 72px
|
|
48
|
+
2: 3.75rem, // 60px
|
|
49
|
+
3: 3rem, // 48px
|
|
50
|
+
4: 2.25rem, // 36px
|
|
51
|
+
5: 1.875rem, // 30px
|
|
52
|
+
6: 1.5rem // 24px
|
|
53
|
+
);
|
|
54
|
+
|
|
55
|
+
$display-font-weight: 700;
|
|
56
|
+
$display-line-height: 1.25;
|
|
57
|
+
|
|
58
|
+
// ============================================
|
|
59
|
+
// RESPONSIVE CONFIGURATION
|
|
60
|
+
// ============================================
|
|
61
|
+
|
|
62
|
+
// Enable responsive font sizes
|
|
63
|
+
$enable-rfs: true;
|
|
64
|
+
|
|
65
|
+
// Small text
|
|
66
|
+
$small-font-size: 0.875rem;
|
|
67
|
+
$sub-sup-font-size: 0.75rem;
|
|
68
|
+
|
|
69
|
+
// Paragraph
|
|
70
|
+
$paragraph-margin-bottom: 1rem;
|
|
71
|
+
|
|
72
|
+
// Lead text
|
|
73
|
+
$lead-font-size: 1.25rem;
|
|
74
|
+
$lead-font-weight: 300;
|
|
75
|
+
|
|
76
|
+
// ============================================
|
|
77
|
+
// TABLET SIZES (768px - 1023px)
|
|
78
|
+
// Will be applied via media queries in bootstrap.scss
|
|
79
|
+
// ============================================
|
|
80
|
+
$h1-font-size-tablet: 2.5rem; // 40px
|
|
81
|
+
$h2-font-size-tablet: 2rem; // 32px
|
|
82
|
+
$h3-font-size-tablet: 1.75rem; // 28px
|
|
83
|
+
$h4-font-size-tablet: 1.375rem; // 22px
|
|
84
|
+
$h5-font-size-tablet: 1.0625rem; // 17px
|
|
85
|
+
$h6-font-size-tablet: 0.9375rem; // 15px
|
|
86
|
+
|
|
87
|
+
$display-1-tablet: 3.75rem; // 60px
|
|
88
|
+
$display-2-tablet: 3rem; // 48px
|
|
89
|
+
$display-3-tablet: 2.5rem; // 40px
|
|
90
|
+
$display-4-tablet: 2rem; // 32px
|
|
91
|
+
$display-5-tablet: 1.75rem; // 28px
|
|
92
|
+
$display-6-tablet: 1.375rem; // 22px
|
|
93
|
+
|
|
94
|
+
$font-size-base-tablet: 0.9375rem; // 15px
|
|
95
|
+
$font-size-sm-tablet: 0.8125rem; // 13px
|
|
96
|
+
$font-size-lg-tablet: 1.0625rem; // 17px
|
|
97
|
+
|
|
98
|
+
// ============================================
|
|
99
|
+
// MOBILE SIZES (below 768px)
|
|
100
|
+
// Will be applied via media queries in bootstrap.scss
|
|
101
|
+
// ============================================
|
|
102
|
+
$h1-font-size-mobile: 2rem; // 32px
|
|
103
|
+
$h2-font-size-mobile: 1.75rem; // 28px
|
|
104
|
+
$h3-font-size-mobile: 1.5rem; // 24px
|
|
105
|
+
$h4-font-size-mobile: 1.25rem; // 20px
|
|
106
|
+
$h5-font-size-mobile: 1rem; // 16px
|
|
107
|
+
$h6-font-size-mobile: 0.875rem; // 14px
|
|
108
|
+
|
|
109
|
+
$display-1-mobile: 3rem; // 48px
|
|
110
|
+
$display-2-mobile: 2.5rem; // 40px
|
|
111
|
+
$display-3-mobile: 2rem; // 32px
|
|
112
|
+
$display-4-mobile: 1.75rem; // 28px
|
|
113
|
+
$display-5-mobile: 1.5rem; // 24px
|
|
114
|
+
$display-6-mobile: 1.25rem; // 20px
|
|
115
|
+
|
|
116
|
+
$font-size-base-mobile: 0.875rem; // 14px
|
|
117
|
+
$font-size-sm-mobile: 0.75rem; // 12px
|
|
118
|
+
$font-size-lg-mobile: 1rem; // 16px
|