Skip to content

Commit

Permalink
Improve sass structure
Browse files Browse the repository at this point in the history
  • Loading branch information
robbinjohansson committed Jun 18, 2017
1 parent 62813b5 commit b544bd9
Show file tree
Hide file tree
Showing 12 changed files with 54 additions and 46 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# v0.2.5
## 06/18/2017

1. [](#improved)
* Improve sass structure

# v0.2.4
## 06/07/2017

Expand Down
6 changes: 3 additions & 3 deletions blueprints.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: Haywire
version: 0.2.4
description: Starter theme/boilerplate for developers to get up and running quickly on new projects using modern frameworks and tools such as laravel-mix, vuejs & bootstrap-sass.
version: 0.2.5
description: Starter theme/boilerplate for developers to get up and running quickly on new Grav projects using modern frameworks and tools such as laravel-mix, vuejs & bootstrap-sass.
icon: empire
author:
name: Robbin Johansson
email: [email protected]
url: https://haywire.me
homepage: https://github.com/robbinfellow/haywire-grav
demo: https://grav.haywire.me/
keywords: haywire, boilerplate, starter-theme, vuejs, vue, laravel-mix, bootstrap-sass
keywords: haywire, boilerplate, starter-theme, vuejs, laravel-mix, bootstrap-sass
bugs: https://github.com/robbinfellow/haywire-grav/issues
docs: https://github.com/robbinfellow/haywire-grav/blob/master/README.md
license: MIT
Expand Down
2 changes: 1 addition & 1 deletion dist/css/app.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "haywire",
"version": "0.2.4",
"version": "0.2.5",
"repository": "https://github.com/robbinfellow/haywire-grav.git",
"author": "Robbin Johansson <[email protected]>",
"scripts": {
Expand Down
10 changes: 10 additions & 0 deletions scss/_variables.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/**
* Use this file to override bootstrap variables
*/

// Base
$body-bg: #fff;

// Typography
$font-size-base: 16px;
$line-height-base: 1.8;
20 changes: 7 additions & 13 deletions scss/app.scss
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
// BOOTSTRAP COMPONENTS
@import "variables";

// Import npm dependencies
@import "../node_modules/bootstrap-sass/assets/stylesheets/bootstrap";

//-------------------------------------------

// TEMPLATE COMPONENTS

// Global helper classes
@import "template/global";
@import "common/global";
@import "common/utilities";

// Header
@import "template/header";

// Footer
@import "template/footer";

// Custom style
@import "template/custom";
@import "partials/header";
@import "partials/footer";
@import "partials/posts";
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file added scss/partials/_header.scss
Empty file.
26 changes: 26 additions & 0 deletions scss/partials/_posts.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
.posts {
margin-top: 20px;

.post {
margin-bottom: 40px;
padding-bottom: 40px;
border-bottom: solid 1px #eeeeee;
h3 {
a {
color: #000;

&:hover {
color: #23527c;
}
}
}

.summary {
color: #76787d;
}

.post-content {
padding-right: 40px;
}
}
}
28 changes: 0 additions & 28 deletions scss/template/_custom.scss

This file was deleted.

0 comments on commit b544bd9

Please sign in to comment.