hima 1.0.3 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c9de8bf22cf63c60447cc22021249ab1c46e51b4d11f15fa90ddc16f4c7fd728
4
- data.tar.gz: 03e49f9a562277c0cdf22301e6780b9a3cba19de5b0934c6bbae99095e4151dc
3
+ metadata.gz: 2dd6ea79f9e41177d5c7f0905642b15810bdaf9e00ab69cb5a2e98c3ef2b0cfb
4
+ data.tar.gz: 0afff7ad86c53bef7b87d6631f9da7bb94839e7114efdee86bebec0ad218c752
5
5
  SHA512:
6
- metadata.gz: 6576ff08c7d55aface869524de17bd48f8b54354ff0d325f68c233e21a3ad5ef52f705c1eafa85492a54b5881a11827f17fd01e43782a0a529e1ed0dab23705e
7
- data.tar.gz: 5dd026c314cc513bd04082122bad6168ab59285a525560e59153ffdece189a29b1ae0ce5bb45bbe1cf899f9c59752cc9739ca9e292db5216acd34f7da988d8c3
6
+ metadata.gz: d1c410f052c4171f431e57594906ec7410efe6b175518a40c4fd855c370f7c5069aa3d5b98d2c60d352adb4e6a0fde125e33c66037168c2e4199f84835749601
7
+ data.tar.gz: d3faaa334ea5d123d9163cec93daafe1dec15b42cde86cd41a177dc17075ac122106ad714be5ddaa86e7631d688fd635e4d4dc993dfbf0d1f3510aca5771b294
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' }
@@ -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';
@@ -1,20 +1,23 @@
1
1
  @font-face {
2
2
  font-family: 'Oswald';
3
+ font-display: swap;
3
4
  src:
4
5
  local('Oswald'),
5
- url('../fonts/Oswald.ttf') format('truetype');
6
+ url('../fonts/Oswald.woff2') format('woff2');
6
7
  }
7
8
 
8
9
  @font-face {
9
10
  font-family: 'OpenSans';
11
+ font-display: swap;
10
12
  src:
11
13
  local('Open Sans'),
12
- url('../fonts/OpenSans.ttf') format('truetype');
14
+ url('../fonts/OpenSans.woff2') format('woff2');
13
15
  }
14
16
 
15
17
  @font-face {
16
18
  font-family: 'FiraCode';
19
+ font-display: swap;
17
20
  src:
18
21
  local('Fira Code'),
19
- url('../fonts/FiraCode.ttf') format('truetype');
22
+ url('../fonts/FiraCode.woff2') format('woff2');
20
23
  }
data/_sass/hima/main.scss CHANGED
@@ -28,7 +28,7 @@ body {
28
28
  }
29
29
 
30
30
  h1, h2, h3, h4, h5, h6 {
31
- font-family: Oswald;
31
+ font-family: Oswald, Arial, sans-serif;
32
32
  margin-top: 2rem;
33
33
  font-weight: normal;
34
34
  }
@@ -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 {
@@ -95,8 +94,8 @@ a {
95
94
  justify-content: center;
96
95
  align-items: center;
97
96
  font-size: 2.5rem;
98
- font-family: Oswald;
99
- font-variation-settings: "wght" 800;
97
+ font-family: Oswald, Arial, sans-serif;
98
+ font-variation-settings: "wght" 700;
100
99
  text-transform: uppercase;
101
100
  text-align: center;
102
101
  line-height: 1.2;
@@ -347,12 +346,15 @@ pre {
347
346
  }
348
347
  }
349
348
 
349
+ code {
350
+ font-family: FiraCode, monospace;
351
+ }
352
+
350
353
  :not(pre) > code {
351
354
  background: $inline-code-background;
352
355
  padding: .2rem .25rem;
353
356
  border-radius: .25rem;
354
357
  border: .15rem solid $code-border;
355
- font-family: FiraCode;
356
358
  overflow-x: auto;
357
359
  }
358
360
 
@@ -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';
Binary file
Binary file
Binary file
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.3
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Cardoso
@@ -87,9 +87,9 @@ files:
87
87
  - _sass/hima/fonts.scss
88
88
  - _sass/hima/main.scss
89
89
  - assets/css/style.scss
90
- - assets/fonts/FiraCode.ttf
91
- - assets/fonts/OpenSans.ttf
92
- - assets/fonts/Oswald.ttf
90
+ - assets/fonts/FiraCode.woff2
91
+ - assets/fonts/OpenSans.woff2
92
+ - assets/fonts/Oswald.woff2
93
93
  - assets/hima-social-icons.html
94
94
  homepage: https://www.github.com/brandoncardoso/hima
95
95
  licenses:
Binary file
Binary file
Binary file