Aqua skin (#1336)
* Add new skin and update docs * Better screenshots for aqua skin
This commit is contained in:
parent
9529319d78
commit
e05159c290
10 changed files with 73 additions and 4 deletions
|
@ -5,7 +5,7 @@
|
||||||
# For technical reasons, this file is *NOT* reloaded automatically when you use
|
# For technical reasons, this file is *NOT* reloaded automatically when you use
|
||||||
# `jekyll serve`. If you change this file, please restart the server process.
|
# `jekyll serve`. If you change this file, please restart the server process.
|
||||||
|
|
||||||
minimal_mistakes_skin : "default" # "air", "contrast", "dark", "dirt", "mint", "sunrise"
|
minimal_mistakes_skin : "default" # "air", "aqua", "contrast", "dark", "dirt", "mint", "sunrise"
|
||||||
|
|
||||||
# Site Settings
|
# Site Settings
|
||||||
locale : "en"
|
locale : "en"
|
||||||
|
|
30
_sass/minimal-mistakes/skins/_aqua.scss
Normal file
30
_sass/minimal-mistakes/skins/_aqua.scss
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
/* ==========================================================================
|
||||||
|
Aqua skin
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
/* Colors */
|
||||||
|
$gray : #1976d2 !default;
|
||||||
|
$dark-gray : mix(#000, $gray, 40%) !default;
|
||||||
|
$darker-gray : mix(#000, $gray, 60%) !default;
|
||||||
|
$light-gray : mix(#fff, $gray, 50%) !default;
|
||||||
|
$lighter-gray : mix(#fff, $gray, 90%) !default;
|
||||||
|
|
||||||
|
$body-color : #fff !default;
|
||||||
|
$background-color : #f0fff0 !default;
|
||||||
|
$code-background-color : $lighter-gray !default;
|
||||||
|
$code-background-color-dark : $light-gray !default;
|
||||||
|
$text-color : $dark-gray !default;
|
||||||
|
$border-color : $lighter-gray !default;
|
||||||
|
|
||||||
|
$primary-color : $gray !default;
|
||||||
|
$success-color : #27ae60 !default;
|
||||||
|
$warning-color : #e67e22 !default;
|
||||||
|
$danger-color : #c0392b !default;
|
||||||
|
$info-color : #03a9f4 !default;
|
||||||
|
|
||||||
|
/* links */
|
||||||
|
$link-color : $info-color !default;
|
||||||
|
$link-color-hover : mix(#000, $link-color, 25%) !default;
|
||||||
|
$link-color-visited : mix(#fff, $link-color, 25%) !default;
|
||||||
|
$masthead-link-color : $primary-color !default;
|
||||||
|
$masthead-link-color-hover : mix(#000, $primary-color, 25%) !default;
|
|
@ -5,7 +5,7 @@
|
||||||
# For technical reasons, this file is *NOT* reloaded automatically when you use
|
# For technical reasons, this file is *NOT* reloaded automatically when you use
|
||||||
# `jekyll serve`. If you change this file, please restart the server process.
|
# `jekyll serve`. If you change this file, please restart the server process.
|
||||||
|
|
||||||
minimal_mistakes_skin : "default" # "air", "contrast", "dark", "dirt", "mint", "sunrise"
|
minimal_mistakes_skin : "default" # "air", "aqua", "contrast", "dark", "dirt", "mint", "sunrise"
|
||||||
|
|
||||||
# Site Settings
|
# Site Settings
|
||||||
locale : "en-US"
|
locale : "en-US"
|
||||||
|
|
|
@ -28,7 +28,7 @@ theme: minimal-mistakes-jekyll
|
||||||
Easily change the color scheme of the theme using one of the provided "skins":
|
Easily change the color scheme of the theme using one of the provided "skins":
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
minimal_mistakes_skin : "default" # "air", "contrast", "dark", "dirt", "mint", "sunrise"
|
minimal_mistakes_skin : "default" # "air", "aqua", "contrast", "dark", "dirt", "mint", "sunrise"
|
||||||
```
|
```
|
||||||
|
|
||||||
**Note:** If you have made edits to the theme's CSS files be sure to update [`/assets/css/main.scss`](https://github.com/mmistakes/minimal-mistakes/blob/master/assets/css/main.scss) to include `@import "minimal-mistakes/skins/{{ site.minimal_mistakes_skin | default: 'default' }}"; // skin` before the `minimal-mistakes` import.
|
**Note:** If you have made edits to the theme's CSS files be sure to update [`/assets/css/main.scss`](https://github.com/mmistakes/minimal-mistakes/blob/master/assets/css/main.scss) to include `@import "minimal-mistakes/skins/{{ site.minimal_mistakes_skin | default: 'default' }}"; // skin` before the `minimal-mistakes` import.
|
||||||
|
@ -43,6 +43,15 @@ minimal_mistakes_skin : "default" # "air", "contrast", "dark", "dirt", "mint", "
|
||||||
<figcaption>Calm and blue.</figcaption>
|
<figcaption>Calm and blue.</figcaption>
|
||||||
</figure>
|
</figure>
|
||||||
|
|
||||||
|
#### Aqua skin: `aqua`
|
||||||
|
{:.no_toc}
|
||||||
|
|
||||||
|
<figure class="half">
|
||||||
|
<a href="{{ site.baseurl }}/assets/images/aqua-skin-archive-large.png"><img src="{{ site.baseurl }}/assets/images/aqua-skin-archive.png"></a>
|
||||||
|
<a href="{{ site.baseurl }}/assets/images/aqua-skin-post-large.png"><img src="{{ site.baseurl }}/assets/images/aqua-skin-post.png"></a>
|
||||||
|
<figcaption>Just like water.</figcaption>
|
||||||
|
</figure>
|
||||||
|
|
||||||
#### Contrast skin: `contrast`
|
#### Contrast skin: `contrast`
|
||||||
{:.no_toc}
|
{:.no_toc}
|
||||||
|
|
||||||
|
|
30
docs/_sass/minimal-mistakes/skins/_aqua.scss
Normal file
30
docs/_sass/minimal-mistakes/skins/_aqua.scss
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
/* ==========================================================================
|
||||||
|
Aqua skin
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
/* Colors */
|
||||||
|
$gray : #1976d2 !default;
|
||||||
|
$dark-gray : mix(#000, $gray, 40%) !default;
|
||||||
|
$darker-gray : mix(#000, $gray, 60%) !default;
|
||||||
|
$light-gray : mix(#fff, $gray, 50%) !default;
|
||||||
|
$lighter-gray : mix(#fff, $gray, 90%) !default;
|
||||||
|
|
||||||
|
$body-color : #fff !default;
|
||||||
|
$background-color : #f0fff0 !default;
|
||||||
|
$code-background-color : $lighter-gray !default;
|
||||||
|
$code-background-color-dark : $light-gray !default;
|
||||||
|
$text-color : $dark-gray !default;
|
||||||
|
$border-color : $lighter-gray !default;
|
||||||
|
|
||||||
|
$primary-color : $gray !default;
|
||||||
|
$success-color : #27ae60 !default;
|
||||||
|
$warning-color : #e67e22 !default;
|
||||||
|
$danger-color : #c0392b !default;
|
||||||
|
$info-color : #03a9f4 !default;
|
||||||
|
|
||||||
|
/* links */
|
||||||
|
$link-color : $info-color !default;
|
||||||
|
$link-color-hover : mix(#000, $link-color, 25%) !default;
|
||||||
|
$link-color-visited : mix(#fff, $link-color, 25%) !default;
|
||||||
|
$masthead-link-color : $primary-color !default;
|
||||||
|
$masthead-link-color-hover : mix(#000, $primary-color, 25%) !default;
|
BIN
docs/assets/images/aqua-skin-archive-large.png
Normal file
BIN
docs/assets/images/aqua-skin-archive-large.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 127 KiB |
BIN
docs/assets/images/aqua-skin-archive.png
Normal file
BIN
docs/assets/images/aqua-skin-archive.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 34 KiB |
BIN
docs/assets/images/aqua-skin-post-large.png
Normal file
BIN
docs/assets/images/aqua-skin-post-large.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 340 KiB |
BIN
docs/assets/images/aqua-skin-post.png
Normal file
BIN
docs/assets/images/aqua-skin-post.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
|
@ -6,7 +6,7 @@
|
||||||
# `jekyll serve`. If you change this file, please restart the server process.
|
# `jekyll serve`. If you change this file, please restart the server process.
|
||||||
|
|
||||||
theme : "minimal-mistakes-jekyll"
|
theme : "minimal-mistakes-jekyll"
|
||||||
minimal_mistakes_skin : "default" # "air", "contrast", "dark", "dirt", "mint", "sunrise"
|
minimal_mistakes_skin : "default" # "air", "aqua", "contrast", "dark", "dirt", "mint", "sunrise"
|
||||||
|
|
||||||
# Site Settings
|
# Site Settings
|
||||||
locale : "en"
|
locale : "en"
|
||||||
|
|
Loading…
Reference in a new issue