From 0d8e8c6d749f5df8916c03b0a3123a88c5176fe3 Mon Sep 17 00:00:00 2001 From: Luke Aeschleman Date: Mon, 5 Feb 2018 14:12:48 -0500 Subject: [PATCH] move accents color options to config.yml --- .gitignore | 1 + _config.yml | 5 +++++ accent.scss | 7 ------- assets/css/cvmain.scss | 3 ++- assets/css/main.scss | 3 ++- 5 files changed, 10 insertions(+), 9 deletions(-) delete mode 100644 accent.scss diff --git a/.gitignore b/.gitignore index e283d70..02c23e1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ _site/* .sass-cache/* +.idea/* diff --git a/_config.yml b/_config.yml index 0e8a507..ecda2fc 100755 --- a/_config.yml +++ b/_config.yml @@ -40,6 +40,11 @@ owner: codepen: #username disqus-shortname: +# The following adjust the accents for your site. If you would like to further edit colors, fonts, font sizes, etc. +# you may do so in _sass/variables.scss +highlight-color: '#CC0000' +lowlight-color: '#000' + # NOTE: If you would like your site to be licensed under a creative commons license, uncomment the 'yes' next to the type of license you wish to use. creative-commons: cc-by: #yes diff --git a/accent.scss b/accent.scss deleted file mode 100644 index 072d42a..0000000 --- a/accent.scss +++ /dev/null @@ -1,7 +0,0 @@ -/* ========================================================================== - Sass accent colors - ========================================================================== */ - - -$highlightcolor : #CC0000; -$lowlightcolor : #000; \ No newline at end of file diff --git a/assets/css/cvmain.scss b/assets/css/cvmain.scss index 5a62ecb..c5d88b7 100644 --- a/assets/css/cvmain.scss +++ b/assets/css/cvmain.scss @@ -12,7 +12,8 @@ sitemap: false */ // Partials -@import "../accent"; +$highlightcolor: {{ site.highlight-color }}; +$lowlightcolor: {{ site.lowlight-color }}; @import "resume"; @import "variables"; @import "grid"; diff --git a/assets/css/main.scss b/assets/css/main.scss index ba54465..3477028 100644 --- a/assets/css/main.scss +++ b/assets/css/main.scss @@ -12,7 +12,8 @@ sitemap: false */ // Partials -@import "../accent"; +$highlightcolor: {{ site.highlight-color }}; +$lowlightcolor: {{ site.lowlight-color }}; @import "variables"; @import "grid"; @import "mixins";