Skip to content

Commit

Permalink
Calendar: Add typography supports (except text-decoration) (#43969)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw committed Sep 8, 2022
1 parent f90eb72 commit e9c0da7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/reference-guides/core-blocks.md
Expand Up @@ -68,7 +68,7 @@ A calendar of your site’s posts. ([Source](https://github.com/WordPress/gutenb

- **Name:** core/calendar
- **Category:** widgets
- **Supports:** align
- **Supports:** align, typography (fontSize, lineHeight)
- **Attributes:** month, year

## Categories List
Expand Down
14 changes: 13 additions & 1 deletion packages/block-library/src/calendar/block.json
Expand Up @@ -16,7 +16,19 @@
}
},
"supports": {
"align": true
"align": true,
"typography": {
"fontSize": true,
"lineHeight": true,
"__experimentalFontFamily": true,
"__experimentalFontWeight": true,
"__experimentalFontStyle": true,
"__experimentalTextTransform": true,
"__experimentalLetterSpacing": true,
"__experimentalDefaultControls": {
"fontSize": true
}
}
},
"style": "wp-block-calendar"
}

0 comments on commit e9c0da7

Please sign in to comment.