mirror of
https://git.adityakumar.xyz/hugo-devresume-theme.git
synced 2024-11-09 14:59:45 +00:00
added the ability to change colours in config.toml - primary and text primary
This commit is contained in:
parent
73727c0d48
commit
488eefe04a
5 changed files with 14 additions and 14 deletions
|
@ -10,8 +10,8 @@
|
||||||
|
|
||||||
/*************************** Theme Colours****************************/
|
/*************************** Theme Colours****************************/
|
||||||
// Define theme colour scheme
|
// Define theme colour scheme
|
||||||
$theme-color-primary: #54B689;
|
$theme-color-primary: {{ .Site.Params.primary_color | default "#54B689" }};
|
||||||
$theme-text-color-primary: #292929;
|
$theme-text-color-primary: {{ .Site.Params.text_primary_color | default "#292929" }};
|
||||||
$theme-text-color-secondary: lighten($theme-text-color-primary, 15%);
|
$theme-text-color-secondary: lighten($theme-text-color-primary, 15%);
|
||||||
$theme-text-color-light: lighten($theme-text-color-primary, 40%);
|
$theme-text-color-light: lighten($theme-text-color-primary, 40%);
|
||||||
$theme-border-color: lighten($theme-text-color-primary, 60%);
|
$theme-border-color: lighten($theme-text-color-primary, 60%);
|
||||||
|
|
|
@ -16,7 +16,8 @@ googleAnalytics = "UA-XXXXXXX-Y"
|
||||||
description = "DevResume - Bootstrap 4 Resume/CV Template For Software Developers"
|
description = "DevResume - Bootstrap 4 Resume/CV Template For Software Developers"
|
||||||
|
|
||||||
|
|
||||||
|
primary_color = "#54B689"
|
||||||
|
text_primary_color = "#292929"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -13,6 +13,5 @@
|
||||||
<!-- Google Fonts -->
|
<!-- Google Fonts -->
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900">
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900">
|
||||||
<!-- Theme SCSS -->
|
<!-- Theme SCSS -->
|
||||||
{{ $options := (dict "targetPath" "assets/css/devresume.css") }}
|
{{ $style := resources.Get "scss/devresume.scss" | resources.ExecuteAsTemplate "scss/devresume.scss" . | toCSS (dict "targetPath" "assets/css/devresume.css") | minify | fingerprint }}
|
||||||
{{ $style := resources.Get "scss/devresume.scss" | toCSS $options | minify | fingerprint }}
|
|
||||||
<link rel="stylesheet" href="{{ $style.Permalink }}">
|
<link rel="stylesheet" href="{{ $style.Permalink }}">
|
||||||
|
|
Loading…
Reference in a new issue