letitbex-theme 0.1.7.2 → 0.2.0

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: d79b8d1cb5f503c0b22e80b76ad549894a5094034087b0204c61615bf9350733
4
- data.tar.gz: 2c55f6f450dd29a461aa948f0a57a16496cdaeb1af4ec6e124ad6c5d3c07c7e4
3
+ metadata.gz: 7d1c1505ac4dc4f9eca9587a4d735bd187e603c34ee04d6403eef2b8740a430a
4
+ data.tar.gz: dd9c01b298831ff6ce830045b32d45ddffa72e6424b3519b0f1a58a390947e49
5
5
  SHA512:
6
- metadata.gz: 7d45850aa8df17ee9ce83f4367296538b490c4f1a6443c7fa2556bc573754a12d497e022c861dbea871de509d4e757d0ede1653a5ab47cd842baca0c7a8e84c5
7
- data.tar.gz: acc5af4339832cebc90ce6b381733fd3816d6efbfc6967c6a91ba6645b81a63a73a36c3b4d0cb1b96fa5531dc3d8c63ad26cbb78f3707f952608cc33375c546b
6
+ metadata.gz: 55f2075f1ebc76a079d1f72b454be87e29d832a96316d3a86b07780391b3b8cc8de89c8073496f6efca0adc829c1d4622c261554084dea626a38a8ece50c2c0e
7
+ data.tar.gz: 7c6e70a4a947ca931047b1a9f6893aa49ef57d82b9cc19b02b30c7cef3b7ea88db11fcaeb57e5a889ef0e0c2b5d676ed6c097837509c5c1b709026d8d005e15b
data/README.md CHANGED
@@ -16,6 +16,8 @@
16
16
  ### Addition configs to config.yml
17
17
  - `header_pages`: to specify which pages should be displayed in navbar
