Skip to content

Commit

Permalink
Fix font selection in Gutenberg editor
Browse files Browse the repository at this point in the history
  • Loading branch information
ronilaukkarinen committed Feb 2, 2022
1 parent 65bf1ac commit 6671bef
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 33 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 8.3.0: 2022-02-02

* This updates removes some fonts that should not be there, sorry about that

### 8.2.9: 2022-02-02

* Add more weights for Inter font family, fix issue with font file capitalizations and rendering
Expand Down
4 changes: 2 additions & 2 deletions bin/tasks/additions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
# @Author: Roni Laukkarinen
# @Date: 2021-05-21 14:40:29
# @Last Modified by: Roni Laukkarinen
# @Last Modified time: 2022-02-02 16:53:48
# @Last Modified time: 2022-02-02 17:06:03
echo "${YELLOW}Adding media library folder...${TXTRESET}"
mkdir -p ${PROJECT_PATH}/media
echo "" > ${PROJECT_PATH}/media/index.php
chmod 777 ${PROJECT_PATH}/media

echo "${YELLOW}Generating default README.md...${TXTRESET}"

NEWEST_AIR_VERSION="8.2.9"
NEWEST_AIR_VERSION="8.3.0"
NEWEST_WORDPRESS_VERSION="5.9.0"
NEWEST_PHP_VERSION="7.4"
CURRENT_DATE=$(LC_TIME=en_US date '+%d %b %Y' |tr ' ' '_');
Expand Down
23 changes: 1 addition & 22 deletions css/dev/gutenberg-editor-styles.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/prod/gutenberg-editor-styles.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* @Date: 2019-10-15 12:30:02
* @Last Modified by: Roni Laukkarinen
* @Last Modified time: 2022-02-02 16:53:35
* @Last Modified time: 2022-02-02 17:05:53
*
* @package air-light
*/
Expand All @@ -17,7 +17,7 @@
/**
* The current version of the theme.
*/
define( 'AIR_LIGHT_VERSION', '8.2.9' );
define( 'AIR_LIGHT_VERSION', '8.3.0' );

// We need to have some defaults as comments or empties so let's allow this:
// phpcs:disable Squiz.Commenting.InlineComment.SpacingBefore, WordPress.Arrays.ArrayDeclarationSpacing.SpaceInEmptyArray
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "air-light",
"version": "8.2.9",
"version": "8.3.0",
"description": "A minimalist WordPress starter theme.",
"author": "Digitoimisto Dude Oy ([email protected])",
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Tags: one-column, accessibility-ready, translation-ready

Requires at least: 5.9
Tested up to: 5.9.0
Stable tag: 8.2.9
Stable tag: 8.3.0
License: MIT License
License URI: https://opensource.org/licenses/MIT

Expand Down
3 changes: 0 additions & 3 deletions sass/gutenberg/variables/_font-face.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,3 @@
@include fontFace('Inter', '../../../../../content/themes/air-light/fonts/inter-500', 500);
@include fontFace('Inter', '../../../../../content/themes/air-light/fonts/inter-600', 600);
@include fontFace('Inter', '../../../../../content/themes/air-light/fonts/inter-700', 700);
@include fontFace('Whitney', '../../../../../content/themes/air-light/fonts/whitney-500', 500);
@include fontFace('Whitney', '../../../../../content/themes/air-light/fonts/whitney-600', 600);
@include fontFace('Isidora', '../../../../../content/themes/air-light/fonts/isidora-sans-600', 600);
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/digitoimistodude/air-light
Author: Digitoimisto Dude Oy
Author URI: https://www.dude.fi
Description: Hi. I'm a starter theme called <code>Air-light</code>, or <em>air</em>, if you like. I'm a theme based on Automattic's underscores and I'm meant for hacking so don't use me as a <em>Parent Theme</em> as-is. Instead try turning me into the next, most awesome, WordPress theme out there. That's what I'm here for.
Version: 8.2.9
Version: 8.3.0
------8<----------
Please do this before your actual theme is ready to go live:
Expand Down

0 comments on commit 6671bef

Please sign in to comment.