hima 1.0.2 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e317e9c437f7be0212094da25b2a85abf65f524d97b4332ae84e8ba65cda3b88
4
- data.tar.gz: 38b869a3d684ecd592bb9804c6d34494c4bf7ff69e943887cdae32e9c3829efa
3
+ metadata.gz: ef3c9fc04bf537d4864657fcadc4d80dcaf0f1d2988357ed92596b3bd3f2acda
4
+ data.tar.gz: b547c7dd9c6f2fbeecc223730c5f43f61694597530c14b50ec103fbf3f6462f7
5
5
  SHA512:
6
- metadata.gz: a4b81d2c43884f460dcccec6e35dc7282d6941e25f305fadabf5fe0d2cd7dcfbbc211620f8559ea176e5d48205f836961eb4bbdae2430cbff845ccde598ea168
7
- data.tar.gz: 414c64fc07b9a337d7ca1ff59f1aa02069b97a2a586674c435dab9cbf789d9f4f65134c1c647ebc4be07693b3b50f149fc7356e90b21cb7a807ac6a25cbc0faa
6
+ metadata.gz: 60604c04f4e26ac64cab6cb4bf931e0e7bd04619a61bdf605113987f7abaec53d9954630f4aa011819cd78e35b69c9ae0eb655d9b14889a999de391e30355307
7
+ data.tar.gz: 918d18d1ff54e4f886aa916402558f5fa785828f621421d4e0590428a9e613878499f42315583b08e9c85904b060a58936332560f3867d8ab41aefc97f74cfe9
data/README.md CHANGED
@@ -3,6 +3,12 @@
3
3
 
4
4
  hima is a simple Jekyll theme with the goal of being accessible to everyone, and follows [The A11y Project's accessibility guidelines](https://www.a11yproject.com/checklist/).
5
5
 
6
+ [Theme Preview](https://brandoncardoso.github.io/hima)
7
+
8
+ ![hima light preview](/preview-light.png)
9
+
10
+ ![hima dark preview](/preview-dark.png)
11
+
6
12
  ## Installation
7
13
 
8
14
  ### Remote Theme Installation (for GitHub pages)
data/_config.yml CHANGED
@@ -4,11 +4,11 @@ author:
4
4
  email: youremail@domain.com
5
5
 
6
6
  header_pages:
7
- - users.md
8
7
  - about.md
8
+ - users.md
9
9
 
10
10
  hima:
11
- colourscheme: 'auto'
11
+ colourscheme: auto # auto, light, dark
12
12
  social:
13
13
  - { platform: github, url: 'https://www.github.com' }
14
14
  - { platform: linkedin, url: 'https://www.linkedin.com' }
@@ -6,9 +6,9 @@
6
6
  <div class="header__container">
7
7
  <div class="header__title">
8
8
  {%- if page.layout == 'home' -%}
9
- <h1><a href="/">{{ site.title }}</a></h1>
9
+ <h1><a href="{{ '/' | relative_url }}">{{ site.title }}</a></h1>
10
10
  {%- else -%}
11
- <a href="/">{{ site.title }}</a>
11
+ <a href="{{ '/' | relative_url }}">{{ site.title }}</a>
12
12
  {%- endif -%}
13
13
  </div>
14
14
 
@@ -1,5 +1,5 @@
1
- @import "hima/colourschemes/_syntax/gruvbox-light.css";
2
- @import '_gruvbox-colours';
1
+ @import './_syntax/gruvbox-light';
2
+ @import './_gruvbox-colours';
3
3
 
4
4
  $white: #faf6e8;
5
5
 
@@ -1,9 +1,9 @@
1
1
  @media (prefers-color-scheme: light) {
2
- @import 'hima/colourschemes/_gruvbox-light-theme';
2
+ @import './_gruvbox-light-theme';
3
3
  }
4
4
 
5
5
  @media (prefers-color-scheme: dark) {
6
- @import 'hima/colourschemes/_gruvbox-dark-theme';
6
+ @import './_gruvbox-dark-theme';
7
7
  }
8
8
 
9
- @import 'hima/colourschemes/_base';
9
+ @import './_base';
data/_sass/hima/main.scss CHANGED
@@ -87,7 +87,6 @@ a {
87
87
  position: sticky;
88
88
  top: -($header-height + $header-margin-top - $header-pinned-height);
89
89
  height: $header-height + $header-margin-top;
90
- transition: 0.2s ease;
91
90
  -webkit-font-smoothing: antialiased;
92
91
 
93
92
  &__title {
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  ---
3
3
 
4
- @import "hima/colourschemes/{{ site.hima.colourscheme | default: 'light' }}";
4
+ @import "hima/colourschemes/{{ site.hima.colourscheme | default: 'auto' }}";
5
5
  @import 'hima/main';
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hima
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Cardoso