Skip to content

Commit

Permalink
Improvement: Consistent $transition-duration, less movement
Browse files Browse the repository at this point in the history
  • Loading branch information
ronilaukkarinen committed Aug 22, 2022
1 parent 27628ed commit 7df4782
Show file tree
Hide file tree
Showing 14 changed files with 37 additions and 36 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
### [Unreleased]
### 9.0.7: 2022-08-22

* Add box-model helper
* Remove leftover getLocalization declaration
* Remove block-file-slug.svg placeholder, replace with .gitkeep
* Improvement: Consistent $transition-duration, less movement

### 9.0.6: 2022-06-30

Expand Down
2 changes: 1 addition & 1 deletion bin/tasks/additions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ chmod 777 ${PROJECT_PATH}/media

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

NEWEST_AIR_VERSION="9.0.6"
NEWEST_AIR_VERSION="9.0.7"
NEWEST_WORDPRESS_VERSION="6.0.0"
NEWEST_PHP_VERSION="7.4"
CURRENT_DATE=$(LC_TIME=en_US date '+%d %b %Y' |tr ' ' '_');
Expand Down
28 changes: 14 additions & 14 deletions css/dev/global.css

Large diffs are not rendered by default.

18 changes: 9 additions & 9 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.

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-06-30 16:36:48
* @Last Modified time: 2022-08-22 15:17:03
*
* @package air-light
*/
Expand All @@ -17,7 +17,7 @@
/**
* The current version of the theme.
*/
define( 'AIR_LIGHT_VERSION', '9.0.6' );
define( 'AIR_LIGHT_VERSION', '9.0.7' );

// 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": "9.0.6",
"version": "9.0.7",
"description": "A minimalist WordPress starter theme.",
"author": "Digitoimisto Dude Oy (moro@dude.fi)",
"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.0
Tested up to: 6.0.0
Stable tag: 9.0.6
Stable tag: 9.0.7
License: MIT License
License URI: https://opensource.org/licenses/MIT

Expand Down
2 changes: 1 addition & 1 deletion sass/base/_accessibility.scss
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ a.is-external-link::after {
position: relative;
right: 0;
top: 0;
transition: all .18s ease-in-out;
transition: all $transition-duration;
width: 12px;
}

Expand Down
2 changes: 1 addition & 1 deletion sass/components/_link.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
text-decoration: underline;
text-decoration-color: var(--color-link-text);
text-underline-offset: 6px;
transition: all .18s ease-in-out;
transition: all $transition-duration;

&.is-external-link::after {
background-image: url('../../svg/external-link-styled-links.svg');
Expand Down
2 changes: 1 addition & 1 deletion sass/features/_sticky-nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
}

.site-header {
transition: all $transition-duration ease;
transition: all $transition-duration;
}

.nav-container {
Expand Down
2 changes: 1 addition & 1 deletion sass/helpers/_animations.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Transition duration and animations
$transition-duration: .18s;
$transition-duration: 50ms;

// Mixins
@mixin cubic-bezier($property: color, $duration: .18s) {
Expand Down
2 changes: 1 addition & 1 deletion sass/navigation/_nav-mobile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ $hamburger-hover-transition-timing-function: linear;

.nav-primary {
opacity: 0;
transition: all $transition-duration ease-in-out;
transition: all $transition-duration;
width: 100vw;
}

Expand Down

0 comments on commit 7df4782

Please sign in to comment.