diff --git a/assets/sass/themes/_gruv.scss b/assets/sass/themes/_gruv.scss new file mode 100644 index 0000000..e69de29 diff --git a/assets/sass/themes/_gruvcode.scss b/assets/sass/themes/_gruvcode.scss new file mode 100644 index 0000000..efc4138 --- /dev/null +++ b/assets/sass/themes/_gruvcode.scss @@ -0,0 +1,69 @@ +$gruvcode: ''; + +@if $theme_gruv_chroma_background == gruv { + $gruvcode: ( + content-code-color: #fcfcfa, + content-pre-main-color: #FFA7C4, + content-pre-color: #eee, + content-pre-number-color: #666, + content-pre-background-color: #171f2e, + content-pre-header-background-color: gruven(#011627, 1.5%), + content-pre-border-background-color: #3a3a3a, + content-pre-header-color: #FCFCFA, + ); +} @else if $theme_gruv_chroma_background == light { + $gruvcode: ( + content-code-color: #26a69a, + content-pre-main-color: #607d8b, + content-pre-color: #344952, + content-pre-number-color: #aaa, + content-pre-background-color: #F5F2F0, + content-pre-border-background-color: gruven(#F5F2F0, 7%), + content-pre-header-background-color: gruven(#F5F2F0, 3%), + content-pre-header-color: #344952, + ); +} @else if $theme_gruv_chroma_background == hacker { + $gruvcode: ( + content-code-color: #E3CD26, + content-pre-main-color: #1FFF2A, + content-pre-color: #d1d1d1, + content-pre-number-color: #666, + content-pre-background-color: #282a36, + content-pre-border-background-color: #424242, + content-pre-header-background-color: gruven(#202420, 1.5%), + content-pre-header-color: #FCFCFA, + ); +} @else if $theme_gruv_chroma_background == solarized { + $gruvcode: ( + content-code-color: #268bd2, + content-pre-main-color: #B58900, + content-pre-color: #344952, + content-pre-number-color: #aaa, + content-pre-background-color: #faf1cd, + content-pre-border-background-color: gruven(#FBF1D1, 12%), + content-pre-header-background-color: gruven(#FBF1D1, 6%), + content-pre-header-color: #344952, + ); +} @else if $theme_gruv_chroma_background == kimbie { + $gruvcode: ( + content-code-color: #f06431, + content-pre-main-color: #dc3958, + content-pre-color: #d3af86, + content-pre-number-color: #666, + content-pre-background-color: #362712, + content-pre-header-color: #8ab1b0, + content-pre-header-background-color: lighten(#362712, 3%), + content-pre-border-background-color: #e3b583, + ); +} @else { + $gruvcode: ( + content-code-color: #fcfcfa, + content-pre-main-color: #FFA7C4, + content-pre-color: #eee, + content-pre-number-color: #666, + content-pre-background-color: #171f2e, + content-pre-header-background-color: gruven(#011627, 1.5%), + content-pre-border-background-color: #3a3a3a, + content-pre-header-color: #FCFCFA, + ); +} \ No newline at end of file diff --git a/data/button.toml b/data/button.toml index 5b744ba..a274d25 100644 --- a/data/button.toml +++ b/data/button.toml @@ -3,4 +3,5 @@ dark_primary_color = "#82aaff" light_primary_color = "#ccc" hacker_primary_color = "#cdf5cc" solarized_primary_color = "#c5e0df" -kimbie_primary_color = "#d1c4e9" \ No newline at end of file +kimbie_primary_color = "#d1c4e9" +gruv_primary_color = "#b8bb26" #gruv entry \ No newline at end of file diff --git a/data/skin.toml b/data/skin.toml index 142dc7a..ea1d2f9 100644 --- a/data/skin.toml +++ b/data/skin.toml @@ -5,6 +5,7 @@ theme_dark_chroma = "default" theme_hacker_chroma = "default" theme_solarized_chroma = "default" theme_kimbie_chroma = "default" +theme_gruv_chroma = "default" #gruv entry # possible value: default, dark, light, hacker, solarized, kimbie # restart hugo after change this value @@ -12,4 +13,5 @@ theme_light_chroma_background = "default" theme_dark_chroma_background = "default" theme_hacker_chroma_background = "default" theme_solarized_chroma_background = "default" -theme_kimbie_chroma_background = "default" \ No newline at end of file +theme_kimbie_chroma_background = "default" +theme_gruv_chroma_background = "default" #gruv entry \ No newline at end of file diff --git a/i18n/ca.toml b/i18n/ca.toml index 64a7630..1073251 100644 --- a/i18n/ca.toml +++ b/i18n/ca.toml @@ -115,5 +115,8 @@ other = "solarized" [skin-kimbie] other = "kimbie" +[skin-gruv] +other = "gruv" + [no-contents] other = "Nothing to Display" \ No newline at end of file diff --git a/i18n/en.toml b/i18n/en.toml index 506b78f..94ba4c3 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -115,5 +115,8 @@ other = "solarized" [skin-kimbie] other = "kimbie" +[skin-gruv] +other = "gruv" + [no-contents] other = "Nothing to Display" \ No newline at end of file diff --git a/i18n/eo.toml b/i18n/eo.toml index 94fc1f6..af71422 100644 --- a/i18n/eo.toml +++ b/i18n/eo.toml @@ -115,5 +115,8 @@ other = "solarized" [skin-kimbie] other = "kimbie" +[skin-gruv] +other = "gruv" + [no-contents] other = "Nothing to Display" \ No newline at end of file diff --git a/i18n/es.toml b/i18n/es.toml index 0b0e31d..de812d4 100644 --- a/i18n/es.toml +++ b/i18n/es.toml @@ -115,5 +115,8 @@ other = "solarized" [skin-kimbie] other = "kimbie" +[skin-gruv] +other = "gruv" + [no-contents] other = "Nada que Mostrar" diff --git a/i18n/fa.toml b/i18n/fa.toml index 661db0a..9ece066 100644 --- a/i18n/fa.toml +++ b/i18n/fa.toml @@ -115,5 +115,8 @@ other = "solarized" [skin-kimbie] other = "kimbie" +[skin-gruv] +other = "gruv" + [no-contents] other = "Nothing to Display" \ No newline at end of file diff --git a/i18n/fr.toml b/i18n/fr.toml index d4cba9a..333bb54 100644 --- a/i18n/fr.toml +++ b/i18n/fr.toml @@ -115,5 +115,8 @@ other = "solarized" [skin-kimbie] other = "kimbie" +[skin-gruv] +other = "gruv" + [no-contents] other = "Nothing to Display" \ No newline at end of file diff --git a/i18n/ja.toml b/i18n/ja.toml index f53e201..0218e69 100644 --- a/i18n/ja.toml +++ b/i18n/ja.toml @@ -115,5 +115,8 @@ other = "solarized" [skin-kimbie] other = "kimbie" +[skin-gruv] +other = "gruv" + [no-contents] other = "コンテンツがありません" \ No newline at end of file diff --git a/i18n/ko.toml b/i18n/ko.toml index f06b688..159c15d 100644 --- a/i18n/ko.toml +++ b/i18n/ko.toml @@ -115,5 +115,8 @@ other = "solarized" [skin-kimbie] other = "kimbie" +[skin-gruv] +other = "gruv" + [no-contents] other = "Nothing to Display" \ No newline at end of file diff --git a/i18n/pt-br.toml b/i18n/pt-br.toml index ce03115..b2aacf4 100644 --- a/i18n/pt-br.toml +++ b/i18n/pt-br.toml @@ -115,5 +115,8 @@ other = "solarized" [skin-kimbie] other = "kimbie" +[skin-gruv] +other = "gruv" + [no-contents] other = "Nada a ser exibido" diff --git a/i18n/ro.toml b/i18n/ro.toml index d062ebf..e1f5086 100644 --- a/i18n/ro.toml +++ b/i18n/ro.toml @@ -115,5 +115,8 @@ other = "solarized" [skin-kimbie] other = "kimbie" +[skin-gruv] +other = "gruv" + [no-contents] other = "Nothing to Display" \ No newline at end of file diff --git a/i18n/zh.toml b/i18n/zh.toml index dcf297b..a2478bb 100644 --- a/i18n/zh.toml +++ b/i18n/zh.toml @@ -115,5 +115,8 @@ other = "solarized" [skin-kimbie] other = "kimbie" +[skin-gruv] +other = "gruv" + [no-contents] other = "Nothing to Display" \ No newline at end of file diff --git a/layouts/partials/head/scripts.html b/layouts/partials/head/scripts.html index ec2514f..742e290 100644 --- a/layouts/partials/head/scripts.html +++ b/layouts/partials/head/scripts.html @@ -530,6 +530,8 @@ var skinSolarizedCode = JSON.parse({{ $skinSolarizedCode | jsonify }}); {{ $skinKimbieCode := (i18n "skin-kimbie") }} var skinKimbieCode = JSON.parse({{ $skinKimbieCode | jsonify }}); + {{ $skingruvCode := (i18n "skin-gruv") }} + var skingruvCode = JSON.parse({{ $skingruvCode | jsonify }}); var setMetaColor = function(themeColor) { var metaMsapplicationTileColor = document.getElementsByName('msapplication-TileColor')[0]; @@ -576,6 +578,8 @@ return 'solarized'; } else if (themeText === skinKimbieCode) { return 'kimbie'; + } else if (themeText === skingruvCode) { + return 'gruv'; } }