Skip to content

Commit

Permalink
Tweak lot's of styles.
Browse files Browse the repository at this point in the history
  • Loading branch information
samikeijonen committed Mar 18, 2019
1 parent aeeb672 commit bfcb9a2
Show file tree
Hide file tree
Showing 81 changed files with 759 additions and 5,236 deletions.
8 changes: 4 additions & 4 deletions app/functions-setup.php
Expand Up @@ -63,12 +63,12 @@ function() {
[
'name' => esc_html__( 'Main', 'wc-nordic-2019' ),
'slug' => 'main',
'color' => 'hsl(245, 80%, 43%)',
'color' => 'hsl(182, 40%, 45%)',
],
[
'name' => esc_html__( 'Dark', 'wc-nordic-2019' ),
'slug' => 'dark',
'color' => 'hsl(245, 82%, 7%)',
'color' => 'hsl(182, 82%, 7%)',
],
[
'name' => esc_html__( 'White', 'wc-nordic-2019' ),
Expand All @@ -78,7 +78,7 @@ function() {
[
'name' => esc_html__( 'Light', 'wc-nordic-2019' ),
'slug' => 'light',
'color' => 'hsl(245, 20%, 97%)',
'color' => 'hsl(0, 0%, 93%)',
],
[
'name' => esc_html__( 'Grey', 'wc-nordic-2019' ),
Expand Down Expand Up @@ -199,7 +199,7 @@ function() {
$args = [
'before_widget' => '<section id="%1$s" class="widget %2$s">',
'after_widget' => '</section>',
'before_title' => '<h2 class="widget__title h5">',
'before_title' => '<h2 class="widget__title h3 has-white-color">',
'after_title' => '</h2>',
];

Expand Down
4 changes: 2 additions & 2 deletions app/functions-template.php
Expand Up @@ -37,9 +37,9 @@ function sep( $sep = '' ) {
function site_title() {
if ( is_front_page() && is_home() ) :
?>
<h1 class="app-header__title mb-0 h3 font-main fw-700"><a class="decoration-none color-dark" href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
<h1 class="app-header__title mb-0 h3 font-heading fw-700"><a class="decoration-none color-dark" href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
<?php else : ?>
<p class="app-header__title mb-0 h3 font-main fw-700"><a class="decoration-none color-dark" href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p>
<p class="app-header__title mb-0 h3 font-heading fw-700"><a class="decoration-none color-dark" href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p>
<?php
endif;
}
Expand Down

0 comments on commit bfcb9a2

Please sign in to comment.