Permalink
Browse files

Add logo as SVG instead of text for faster starting point

  • Loading branch information...
ronilaukkarinen committed May 8, 2018
1 parent c3092da commit c7f83536b68f7e879c3085e91a104669b9747e60
Showing with 3,660 additions and 2,443 deletions.
  1. +3,642 −2,431 css/global.css
  2. +1 −1 css/global.min.css
  3. +1 −1 functions.php
  4. +12 −2 header.php
  5. +1 −1 package.json
  6. +1 −1 readme.txt
  7. +0 −4 sass/layout/_site-header.scss
  8. +1 −1 style.css
  9. +1 −1 svg/logo.svg
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -5,7 +5,7 @@
* @package air-light
*/
define( 'AIR_LIGHT_VERSION', '4.1.4' );
define( 'AIR_LIGHT_VERSION', '4.1.5' );
/**
* Requires.
View
@@ -29,9 +29,19 @@
<div class="site-branding">
<?php if ( is_front_page() && is_home() ) : ?>
<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?><?php // include get_theme_file_path( '/svg/logo.svg' ); ?></a></h1>
<h1 class="site-title">
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home">
<span class="screen-reader-text"><?php bloginfo( 'name' ); ?></span>
<?php include get_theme_file_path( '/svg/logo.svg' ); ?>
</a>
</h1>
<?php else : ?>
<p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?><?php // include get_theme_file_path( '/svg/logo.svg' ); ?></a></p>
<p class="site-title">
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home">
<span class="screen-reader-text"><?php bloginfo( 'name' ); ?></span>
<?php include get_theme_file_path( '/svg/logo.svg' ); ?>
</a>
</p>
<?php endif;
$description = get_bloginfo( 'description', 'display' );
View
@@ -1,6 +1,6 @@
{
"name": "air-light",
"version": "4.1.4",
"version": "4.1.5",
"description": "A minimalist WordPress starter theme.",
"author": "Digitoimisto Dude Oy (moro@dude.fi)",
"devDependencies": {
View
@@ -12,7 +12,7 @@ Tags: one-column, accessibility-ready, translation-ready
Requires at least: 4.0
Tested up to: 4.9.3
Stable tag: 4.1.4
Stable tag: 4.1.5
License: MIT License
License URI: https://opensource.org/licenses/MIT
@@ -29,8 +29,4 @@
a {
color: #111;
}
svg {
fill: #fff;
}
}
View
@@ -4,7 +4,7 @@ Theme URI: https://github.com/digitoimistodude/air-light
Author: Digitoimisto Dude Oy
Author URI: https://www.dude.fi
Description: A minimalist WordPress starter theme.
Version: 4.1.4
Version: 4.1.5
License: MIT License
License URI: https://github.com/digitoimistodude/air-light/blob/master/LICENSE.md
Text Domain: air-light
View
@@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 200 200" fill="#010101"><path d="M140.9 95.1c5.7-.7-20.8-43.9-46-57.6C79.4 22.9 83.3 6.3 98.8 2.2c14.3-4.5 34.3 6.5 46.9 29 19.3 29.5-.9 68.2-4.8 63.9zm-21.2 47.8c2.4 5.3 35.3-33.3 40.6-61.5 9.1-19.3 26.1-20.8 34.7-7.3 8.7 12.3 4.4 34.6-13.1 53.5-22 27.6-65 20.4-62.2 15.3zm-52-5.3c-4.3 3.9 42.6 23.3 71.1 19.6 21.1 2.7 27.8 18.4 17.7 30.8-9 12.1-31.5 14.9-55 4.1-33-12.6-39.4-55.7-33.8-54.5zM56.8 86.4c-5-2.8-9 47.7 3.3 73.6 4 20.9-8.9 32.2-23.8 26.3-14.2-4.8-23.9-25.4-20.9-51 1.7-35.2 40.7-54.6 41.4-48.9zM102 60.2c1.1-5.7-48.1 6.2-69 25.9C14.3 96.4-.3 87.6.6 71.6.8 56.6 17.4 41 42.7 36c34-9.3 64.6 21.8 59.3 24.2z"/></svg>
<svg version="1" xmlns="http://www.w3.org/2000/svg" width="25" height="14" viewBox="0 0 791 429" fill="#333"><path d="M446 2.1c-10.5 2.1-20.9 9.8-25.4 18.9-3.8 7.6-4.9 13.2-4.4 23.7.3 8.4.8 10.8 3.4 16.3 4 8.6 8 13 15.1 16.7 8.3 4.4 15.2 5.6 28 5.1 9.6-.4 11.7-.8 17.6-3.6 14.3-6.7 21.6-17.4 22.5-33.2 1.6-28.2-15.2-45.3-44.1-44.9-4.5.1-10.2.5-12.7 1zM132.1 41.2c-.5 1.3-29.4 86.2-64.4 188.8-35 102.6-64.5 189.1-65.6 192.3l-2 5.7 37.6-.2 37.6-.3L88.9 386l13.7-41.5 72.5-.3 72.5-.2 13.4 42 13.4 42h37.3c20.5 0 37.3-.3 37.3-.6s-27.7-85-61.6-188.2c-33.9-103.3-62.5-190.5-63.5-194l-2-6.2H133l-.9 2.2zm71 166c14.6 45.3 26.4 82.6 26.2 83-.2.5-24.7.8-54.4.8h-54l.6-2.3C125 277 175.6 125 176 125c.3 0 12.5 37 27.1 82.2zM749.5 132.5c-9.1 2-19.3 6.1-26.3 10.7-11.8 7.7-24.5 23.2-33 40.4-2 4.1-4 7.4-4.4 7.4-.4 0-.8-12.4-.8-27.5V136l-35.2.2-35.3.3v291l35.3.3 35.2.2v-69.7c0-79.2.6-88.1 6.7-107.8 6.4-20.5 18.6-35.6 34.5-42.4 12.6-5.4 34.4-6.9 52.8-3.7 4.7.9 8.8 1.2 9.2.8.4-.4 1-16.1 1.4-34.8l.7-34.2-2.3-1.2c-6.6-3.5-27.6-4.9-38.5-2.5zM424 282v146h71V136h-71v146z"/></svg>

0 comments on commit c7f8353

Please sign in to comment.