Changeset 52392 for trunk/src/wp-content/themes/twentytwentytwo/theme.json
- Timestamp:
- 12/20/2021 04:48:54 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwentytwo/theme.json
r52375 r52392 146 146 "typography": { 147 147 "font-size": { 148 "gigantic": "clamp(3rem, 6vw, 4rem)", 149 "colossal": "clamp(4rem, 8vw, 6.25rem)" 148 "huge": "clamp(2.25rem, 4vw, 2.75rem)", 149 "gigantic": "clamp(2.75rem, 6vw, 3.25rem)", 150 "colossal": "clamp(3.25rem, 8vw, 6.25rem)" 150 151 }, 151 152 "line-height": { … … 183 184 "fontSizes": [ 184 185 { 185 "name": "Small",186 186 "size": "1rem", 187 187 "slug": "small" 188 188 }, 189 189 { 190 "name": "Normal",191 190 "size": "1.125rem", 192 "slug": "normal" 193 }, 194 { 195 "name": "Medium", 191 "slug": "medium" 192 }, 193 { 196 194 "size": "1.75rem", 197 "slug": "medium" 198 }, 199 { 200 "name": "Large", 195 "slug": "large" 196 }, 197 { 201 198 "size": "clamp(1.75rem, 3vw, 2.25rem)", 202 "slug": "large" 203 }, 204 { 205 "name": "Huge", 206 "size": "clamp(2.5rem, 4vw, 3rem)", 207 "slug": "huge" 199 "slug": "x-large" 208 200 } 209 201 ] … … 225 217 }, 226 218 "typography": { 227 "fontSize": "var(--wp--preset-- typography--font-size--normal)"219 "fontSize": "var(--wp--preset--font-size--medium)" 228 220 } 229 221 }, … … 265 257 "fontFamily": "var(--wp--preset--font-family--system-font)", 266 258 "lineHeight": "var(--wp--custom--typography--line-height--normal)", 267 "fontSize": "var(--wp--preset--font-size-- normal)",259 "fontSize": "var(--wp--preset--font-size--medium)", 268 260 "fontWeight": "normal" 269 261 } … … 296 288 "fontWeight": "300", 297 289 "lineHeight": "var(--wp--custom--typography--line-height--tiny)", 298 "fontSize": "var(--wp-- preset--font-size--huge)"290 "fontSize": "var(--wp--custom--typography--font-size--huge)" 299 291 } 300 292 }, … … 304 296 "fontWeight": "300", 305 297 "lineHeight": "var(--wp--custom--typography--line-height--tiny)", 306 "fontSize": "var(--wp--preset--font-size-- large)"298 "fontSize": "var(--wp--preset--font-size--x-large)" 307 299 } 308 300 }, … … 313 305 "textTransform": "uppercase", 314 306 "lineHeight": "var(--wp--custom--typography--line-height--normal)", 315 "fontSize": "var(--wp--preset--font-size-- normal)"307 "fontSize": "var(--wp--preset--font-size--medium)" 316 308 } 317 309 }, … … 322 314 "textTransform": "uppercase", 323 315 "lineHeight": "var(--wp--custom--typography--line-height--normal)", 324 "fontSize": "var(--wp--preset--font-size-- normal)"316 "fontSize": "var(--wp--preset--font-size--medium)" 325 317 } 326 318 }, … … 337 329 "fontFamily": "var(--wp--preset--font-family--system-font)", 338 330 "lineHeight": "var(--wp--custom--typography--line-height--normal)", 339 "fontSize": "var(--wp--preset--font-size-- normal)"331 "fontSize": "var(--wp--preset--font-size--medium)" 340 332 } 341 333 },
Note: See TracChangeset
for help on using the changeset viewer.