things
This commit is contained in:
parent
438cc9561c
commit
09d8acbbef
|
@ -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,
|
||||||
|
);
|
||||||
|
}
|
|
@ -4,3 +4,4 @@ light_primary_color = "#ccc"
|
||||||
hacker_primary_color = "#cdf5cc"
|
hacker_primary_color = "#cdf5cc"
|
||||||
solarized_primary_color = "#c5e0df"
|
solarized_primary_color = "#c5e0df"
|
||||||
kimbie_primary_color = "#d1c4e9"
|
kimbie_primary_color = "#d1c4e9"
|
||||||
|
gruv_primary_color = "#b8bb26" #gruv entry
|
|
@ -5,6 +5,7 @@ theme_dark_chroma = "default"
|
||||||
theme_hacker_chroma = "default"
|
theme_hacker_chroma = "default"
|
||||||
theme_solarized_chroma = "default"
|
theme_solarized_chroma = "default"
|
||||||
theme_kimbie_chroma = "default"
|
theme_kimbie_chroma = "default"
|
||||||
|
theme_gruv_chroma = "default" #gruv entry
|
||||||
|
|
||||||
# possible value: default, dark, light, hacker, solarized, kimbie
|
# possible value: default, dark, light, hacker, solarized, kimbie
|
||||||
# restart hugo after change this value
|
# restart hugo after change this value
|
||||||
|
@ -13,3 +14,4 @@ theme_dark_chroma_background = "default"
|
||||||
theme_hacker_chroma_background = "default"
|
theme_hacker_chroma_background = "default"
|
||||||
theme_solarized_chroma_background = "default"
|
theme_solarized_chroma_background = "default"
|
||||||
theme_kimbie_chroma_background = "default"
|
theme_kimbie_chroma_background = "default"
|
||||||
|
theme_gruv_chroma_background = "default" #gruv entry
|
|
@ -115,5 +115,8 @@ other = "solarized"
|
||||||
[skin-kimbie]
|
[skin-kimbie]
|
||||||
other = "kimbie"
|
other = "kimbie"
|
||||||
|
|
||||||
|
[skin-gruv]
|
||||||
|
other = "gruv"
|
||||||
|
|
||||||
[no-contents]
|
[no-contents]
|
||||||
other = "Nothing to Display"
|
other = "Nothing to Display"
|
|
@ -115,5 +115,8 @@ other = "solarized"
|
||||||
[skin-kimbie]
|
[skin-kimbie]
|
||||||
other = "kimbie"
|
other = "kimbie"
|
||||||
|
|
||||||
|
[skin-gruv]
|
||||||
|
other = "gruv"
|
||||||
|
|
||||||
[no-contents]
|
[no-contents]
|
||||||
other = "Nothing to Display"
|
other = "Nothing to Display"
|
|
@ -115,5 +115,8 @@ other = "solarized"
|
||||||
[skin-kimbie]
|
[skin-kimbie]
|
||||||
other = "kimbie"
|
other = "kimbie"
|
||||||
|
|
||||||
|
[skin-gruv]
|
||||||
|
other = "gruv"
|
||||||
|
|
||||||
[no-contents]
|
[no-contents]
|
||||||
other = "Nothing to Display"
|
other = "Nothing to Display"
|
|
@ -115,5 +115,8 @@ other = "solarized"
|
||||||
[skin-kimbie]
|
[skin-kimbie]
|
||||||
other = "kimbie"
|
other = "kimbie"
|
||||||
|
|
||||||
|
[skin-gruv]
|
||||||
|
other = "gruv"
|
||||||
|
|
||||||
[no-contents]
|
[no-contents]
|
||||||
other = "Nada que Mostrar"
|
other = "Nada que Mostrar"
|
||||||
|
|
|
@ -115,5 +115,8 @@ other = "solarized"
|
||||||
[skin-kimbie]
|
[skin-kimbie]
|
||||||
other = "kimbie"
|
other = "kimbie"
|
||||||
|
|
||||||
|
[skin-gruv]
|
||||||
|
other = "gruv"
|
||||||
|
|
||||||
[no-contents]
|
[no-contents]
|
||||||
other = "Nothing to Display"
|
other = "Nothing to Display"
|
|
@ -115,5 +115,8 @@ other = "solarized"
|
||||||
[skin-kimbie]
|
[skin-kimbie]
|
||||||
other = "kimbie"
|
other = "kimbie"
|
||||||
|
|
||||||
|
[skin-gruv]
|
||||||
|
other = "gruv"
|
||||||
|
|
||||||
[no-contents]
|
[no-contents]
|
||||||
other = "Nothing to Display"
|
other = "Nothing to Display"
|
|
@ -115,5 +115,8 @@ other = "solarized"
|
||||||
[skin-kimbie]
|
[skin-kimbie]
|
||||||
other = "kimbie"
|
other = "kimbie"
|
||||||
|
|
||||||
|
[skin-gruv]
|
||||||
|
other = "gruv"
|
||||||
|
|
||||||
[no-contents]
|
[no-contents]
|
||||||
other = "コンテンツがありません"
|
other = "コンテンツがありません"
|
|
@ -115,5 +115,8 @@ other = "solarized"
|
||||||
[skin-kimbie]
|
[skin-kimbie]
|
||||||
other = "kimbie"
|
other = "kimbie"
|
||||||
|
|
||||||
|
[skin-gruv]
|
||||||
|
other = "gruv"
|
||||||
|
|
||||||
[no-contents]
|
[no-contents]
|
||||||
other = "Nothing to Display"
|
other = "Nothing to Display"
|
|
@ -115,5 +115,8 @@ other = "solarized"
|
||||||
[skin-kimbie]
|
[skin-kimbie]
|
||||||
other = "kimbie"
|
other = "kimbie"
|
||||||
|
|
||||||
|
[skin-gruv]
|
||||||
|
other = "gruv"
|
||||||
|
|
||||||
[no-contents]
|
[no-contents]
|
||||||
other = "Nada a ser exibido"
|
other = "Nada a ser exibido"
|
||||||
|
|
|
@ -115,5 +115,8 @@ other = "solarized"
|
||||||
[skin-kimbie]
|
[skin-kimbie]
|
||||||
other = "kimbie"
|
other = "kimbie"
|
||||||
|
|
||||||
|
[skin-gruv]
|
||||||
|
other = "gruv"
|
||||||
|
|
||||||
[no-contents]
|
[no-contents]
|
||||||
other = "Nothing to Display"
|
other = "Nothing to Display"
|
|
@ -115,5 +115,8 @@ other = "solarized"
|
||||||
[skin-kimbie]
|
[skin-kimbie]
|
||||||
other = "kimbie"
|
other = "kimbie"
|
||||||
|
|
||||||
|
[skin-gruv]
|
||||||
|
other = "gruv"
|
||||||
|
|
||||||
[no-contents]
|
[no-contents]
|
||||||
other = "Nothing to Display"
|
other = "Nothing to Display"
|
|
@ -530,6 +530,8 @@
|
||||||
var skinSolarizedCode = JSON.parse({{ $skinSolarizedCode | jsonify }});
|
var skinSolarizedCode = JSON.parse({{ $skinSolarizedCode | jsonify }});
|
||||||
{{ $skinKimbieCode := (i18n "skin-kimbie") }}
|
{{ $skinKimbieCode := (i18n "skin-kimbie") }}
|
||||||
var skinKimbieCode = JSON.parse({{ $skinKimbieCode | jsonify }});
|
var skinKimbieCode = JSON.parse({{ $skinKimbieCode | jsonify }});
|
||||||
|
{{ $skingruvCode := (i18n "skin-gruv") }}
|
||||||
|
var skingruvCode = JSON.parse({{ $skingruvCode | jsonify }});
|
||||||
|
|
||||||
var setMetaColor = function(themeColor) {
|
var setMetaColor = function(themeColor) {
|
||||||
var metaMsapplicationTileColor = document.getElementsByName('msapplication-TileColor')[0];
|
var metaMsapplicationTileColor = document.getElementsByName('msapplication-TileColor')[0];
|
||||||
|
@ -576,6 +578,8 @@
|
||||||
return 'solarized';
|
return 'solarized';
|
||||||
} else if (themeText === skinKimbieCode) {
|
} else if (themeText === skinKimbieCode) {
|
||||||
return 'kimbie';
|
return 'kimbie';
|
||||||
|
} else if (themeText === skingruvCode) {
|
||||||
|
return 'gruv';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue