Diff: STRATO-apps/wordpress_03/app/wp-content/themes/blocksy/inc/dynamic-styles/global/typography.php
Keine Baseline-Datei – Diff nur gegen leer.
1
-
1
+
<?php
2
+
3
+
blocksy_output_font_css([
4
+
'font_value' => blocksy_get_theme_mod(
5
+
'rootTypography',
6
+
blocksy_typography_default_values([
7
+
'family' => 'System Default',
8
+
'variation' => 'n4',
9
+
'size' => '16px',
10
+
'line-height' => '1.65',
11
+
'letter-spacing' => '0em',
12
+
'text-transform' => 'none',
13
+
'text-decoration' => 'none',
14
+
])
15
+
),
16
+
'css' => $css,
17
+
'tablet_css' => $tablet_css,
18
+
'mobile_css' => $mobile_css,
19
+
'selector' => ':root'
20
+
]);
21
+
22
+
blocksy_output_font_css([
23
+
'font_value' => blocksy_get_theme_mod(
24
+
'h1Typography',
25
+
blocksy_typography_default_values([
26
+
'size' => '40px',
27
+
'variation' => 'n7',
28
+
'line-height' => '1.5'
29
+
])
30
+
),
31
+
'css' => $css,
32
+
'tablet_css' => $tablet_css,
33
+
'mobile_css' => $mobile_css,
34
+
'selector' => 'h1'
35
+
]);
36
+
37
+
blocksy_output_font_css([
38
+
'font_value' => blocksy_get_theme_mod(
39
+
'h2Typography',
40
+
blocksy_typography_default_values([
41
+
'size' => '35px',
42
+
'variation' => 'n7',
43
+
'line-height' => '1.5'
44
+
])
45
+
),
46
+
'css' => $css,
47
+
'tablet_css' => $tablet_css,
48
+
'mobile_css' => $mobile_css,
49
+
'selector' => 'h2'
50
+
]);
51
+
52
+
blocksy_output_font_css([
53
+
'font_value' => blocksy_get_theme_mod(
54
+
'h3Typography',
55
+
blocksy_typography_default_values([
56
+
'size' => '30px',
57
+
'variation' => 'n7',
58
+
'line-height' => '1.5'
59
+
])
60
+
),
61
+
'css' => $css,
62
+
'tablet_css' => $tablet_css,
63
+
'mobile_css' => $mobile_css,
64
+
'selector' => 'h3'
65
+
]);
66
+
67
+
blocksy_output_font_css([
68
+
'font_value' => blocksy_get_theme_mod(
69
+
'h4Typography',
70
+
blocksy_typography_default_values([
71
+
'size' => '25px',
72
+
'variation' => 'n7',
73
+
'line-height' => '1.5'
74
+
])
75
+
),
76
+
'css' => $css,
77
+
'tablet_css' => $tablet_css,
78
+
'mobile_css' => $mobile_css,
79
+
'selector' => 'h4'
80
+
]);
81
+
82
+
blocksy_output_font_css([
83
+
'font_value' => blocksy_get_theme_mod(
84
+
'h5Typography',
85
+
blocksy_typography_default_values([
86
+
'size' => '20px',
87
+
'variation' => 'n7',
88
+
'line-height' => '1.5'
89
+
])
90
+
),
91
+
'css' => $css,
92
+
'tablet_css' => $tablet_css,
93
+
'mobile_css' => $mobile_css,
94
+
'selector' => 'h5'
95
+
]);
96
+
97
+
blocksy_output_font_css([
98
+
'font_value' => blocksy_get_theme_mod(
99
+
'h6Typography',
100
+
blocksy_typography_default_values([
101
+
'size' => '16px',
102
+
'variation' => 'n7',
103
+
'line-height' => '1.5'
104
+
])
105
+
),
106
+
'css' => $css,
107
+
'tablet_css' => $tablet_css,
108
+
'mobile_css' => $mobile_css,
109
+
'selector' => 'h6'
110
+
]);
111
+
112
+
blocksy_output_font_css([
113
+
'font_value' => blocksy_get_theme_mod(
114
+
'buttons',
115
+
blocksy_typography_default_values([
116
+
'size' => '15px',
117
+
'variation' => 'n5',
118
+
])
119
+
),
120
+
'css' => $css,
121
+
'tablet_css' => $tablet_css,
122
+
'mobile_css' => $mobile_css,
123
+
'selector' => ':root',
124
+
'prefix' => 'button'
125
+
]);
126
+
127
+
blocksy_output_font_css([
128
+
'font_value' => blocksy_get_theme_mod(
129
+
'quote',
130
+
blocksy_typography_default_values([])
131
+
),
132
+
'css' => $css,
133
+
'tablet_css' => $tablet_css,
134
+
'mobile_css' => $mobile_css,
135
+
'selector' => '.wp-block-quote'
136
+
]);
137
+
138
+
blocksy_output_font_css([
139
+
'font_value' => blocksy_get_theme_mod(
140
+
'pullquote',
141
+
blocksy_typography_default_values([
142
+
'family' => 'Georgia',
143
+
'size' => '25px',
144
+
'variation' => 'n6',
145
+
])
146
+
),
147
+
'css' => $css,
148
+
'tablet_css' => $tablet_css,
149
+
'mobile_css' => $mobile_css,
150
+
'selector' => '.wp-block-pullquote'
151
+
]);
152
+
153
+
blocksy_output_font_css([
154
+
'font_value' => blocksy_get_theme_mod(
155
+
'pre',
156
+
blocksy_typography_default_values([
157
+
'family' => 'monospace',
158
+
'size' => '16px',
159
+
'variation' => 'n4',
160
+
])
161
+
),
162
+
'css' => $css,
163
+
'tablet_css' => $tablet_css,
164
+
'mobile_css' => $mobile_css,
165
+
'selector' => 'pre, code, samp, kbd'
166
+
]);
167
+
168
+
blocksy_output_font_css([
169
+
'font_value' => blocksy_get_theme_mod(
170
+
'figcaption',
171
+
blocksy_typography_default_values([
172
+
'size' => '14px',
173
+
])
174
+
),
175
+
'css' => $css,
176
+
'tablet_css' => $tablet_css,
177
+
'mobile_css' => $mobile_css,
178
+
'selector' => 'figcaption'
179
+
]);
180
+
181
+
blocksy_output_font_css([
182
+
'font_value' => blocksy_get_theme_mod(
183
+
'sidebarWidgetsTitleFont',
184
+
blocksy_typography_default_values([
185
+
'size' => '20px',
186
+
])
187
+
),
188
+
'css' => $css,
189
+
'tablet_css' => $tablet_css,
190
+
'mobile_css' => $mobile_css,
191
+
'selector' => '.ct-sidebar .widget-title'
192
+
]);
193
+
194
+
blocksy_output_font_css([
195
+
'font_value' => blocksy_get_theme_mod(
196
+
'sidebarWidgetsFont',
197
+
blocksy_typography_default_values([
198
+
// 'size' => '18px',
199
+
])
200
+
),
201
+
'css' => $css,
202
+
'tablet_css' => $tablet_css,
203
+
'mobile_css' => $mobile_css,
204
+
'selector' => '.ct-sidebar .ct-widget > *:not(.widget-title)'
205
+
]);
206
+
207
+
blocksy_output_font_css([
208
+
'font_value' => blocksy_get_theme_mod(
209
+
'breadcrumbsFont',
210
+
blocksy_typography_default_values([
211
+
'size' => '12px',
212
+
'variation' => 'n6',
213
+
'text-transform' => 'uppercase',
214
+
])
215
+
),
216
+
'css' => $css,
217
+
'tablet_css' => $tablet_css,
218
+
'mobile_css' => $mobile_css,
219
+
'selector' => '.ct-breadcrumbs'
220
+
]);
221
+