Skip to content

Commit

Permalink
bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kjroelke committed Aug 5, 2024
1 parent 5d6fad8 commit 9dd8a99
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 5 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ If you're looking to make changes and you're not a developer with Kingdom One, `

# Changelog

## 1.0.2

- Define the `alignwide` class to match the `wide size` WP variable set in `theme.json`
- Define font families for the site.

## 1.0.1

- Update the Tour Dates block to render shortened date
Expand Down
5 changes: 5 additions & 0 deletions src/styles/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,8 @@
margin-inline: calc((var(--wp--custom--gutters) / 2) * -1);
}
}

.alignwide {
max-width: var(--wp--style--global--wide-size);
margin-inline: auto;
}
20 changes: 16 additions & 4 deletions src/styles/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,23 @@ $utilities: (
}
}

%base-text {
%headings {
text-wrap: pretty;
font-size: var(--wp--preset--font-size--base);
line-height: var(--wp--custom--line-height);
font-family: "Cormorant", sans-serif;
}

@each $heading, $size in $headings {
#{$heading},
.#{$heading} {
@extend %headings;
font-size: var($size);
}
}

%base-text {
@extend %headings;
font-size: var(--wp--preset--font-size--base);
}

p,
Expand All @@ -51,9 +64,8 @@ li {
.x-text-headline {
@each $heading, $size in $headings {
#{$heading} {
@extend %headings;
font-size: var($size);
line-height: var(--wp--custom--line-height);
text-wrap: pretty;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Theme URI: https://github.com/kingdom-one/faith-based-expeditions
Author: Kingdom One
Author URI: https://wwww.kingdomone.co
Description: A custom Wordpress theme for Faith Based Expeditions, built on the back of Pro Theme (by Themeco) by Kingdom One.
Version: 1.0.1
Version: 1.0.2
License: GNU General Public License v2 or later
Template: pro
*/

0 comments on commit 9dd8a99

Please sign in to comment.