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

Styled calendar block per design #3835

Merged
merged 2 commits into from
May 14, 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
14 changes: 14 additions & 0 deletions quadrat/assets/theme.css

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

15 changes: 15 additions & 0 deletions quadrat/sass/blocks/_calendar.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
.wp-block-calendar {
table {
caption {
color: var(--wp--custom--color--primary);
}
th {
background-color: var(--wp--custom--color--secondary);
border-color: var(--wp--custom--color--secondary);
}
td {
color: var(--wp--custom--color--primary);
border-color: var(--wp--custom--color--secondary);
}
}
}
1 change: 1 addition & 0 deletions quadrat/sass/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
@import "block-patterns/headlines";
@import "block-patterns/join";
@import "blocks/buttons";
@import "blocks/calendar";
@import "blocks/cover";
@import "blocks/list";
@import "blocks/media-text";
Expand Down