Skip to content
This repository has been archived by the owner on Feb 17, 2025. It is now read-only.

BCB: Add post comments styles #3553

Merged
merged 9 commits into from
Apr 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 66 additions & 0 deletions blank-canvas-blocks/assets/ponyfill.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions blank-canvas-blocks/experimental-theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,14 @@
"text": "var(--wp--custom--color--foreground)",
"background": "transparent",
"boxShadow": "none"
},
"label": {
"typography": {
"fontSize": "var(--wp--preset--font-size--tiny)"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)"
}
},
"paragraph": {
Expand Down
16 changes: 16 additions & 0 deletions blank-canvas-blocks/sass/blocks/_post-comments.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
@import 'button';

.wp-block-post-comments {
.comment {
font-size: var(--wp--custom--form--typography--font-size);
}

label, .comment-meta {
font-size: var(--wp--custom--form--label--typography--font-size);
}

input[type="submit"], .reply a {
@include button-main-styles;
@include button-hover-styles;
}
}
1 change: 1 addition & 0 deletions blank-canvas-blocks/sass/ponyfill.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
@import "blocks/navigation";
@import "blocks/paragraph";
@import "blocks/post-author";
@import "blocks/post-comments";
@import "blocks/pullquote";
@import "blocks/quote";
@import "blocks/search";
Expand Down