jekyll-theme-minimalistic 0.3.11 → 0.4.0
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 +4 -4
- data/README.md +16 -3
- data/_sass/colors.scss +84 -0
- data/_sass/jekyll-theme-minimalistic.scss +1 -1
- data/_sass/rouge-github.scss +30 -28
- data/assets/css/colors-auto.scss +5 -1
- data/assets/css/colors-dark.scss +3 -0
- data/assets/css/colors-light.scss +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 80dba14004ebbec626a9798386c067d3f6bc9a58f4d350bddb6b3a9b50d4c10c
|
|
4
|
+
data.tar.gz: 751aebd29f0651582b9d06998df6ea6579a3368a1ce252a57bfe342c480034ce
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f3d3ec9e2c68829730a5bd61d4b1f75f24625a2f0f657ce7bca0deb3535d22a792f8e28973754916901007a958bb9a565a89a68c88d0ad29ac40dc894d694dbd
|
|
7
|
+
data.tar.gz: f4b4eec0ac6ccb33ab4fba88486fd17eca59bba84bf1a74bada7dd2e1c6cc59678b4cc5cab6500c86088a9969ca1cb485295e222131f99f617a7684100dbc8a3
|
data/README.md
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
# jekyll-theme-minimalistic
|
|
2
2
|
|
|
3
|
-
|
|
4
3
|
[](https://jekyll-themes.com/jekyll-theme-minimalistic/)
|
|
5
4
|
[](#)
|
|
6
5
|
[](#)
|
|
@@ -9,7 +8,21 @@
|
|
|
9
8
|
[](https://github.com/vaibhavvikas/jekyll-theme-minimalistic/actions/workflows/pages/pages-build-deployment)
|
|
10
9
|
|
|
11
10
|
|
|
12
|
-
|
|
11
|
+
Minimalistic theme is based on gh-pages minimal theme, with navigation in the sidebar and super amazing features. Wanna see it in action? You can view a live demo at [Minimalistic](https://vaibhavvikas.github.io/jekyll-theme-minimalistic/).
|
|
12
|
+
|
|
13
|
+

|
|
14
|
+
|
|
15
|
+
## Features
|
|
16
|
+
1. Auto light/dark mode.
|
|
17
|
+
2. Syntax Highlighting for light/dark mode.
|
|
18
|
+
3. Logo Support for thr page.
|
|
19
|
+
4. Links in Sidebar.
|
|
20
|
+
5. List/Sublist in Sidebar.
|
|
21
|
+
6. Fully responsive with mobile support.
|
|
22
|
+
7. Logo/Favicon Support.
|
|
23
|
+
8. Github-Pages Support.
|
|
24
|
+
9. Under active development.
|
|
25
|
+
10. And many more. 😁
|
|
13
26
|
|
|
14
27
|
## Usage
|
|
15
28
|
|
|
@@ -169,7 +182,7 @@ The theme contains a minimal test suite, to ensure a site with the theme would b
|
|
|
169
182
|
|
|
170
183
|
## Contributors
|
|
171
184
|
|
|
172
|
-
All contributions are welcome.
|
|
185
|
+
All contributions and suggestions are welcome.
|
|
173
186
|
|
|
174
187
|
## Credits:
|
|
175
188
|
|
data/_sass/colors.scss
CHANGED
|
@@ -124,3 +124,87 @@ hvr -> hover
|
|
|
124
124
|
--L-small-in-a: 60%;
|
|
125
125
|
--L-table-header-and-dt: 90%;
|
|
126
126
|
}
|
|
127
|
+
|
|
128
|
+
@mixin code-highlights {
|
|
129
|
+
--clr-w-text: hsl(60, 30%, var(--L-w-text));
|
|
130
|
+
--clr-err-text: hsl(231, 15%, var(--L-err-text));
|
|
131
|
+
--clr-err-bg: hsl(326, 100%, var(--L-err-bg));
|
|
132
|
+
--clr-cd-text: hsl(232, 14%, var(--L-cd-text));
|
|
133
|
+
--clr-cp-text: hsl(135, 94%, var(--L-cp-text));
|
|
134
|
+
--clr-nt-text: hsl(135, 94%, var(--L-nt-text));
|
|
135
|
+
--clr-nn-text: hsl(135, 94%, var(--L-nn-text));
|
|
136
|
+
--clr-nc-text: hsl(135, 94%, var(--L-nn-text));
|
|
137
|
+
--clr-no-text: hsl(135, 94%, var(--L-no-text));
|
|
138
|
+
--clr-na-text: hsl(191, 97%, var(--L-na-text));
|
|
139
|
+
--clr-o-text: hsl(135, 94%, var(--L-o-text));
|
|
140
|
+
--clr-p-text: hsl(135, 94%, var(--L-p-text));
|
|
141
|
+
--clr-gi-text: hsl(65, 92%, var(--L-gi-text));
|
|
142
|
+
--clr-gd-text: hsl(326, 100%, var(--L-gd-text));
|
|
143
|
+
--clr-gh-text: hsl(191, 97%, var(--L-gh-text));
|
|
144
|
+
--clr-k-text: hsl(265, 89%, var(--L-k-text));
|
|
145
|
+
--clr-kc-text: hsl(31, 100%, var(--L-kc-text));
|
|
146
|
+
--clr-kt-text: hsl(31, 100%, var(--L-kt-text));
|
|
147
|
+
--clr-kd-text: hsl(31, 100%, var(--L-kd-text));
|
|
148
|
+
--clr-s-text: hsl(65, 92%, var(--L-s-text));
|
|
149
|
+
--clr-sr-text: hsl(191, 97%, var(--L-sr-text));
|
|
150
|
+
--clr-si-text: hsl(0, 100%, var(--L-si-text));
|
|
151
|
+
--clr-se-text: hsl(0, 100%, var(--L-se-text));
|
|
152
|
+
--clr-ss-text: hsl(65, 92%, var(--L-ss-text));
|
|
153
|
+
--clr-m-text: hsl(65, 92%, var(--L-m-text));
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
@mixin highlights-dark {
|
|
157
|
+
--L-w-text: 96%;
|
|
158
|
+
--L-err-text: 18%;
|
|
159
|
+
--L-err-bg: 74%;
|
|
160
|
+
--L-cd-text: 81%;
|
|
161
|
+
--L-cp-text: 65%;
|
|
162
|
+
--L-nt-text: 65%;
|
|
163
|
+
--L-nn-text: 65%;
|
|
164
|
+
--L-nc-text: 65%;
|
|
165
|
+
--L-no-text: 65%;
|
|
166
|
+
--L-na-text: 77%;
|
|
167
|
+
--L-0-text: 96%;
|
|
168
|
+
--L-p-text: 96%;
|
|
169
|
+
--L-gi-text: 76%;
|
|
170
|
+
--L-gd-text: 74%;
|
|
171
|
+
--L-gh-text: 77%;
|
|
172
|
+
--L-k-text: 78%;
|
|
173
|
+
--L-kc-text: 71%;
|
|
174
|
+
--L-kk-text: 71%;
|
|
175
|
+
--L-kd-text: 71%;
|
|
176
|
+
--L-s-text: 76%;
|
|
177
|
+
--L-sr-text: 77%;
|
|
178
|
+
--L-si-text: 67%;
|
|
179
|
+
--L-se-text: 67%;
|
|
180
|
+
--L-ss-text: 76%;
|
|
181
|
+
--L-m-text: 76%;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
@mixin highlights-light {
|
|
185
|
+
--L-w-text: 46%;
|
|
186
|
+
--L-err-text: 78%;
|
|
187
|
+
--L-err-bg: 24%;
|
|
188
|
+
--L-cd-text: 21%;
|
|
189
|
+
--L-cp-text: 25%;
|
|
190
|
+
--L-nt-text: 25%;
|
|
191
|
+
--L-nn-text: 25%;
|
|
192
|
+
--L-nc-text: 25%;
|
|
193
|
+
--L-no-text: 25%;
|
|
194
|
+
--L-na-text: 37%;
|
|
195
|
+
--L-0-text: 36%;
|
|
196
|
+
--L-p-text: 36%;
|
|
197
|
+
--L-gi-text: 36%;
|
|
198
|
+
--L-gd-text: 34%;
|
|
199
|
+
--L-gh-text: 37%;
|
|
200
|
+
--L-k-text: 38%;
|
|
201
|
+
--L-kc-text: 31%;
|
|
202
|
+
--L-kk-text: 31%;
|
|
203
|
+
--L-kd-text: 31%;
|
|
204
|
+
--L-s-text: 36%;
|
|
205
|
+
--L-sr-text: 37%;
|
|
206
|
+
--L-si-text: 37%;
|
|
207
|
+
--L-se-text: 37%;
|
|
208
|
+
--L-ss-text: 46%;
|
|
209
|
+
--L-m-text: 46%;
|
|
210
|
+
}
|
data/_sass/rouge-github.scss
CHANGED
|
@@ -1,81 +1,83 @@
|
|
|
1
1
|
/*
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
theme created based on the dracula colours
|
|
3
|
+
(draculatheme.com) with auto light/dark support.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
@import "colors";
|
|
7
|
+
|
|
6
8
|
.highlight table td { padding: 5px; }
|
|
7
9
|
.highlight table pre { margin: 0; }
|
|
8
10
|
.highlight, .highlight .w {
|
|
9
|
-
color:
|
|
11
|
+
color: var(--clr-w-text);
|
|
10
12
|
}
|
|
11
13
|
.highlight .err {
|
|
12
|
-
color:
|
|
13
|
-
background-color:
|
|
14
|
+
color: var(--clr-err-text);
|
|
15
|
+
background-color: var(--clr-err-bg);
|
|
14
16
|
}
|
|
15
17
|
.highlight .c, .highlight .cd, .highlight .cm, .highlight .c1, .highlight .cs {
|
|
16
|
-
color:
|
|
18
|
+
color: var(--clr-cd-text);
|
|
17
19
|
}
|
|
18
20
|
.highlight .cp {
|
|
19
|
-
color:
|
|
21
|
+
color: var(--clr-cp-text);
|
|
20
22
|
}
|
|
21
23
|
.highlight .nt {
|
|
22
|
-
color:
|
|
24
|
+
color: var(--clr-cp-text);
|
|
23
25
|
}
|
|
24
26
|
.highlight .o, .highlight .ow {
|
|
25
|
-
color:
|
|
27
|
+
color: var(--clr-o-text);
|
|
26
28
|
}
|
|
27
29
|
.highlight .p, .highlight .pi {
|
|
28
|
-
color:
|
|
30
|
+
color: var(--clr-o-text);
|
|
29
31
|
}
|
|
30
32
|
.highlight .gi {
|
|
31
|
-
color:
|
|
33
|
+
color: var(--clr-gi-text);
|
|
32
34
|
}
|
|
33
35
|
.highlight .gd {
|
|
34
|
-
color:
|
|
36
|
+
color: var(--clr-gd-text);
|
|
35
37
|
}
|
|
36
38
|
.highlight .gh {
|
|
37
|
-
color:
|
|
39
|
+
color: var(--clr-gh-text);
|
|
38
40
|
font-weight: bold;
|
|
39
41
|
}
|
|
40
42
|
.highlight .k, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kv {
|
|
41
|
-
color:
|
|
43
|
+
color: var(--clr-k-text);
|
|
42
44
|
}
|
|
43
45
|
.highlight .kc {
|
|
44
|
-
color:
|
|
46
|
+
color: var(--clr-kc-text);
|
|
45
47
|
}
|
|
46
48
|
.highlight .kt {
|
|
47
|
-
color:
|
|
49
|
+
color: var(--clr-kt-text);
|
|
48
50
|
}
|
|
49
51
|
.highlight .kd {
|
|
50
|
-
color:
|
|
52
|
+
color: var(--clr-kd-text);
|
|
51
53
|
}
|
|
52
54
|
.highlight .s, .highlight .sb, .highlight .sc, .highlight .sd, .highlight .s2, .highlight .sh, .highlight .sx, .highlight .s1 {
|
|
53
|
-
color:
|
|
55
|
+
color: var(--clr-s-text);
|
|
54
56
|
}
|
|
55
57
|
.highlight .sr {
|
|
56
|
-
color:
|
|
58
|
+
color: var(--clr-sr-text);
|
|
57
59
|
}
|
|
58
60
|
.highlight .si {
|
|
59
|
-
color:
|
|
61
|
+
color: var(--clr-si-text);
|
|
60
62
|
}
|
|
61
63
|
.highlight .se {
|
|
62
|
-
color:
|
|
64
|
+
color: var(--clr-se-text);
|
|
63
65
|
}
|
|
64
66
|
.highlight .nn {
|
|
65
|
-
color:
|
|
67
|
+
color: var(--clr-nn-text);
|
|
66
68
|
}
|
|
67
69
|
.highlight .nc {
|
|
68
|
-
color:
|
|
70
|
+
color: var(--clr-nc-text);
|
|
69
71
|
}
|
|
70
72
|
.highlight .no {
|
|
71
|
-
color:
|
|
73
|
+
color: var(--clr-no-text);
|
|
72
74
|
}
|
|
73
75
|
.highlight .na {
|
|
74
|
-
color:
|
|
76
|
+
color: var(--clr-na-text);
|
|
75
77
|
}
|
|
76
78
|
.highlight .m, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .il, .highlight .mo, .highlight .mb, .highlight .mx {
|
|
77
|
-
color:
|
|
79
|
+
color: var(--clr-m-text);
|
|
78
80
|
}
|
|
79
81
|
.highlight .ss {
|
|
80
|
-
color:
|
|
81
|
-
}
|
|
82
|
+
color: var(--clr-ss-text);
|
|
83
|
+
}
|
data/assets/css/colors-auto.scss
CHANGED
|
@@ -7,12 +7,15 @@
|
|
|
7
7
|
// @media prefers-color-scheme it will default to dark mode
|
|
8
8
|
:root {
|
|
9
9
|
@include colors;
|
|
10
|
-
@include
|
|
10
|
+
@include dark-colors;
|
|
11
|
+
@include code-highlights;
|
|
12
|
+
@include highlights-dark;
|
|
11
13
|
}
|
|
12
14
|
|
|
13
15
|
@media screen and (prefers-color-scheme: dark) {
|
|
14
16
|
:root{
|
|
15
17
|
@include dark-colors;
|
|
18
|
+
@include highlights-dark;
|
|
16
19
|
}
|
|
17
20
|
}
|
|
18
21
|
|
|
@@ -21,5 +24,6 @@
|
|
|
21
24
|
// as that would use a lot of ink
|
|
22
25
|
:root {
|
|
23
26
|
@include light-colors;
|
|
27
|
+
@include highlights-light
|
|
24
28
|
}
|
|
25
29
|
}
|
data/assets/css/colors-dark.scss
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-theme-minimalistic
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Vaibhav Vikas
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2022-07-
|
|
12
|
+
date: 2022-07-24 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: jekyll
|