18
18
  - `footer`: string, which will be inserted on the end of the page (doesn't support markup, but html)
19
+ - To set bacground image to copy image to assets folder as 'bg.png'. 'bg.png' is the default value, in case you want to change the name or use image with different extension change the value in 'assets/base.scss' line 22 in gems folder where theme is present.
20
+ - Run 'add-theme.sh' to create themes from image. The script requires [pywal](https://pypi.org/project/pywal/) colorschemes to be present.
19
21
 
20
22
  ## Styles
21
23
  ### d1
@@ -35,3 +37,6 @@
35
37
 
36
38
  ### neon
37
39
  ![neon](neon.gif)
40
+
41
+ ### terrain
42
+ ![terrain]((terrain.gif))
data/_sass/_d1.scss CHANGED
@@ -1,6 +1,3 @@
1
- /**
2
- * Hacker theme variables
3
- */
4
1
 
5
2
  :root {
6
3
  --base-color: var(--code-color-15);
@@ -12,6 +9,7 @@
12
9
  --text-color: var(--base-color);
13
10
  --placeholder-color: var(--base-color);
14
11
  --link-color: var(--code-color-8);
12
+ --config-color: var(--code-color-0);
15
13
  --code-color-0: #0a0b08;
16
14
  --code-color-1: #675638;
17
15
  --code-color-2: #555B47;
data/_sass/_dune.scss CHANGED
@@ -12,6 +12,7 @@
12
12
  --text-color: var(--base-color);
13
13
  --placeholder-color: var(--base-color);
14
14
  --link-color: var(--code-color-17);
15
+ --config-color: var(--code-color-0);
15
16
  --code-color-0: #422001;
16
17
  --code-color-1: #F5AF50;
17
18
  --code-color-2: #F4B76D;
data/_sass/_gits.scss CHANGED
@@ -1,6 +1,3 @@
1
- /**
2
- * Hacker theme variables
3
- */
4
1
 
5
2
  :root {
6
3
  --base-color: var(--code-color-15);
@@ -12,6 +9,7 @@
12
9
  --text-color: var(--base-color);
13
10
  --placeholder-color: var(--base-color);
14
11
  --link-color: var(--code-color-2);
12
+ --config-color: var(--code-color-0);
15
13
  --code-color-0: #15121d;
16
14
  --code-color-1: #8E767F;
17
15
  --code-color-2: #3F7782;
data/_sass/_hacker.scss CHANGED
@@ -1,6 +1,3 @@
1
- /**
2
- * Hacker theme variables
3
- */
4
1
 
5
2
  :root {
6
3
  --base-color: #00ff00;
@@ -12,6 +9,7 @@
12
9
  --text-color: var(--base-color);
13
10
  --placeholder-color: var(--base-color);
14
11
  --link-color: var(--code-color-2);
12
+ --config-color: var(--code-color-0);
15
13
  --code-color-0: #00aa00;
16
14
  --code-color-1: #aaaaaa;
17
15
  --code-color-2: #ffffcc;
data/_sass/_leaves.scss CHANGED
@@ -1,6 +1,3 @@
1
- /**
2
- * Hacker theme variables
3
- */
4
1
 
5
2
  :root {
6
3
  --base-color: var(--code-color-15);
@@ -12,6 +9,7 @@
12
9
  --text-color: var(--base-color);
13
10
  --placeholder-color: var(--base-color);
14
11
  --link-color: var(--code-color-2);
12
+ --config-color: var(--code-color-0);
15
13
  --code-color-0: #0e0f10;
16
14
  --code-color-1: #526661;
17
15
  --code-color-2: #3E816D;
data/_sass/_neon.scss CHANGED
@@ -1,6 +1,3 @@
1
- /**
2
- * Hacker theme variables
3
- */
4
1
 
5
2
  :root {
6
3
  --base-color: var(--code-color-15);
@@ -0,0 +1,34 @@
1
+
2
+ :root {
3
+ --base-color: var(--code-color-17);
4
+ --border: dashed 1px var(--code-color-14);
5
+ --selection-background: var(--code-color-5);
6
+ --selection-text: var(--code-color-0);
7
+ --highlight-background: var(--code-color-2);
8
+ --background-color: var(--code-color-0);
9
+ --text-color: var(--base-color);
10
+ --placeholder-color: var(--base-color);
11
+ --link-color: var(--code-color-19);
12
+ --config-color: var(--code-color-18);
13
+ --code-color-0: #0A001A;
14
+ --code-color-1: #5A2247;
15
+ --code-color-2: #6E2B4D;
16
+ --code-color-3: #883B54;
17
+ --code-color-4: #933961;
18
+ --code-color-5: #964552;
19
+ --code-color-6: #AB5156;
20
+ --code-color-7: #cb9da7;
21
+ --code-color-8: #8e6d74;
22
+ --code-color-9: #5A2247;
23
+ --code-color-10: #6E2B4D;
24
+ --code-color-11: #883B54;
25
+ --code-color-12: #933961;
26
+ --code-color-13: #964552;
27
+ --code-color-14: #AB5156;
28
+ --code-color-15: #cb9da7;
29
+ --code-color-16: #6BA1A7;
30
+ --code-color-17: #ffffff;
31
+ --code-color-18: #FDE4C1;
32
+ --code-color-19: #B19F87;
33
+ // --code-color-19: #FDD298;
34
+ }
data/_sass/base.scss CHANGED
@@ -17,15 +17,16 @@ $container-max-width: 60% !default;
17
17
 
18
18
  /**
19
19
  * Global
20
+
20
21
  */
21
- body { background-color: var(--background-color); margin: 0 auto; padding: 0; font-family: $base-font-family; font-size: $base-font-size; color: var(--text-color); text-align: left; line-height: $base-line-height !important; }
22
+ body { background-image: url('/assets/bg.png'); background-repeat: no-repeat; background-attachment: fixed; background-size: cover;background-color: var(--background-color); margin: 0 auto; padding: 0; font-family: $base-font-family; font-size: $base-font-size; color: var(--text-color); text-align: left; line-height: $base-line-height !important; }
22
23
  h1, h2, h3, h4, h5, h6 { font-size: $base-font-size; margin: 0px; margin-top: 22px; font-weight: bold; color: var(--text-color); }
23
24
  ul, ol { margin: 0px; color: var(--text-color); }
24
25
  img { display: inline-block; margin-left:auto; margin-right: auto; }
25
26
  #logo_foot { display: block ;margin-left: auto; margin-right:auto; }
26
27
  #logo_head { display:initial ;margin-left: auto; margin-right:auto; }
27
28
  a { text-decoration: none; color: var(--link-color); }
28
- a:hover { color: var(--background-color); background-color: var(--base-color); }
29
+ a:hover { color: var(--background-color); background-color: var(--link-color); }
29
30
  @media only screen and (max-device-width: 500px) { * { font-size: $mobile-font-size !important; } }
30
31
 
31
32
  /**
@@ -77,10 +78,10 @@ textarea { vertical-align: top; }
77
78
  * Code and syntax highlighting
78
79
  */
79
80
  .lineno { color: var(--code-color-1); margin-right: 15px; }
80
- blockquote { background-color: var(--code-color-11); padding-top:5px; padding-bottom:1px; padding-right:5px; padding-left:8px; font-size: $second-font-size; color: var(--code-color-0); font-family: $base-font-family !important;}
81
+ blockquote { background-color: var(--code-color-11); padding-top:5px; padding-bottom:1px; padding-right:5px; padding-left:8px; font-size: $second-font-size; color: var(--config-color); font-family: $base-font-family !important;}
81
82
 
82
83
  figure.highlight { margin: 5px 0; }
83
- pre { background-color: var(--code-color-9); border: none; padding-top:5px; padding-bottom:8px; padding-right:5px; padding-left:8px; margin: 0; overflow:auto; font-size: $second-font-size; color: var(--code-color-0); font-family: $base-font-family !important; }
84
+ pre { background-color: var(--code-color-9); border: none; padding-top:5px; padding-bottom:8px; padding-right:5px; padding-left:8px; margin: 0; overflow:auto; font-size: $second-font-size; color: var(--config-color); font-family: $base-font-family !important; }
84
85
  .highlight .hll { background-color: var(--code-color-2); }
85
86
  .highlight .c { color: var(--code-color-1); font-style: italic } /* Comment */
86
87
  .highlight .err { color: var(--code-color-3); background-color: var(--code-color-4); } /* Error */
@@ -0,0 +1,7 @@
1
+ ---
2
+ # Only the main Sass file needs front matter (the dashes are enough)
3
+ ---
4
+
5
+ @import "test";
6
+ @import "base";
7
+
data/assets/main.scss CHANGED
@@ -9,6 +9,7 @@
9
9
  @import "d1";
10
10
  @import "gits";
11
11
  @import "dune";
12
+ @import "terrain";
12
13
 
13
14
  @media (prefers-color-scheme: hacker) {
14
15
  @import "hacker";
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: letitbex-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7.2
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - mrtsukim0t0-
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-09 00:00:00.000000000 Z
11
+ date: 2023-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '3.5'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '3.5'
27
27
  - !ruby/object:Gem::Dependency
@@ -84,13 +84,13 @@ files:
84
84
  - _layouts/home.html
85
85
  - _layouts/page.html
86
86
  - _layouts/post.html
87
- - _sass/Iosevka-Nerd-Font.ttf
88
87
  - _sass/_d1.scss
89
88
  - _sass/_dune.scss
90
89
  - _sass/_gits.scss
91
90
  - _sass/_hacker.scss
92
91
  - _sass/_leaves.scss
93
92
  - _sass/_neon.scss
93
+ - _sass/_terrain.scss
94
94
  - _sass/base.scss
95
95
  - assets/main-d1.scss
96
96
  - assets/main-dune.scss
@@ -98,6 +98,7 @@ files:
98
98
  - assets/main-hacker.scss
99
99
  - assets/main-leaves.scss
100
100
  - assets/main-neon.scss
101
+ - assets/main-terrain.scss
101
102
  - assets/main.scss
102
103
  homepage: https://gitlab.com/0t0/letitbex-theme.git
103
104
  licenses:
Binary file