Skip to content

Commit

Permalink
Fix issues with font names and rendering, add more weights
Browse files Browse the repository at this point in the history
  • Loading branch information
ronilaukkarinen committed Feb 2, 2022
1 parent 44197eb commit 65bf1ac
Show file tree
Hide file tree
Showing 36 changed files with 84 additions and 24 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
### 8.2.9: 2022-02-02

* Add more weights for Inter font family, fix issue with font file capitalizations and rendering

### 8.2.8: 2022-02-02

* Modified functions.php custom settings to work with Air setting groups plugin.
* Drop CSS grid mixin as all major browsers support it and we no longer need fallbacks for Edge and Safari
* Dropped CSS grid mixin as all major browsers support it and we no longer need fallbacks for Edge and Safari

### 8.2.7: 2022-01-26

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:02:38
# @Last Modified time: 2022-02-02 16:53:48
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.8"
NEWEST_AIR_VERSION="8.2.9"
NEWEST_WORDPRESS_VERSION="5.9.0"
NEWEST_PHP_VERSION="7.4"
CURRENT_DATE=$(LC_TIME=en_US date '+%d %b %Y' |tr ' ' '_');
Expand Down
22 changes: 18 additions & 4 deletions css/dev/global.css

Large diffs are not rendered by default.

43 changes: 39 additions & 4 deletions css/dev/gutenberg-editor-styles.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/prod/global.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.

Binary file removed fonts/Inter-Bold.ttf
Binary file not shown.
Binary file removed fonts/Inter-Bold.woff
Binary file not shown.
Binary file removed fonts/Inter-Bold.woff2
Binary file not shown.
Binary file removed fonts/Inter-Italic.ttf
Binary file not shown.
Binary file removed fonts/Inter-Italic.woff
Binary file not shown.
Binary file removed fonts/Inter-Italic.woff2
Binary file not shown.
Binary file removed fonts/Inter-Regular.ttf
Binary file not shown.
Binary file removed fonts/Inter-Regular.woff
Binary file not shown.
Binary file removed fonts/Inter-Regular.woff2
Binary file not shown.
Binary file added fonts/inter-400-italic.ttf
Binary file not shown.
Binary file added fonts/inter-400-italic.woff
Binary file not shown.
Binary file added fonts/inter-400-italic.woff2
Binary file not shown.
Binary file added fonts/inter-400.ttf
Binary file not shown.
Binary file added fonts/inter-400.woff
Binary file not shown.
Binary file added fonts/inter-400.woff2
Binary file not shown.
Binary file added fonts/inter-500.ttf
Binary file not shown.
Binary file added fonts/inter-500.woff
Binary file not shown.
Binary file added fonts/inter-500.woff2
Binary file not shown.
Binary file added fonts/inter-600.ttf
Binary file not shown.
Binary file added fonts/inter-600.woff
Binary file not shown.
Binary file added fonts/inter-600.woff2
Binary file not shown.
Binary file added fonts/inter-700.ttf
Binary file not shown.
Binary file added fonts/inter-700.woff
Binary file not shown.
Binary file added fonts/inter-700.woff2
Binary file not shown.
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:02:21
* @Last Modified time: 2022-02-02 16:53:35
*
* @package air-light
*/
Expand All @@ -17,7 +17,7 @@
/**
* The current version of the theme.
*/
define( 'AIR_LIGHT_VERSION', '8.2.8' );
define( 'AIR_LIGHT_VERSION', '8.2.9' );

// 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.8",
"version": "8.2.9",
"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.8
Stable tag: 8.2.9
License: MIT License
License URI: https://opensource.org/licenses/MIT

Expand Down
11 changes: 8 additions & 3 deletions sass/gutenberg/variables/_font-face.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
// Font family settings for Gutenberg
@include fontFace('Inter', '../../../../../content/themes/air-light/fonts/Inter-Regular', 400);
@include fontFace('Inter', '../../../../../content/themes/air-light/fonts/Inter-Italic', 400, italic);
@include fontFace('Inter', '../../../../../content/themes/air-light/fonts/Inter-Bold', 700);
@include fontFace('Inter', '../../../../../content/themes/air-light/fonts/inter-400', 400);
@include fontFace('Inter', '../../../../../content/themes/air-light/fonts/inter-400-italic', 400, italic);
@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);
8 changes: 5 additions & 3 deletions sass/variables/_font-face.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Self-hosted fonts
// Remember to add these also to gutenberg/variables/_font-family.scss
// with correct paths
@include fontFace('Inter', '../../fonts/Inter-Regular', 400);
@include fontFace('Inter', '../../fonts/Inter-Italic', 400, italic);
@include fontFace('Inter', '../../fonts/Inter-Bold', 700);
@include fontFace('Inter', '../../fonts/inter-400', 400);
@include fontFace('Inter', '../../fonts/inter-400-italic', 400, italic);
@include fontFace('Inter', '../../fonts/inter-500', 500);
@include fontFace('Inter', '../../fonts/inter-600', 600);
@include fontFace('Inter', '../../fonts/inter-700', 700);
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.8
Version: 8.2.9
------8<----------
Please do this before your actual theme is ready to go live:
Expand Down

0 comments on commit 65bf1ac

Please sign in to comment.