jekyll-theme-bluegreen 0.1.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 +7 -0
- data/LICENSE +21 -0
- data/README.md +34 -0
- data/_config.yml +81 -0
- data/_includes/aside.html +20 -0
- data/_includes/footer.html +33 -0
- data/_includes/head.html +44 -0
- data/_includes/header.html +3 -0
- data/_includes/pagination.html +27 -0
- data/_includes/post_pagination.html +12 -0
- data/_layouts/blog.html +20 -0
- data/_layouts/default.html +19 -0
- data/_layouts/post.html +20 -0
- data/_layouts/project.html +19 -0
- data/_layouts/projects.html +19 -0
- data/assets/css/main.css +2333 -0
- data/assets/fonts/inter-v18-latin-regular.woff2 +0 -0
- data/assets/img/android-chrome-192x192.png +0 -0
- data/assets/img/android-chrome-512x512.png +0 -0
- data/assets/img/apple-touch-icon.png +0 -0
- data/assets/img/favicon-16x16.png +0 -0
- data/assets/img/favicon-32x32.png +0 -0
- data/assets/img/favicon.ico +0 -0
- data/assets/img/site.webmanifest +1 -0
- data/assets/img/your-profil-picture.webp +0 -0
- data/assets/js/index.js +40 -0
- data/assets/preview/blue.png +0 -0
- data/assets/preview/green.png +0 -0
- metadata +85 -0
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}
|
Binary file
|
data/assets/js/index.js
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
let toggleThemeButton = document.getElementById('toggle-color-mode');
|
2
|
+
let lightModeSvgElement = `
|
3
|
+
<svg class="w-6 h-6 fill-gray-700 hover:fill-gray-900 dark:fill-gray-200 dark:hover:fill-white"
|
4
|
+
xmlns="http://www.w3.org/2000/svg"
|
5
|
+
viewBox="0 0 24 24">
|
6
|
+
<title>Heller Modus</title>
|
7
|
+
<path d="M3.55 19.09L4.96 20.5L6.76 18.71L5.34 17.29M12 6C8.69 6 6 8.69 6 12S8.69 18 12 18 18 15.31 18 12C18 8.68 15.31 6 12 6M20 13H23V11H20M17.24 18.71L19.04 20.5L20.45 19.09L18.66 17.29M20.45 5L19.04 3.6L17.24 5.39L18.66 6.81M13 1H11V4H13M6.76 5.39L4.96 3.6L3.55 5L5.34 6.81L6.76 5.39M1 13H4V11H1M13 20H11V23H13" />
|
8
|
+
</svg>
|
9
|
+
`;
|
10
|
+
let darkModeSvgElement = `
|
11
|
+
<svg class="w-6 h-6 fill-gray-700 hover:fill-gray-900 dark:fill-gray-200 dark:hover:fill-white"
|
12
|
+
xmlns="http://www.w3.org/2000/svg"
|
13
|
+
viewBox="0 0 24 24">
|
14
|
+
<title>Dunkler Modus</title>
|
15
|
+
<path d="M17.75,4.09L15.22,6.03L16.13,9.09L13.5,7.28L10.87,9.09L11.78,6.03L9.25,4.09L12.44,4L13.5,1L14.56,4L17.75,4.09M21.25,11L19.61,12.25L20.2,14.23L18.5,13.06L16.8,14.23L17.39,12.25L15.75,11L17.81,10.95L18.5,9L19.19,10.95L21.25,11M18.97,15.95C19.8,15.87 20.69,17.05 20.16,17.8C19.84,18.25 19.5,18.67 19.08,19.07C15.17,23 8.84,23 4.94,19.07C1.03,15.17 1.03,8.83 4.94,4.93C5.34,4.53 5.76,4.17 6.21,3.85C6.96,3.32 8.14,4.21 8.06,5.04C7.79,7.9 8.75,10.87 10.95,13.06C13.14,15.26 16.1,16.22 18.97,15.95M17.33,17.97C14.5,17.81 11.7,16.64 9.53,14.5C7.36,12.31 6.2,9.5 6.04,6.68C3.23,9.82 3.34,14.64 6.35,17.66C9.37,20.67 14.19,20.78 17.33,17.97Z" />
|
16
|
+
</svg>
|
17
|
+
`;
|
18
|
+
// On page load or when changing themes, best to add inline in `head` to avoid FOUC
|
19
|
+
if (localStorage.theme === 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
|
20
|
+
toggleThemeButton.innerHTML = lightModeSvgElement;
|
21
|
+
} else {
|
22
|
+
toggleThemeButton.innerHTML = darkModeSvgElement;
|
23
|
+
}
|
24
|
+
function toggleColorTheme() {
|
25
|
+
if (localStorage.theme === "light") {
|
26
|
+
toggleThemeButton.innerHTML = lightModeSvgElement;
|
27
|
+
localStorage.theme = "dark";
|
28
|
+
console.log(localStorage.theme);
|
29
|
+
root.classList.add("dark");
|
30
|
+
}
|
31
|
+
else {
|
32
|
+
toggleThemeButton.innerHTML = darkModeSvgElement;
|
33
|
+
localStorage.theme = "light";
|
34
|
+
console.log(localStorage.theme);
|
35
|
+
root.classList.remove("dark");
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
toggleThemeButton.addEventListener("click", toggleColorTheme);
|
40
|
+
|
Binary file
|
Binary file
|
metadata
ADDED
@@ -0,0 +1,85 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: jekyll-theme-bluegreen
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Björn Kawecki
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2025-03-01 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: jekyll
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '4.3'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '4.3'
|
27
|
+
description:
|
28
|
+
email:
|
29
|
+
- bkawecki@mailbox.org
|
30
|
+
executables: []
|
31
|
+
extensions: []
|
32
|
+
extra_rdoc_files: []
|
33
|
+
files:
|
34
|
+
- LICENSE
|
35
|
+
- README.md
|
36
|
+
- _config.yml
|
37
|
+
- _includes/aside.html
|
38
|
+
- _includes/footer.html
|
39
|
+
- _includes/head.html
|
40
|
+
- _includes/header.html
|
41
|
+
- _includes/pagination.html
|
42
|
+
- _includes/post_pagination.html
|
43
|
+
- _layouts/blog.html
|
44
|
+
- _layouts/default.html
|
45
|
+
- _layouts/post.html
|
46
|
+
- _layouts/project.html
|
47
|
+
- _layouts/projects.html
|
48
|
+
- assets/css/main.css
|
49
|
+
- assets/fonts/inter-v18-latin-regular.woff2
|
50
|
+
- assets/img/android-chrome-192x192.png
|
51
|
+
- assets/img/android-chrome-512x512.png
|
52
|
+
- assets/img/apple-touch-icon.png
|
53
|
+
- assets/img/favicon-16x16.png
|
54
|
+
- assets/img/favicon-32x32.png
|
55
|
+
- assets/img/favicon.ico
|
56
|
+
- assets/img/site.webmanifest
|
57
|
+
- assets/img/your-profil-picture.webp
|
58
|
+
- assets/js/index.js
|
59
|
+
- assets/preview/blue.png
|
60
|
+
- assets/preview/green.png
|
61
|
+
homepage: https://github.com/bjkawecki/Jekyll-Theme-Bluegreen.git
|
62
|
+
licenses:
|
63
|
+
- MIT
|
64
|
+
metadata: {}
|
65
|
+
post_install_message:
|
66
|
+
rdoc_options: []
|
67
|
+
require_paths:
|
68
|
+
- lib
|
69
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - ">="
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '0'
|
74
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
75
|
+
requirements:
|
76
|
+
- - ">="
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: '0'
|
79
|
+
requirements: []
|
80
|
+
rubygems_version: 3.3.27
|
81
|
+
signing_key:
|
82
|
+
specification_version: 4
|
83
|
+
summary: Simple theme with tailwind for a personal website with a blog and and a page
|
84
|
+
for your projects.
|
85
|
+
test_files: []
|