Skip to content

Commit

Permalink
Drop CSS grid fallbacks for Edge and Safari
Browse files Browse the repository at this point in the history
  • Loading branch information
ronilaukkarinen committed Feb 2, 2022
1 parent bb77e33 commit 44197eb
Show file tree
Hide file tree
Showing 13 changed files with 17 additions and 136 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
### Unreleased
### 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

### 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-01-26 16:44:49
# @Last Modified time: 2022-02-02 16:02:38
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.7"
NEWEST_AIR_VERSION="8.2.8"
NEWEST_WORDPRESS_VERSION="5.9.0"
NEWEST_PHP_VERSION="7.4"
CURRENT_DATE=$(LC_TIME=en_US date '+%d %b %Y' |tr ' ' '_');
Expand Down
55 changes: 1 addition & 54 deletions css/dev/global.css

Large diffs are not rendered by default.

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

6 changes: 3 additions & 3 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
* own files under /inc and just require here.
*
* @Date: 2019-10-15 12:30:02
* @Last Modified by: Elias Kautto
* @Last Modified time: 2022-02-01 11:36:59
* @Last Modified by: Roni Laukkarinen
* @Last Modified time: 2022-02-02 16:02:21
*
* @package air-light
*/
Expand All @@ -17,7 +17,7 @@
/**
* The current version of the theme.
*/
define( 'AIR_LIGHT_VERSION', '8.2.7' );
define( 'AIR_LIGHT_VERSION', '8.2.8' );

// 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.7",
"version": "8.2.8",
"description": "A minimalist WordPress starter theme.",
"author": "Digitoimisto Dude Oy ([email protected])",
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ Source: https://stocksnap.io/photo/nature-mountains-3T1GEXSD0R
Contributors: Digitoimisto Dude Oy
Tags: one-column, accessibility-ready, translation-ready

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

Expand Down
1 change: 0 additions & 1 deletion sass/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
// Helpers
@import 'helpers/animations';
@import 'helpers/general';
@import 'helpers/grid';
@import 'helpers/typography';

// Variables
Expand Down
1 change: 0 additions & 1 deletion sass/gutenberg-editor-styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
// Helpers
@import 'helpers/animations';
@import 'helpers/typography';
@import 'helpers/grid';

// Variables
@import 'variables/colors';
Expand Down
65 changes: 0 additions & 65 deletions sass/helpers/_grid.scss

This file was deleted.

4 changes: 2 additions & 2 deletions sass/views/_search.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
padding-top: 0;

@media (min-width: $container-ipad-landscape) {
// Change this to 2 if you use other post type results
@include grid(1);
// Make a CSS grid for multiple columns if you use other post type results
display: grid;
}
}

Expand Down
4 changes: 2 additions & 2 deletions 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.7
Version: 8.2.8
------8<----------
Please do this before your actual theme is ready to go live:
Expand All @@ -20,7 +20,7 @@ If you see this, contact the site admin.
/*---------------------------------------------------------------
>>> Air-light theme version information, only for AIR developers
-----------------------------------------------------------------
@version 2022-01-26
@version 2022-02-02
@since 2016-01-28
Tested up to: 5.9.0
Expand Down

0 comments on commit 44197eb

Please sign in to comment.