jekyll-theme-teddy 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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 6bf78112f8c32ae9e894c5e732af118b875c1c5fea2b13893987a5df40926d23
4
+ data.tar.gz: 26b97f5d2f66dbf36070a912f915614b6bf705097382aa7fb818d9152f8f51ac
5
+ SHA512:
6
+ metadata.gz: e0faa7b6118e69d3fc3aa9a5afa000584e65096a75ea8b0af5a2e5f2336802c46291d276b9eaac4c11e13b37ea8badedf3cad0e426e5c0ec700a49740c109e78
7
+ data.tar.gz: 54ebda3f22d3646ab7d99af014e830b19be082f1043f38dfcfe9a7694909106aaba1ef66c1e37bec38d9ab578cfe58634cc1473d2633a4364ebafb63425efd5a
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2024 Teddy55Codes
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,42 @@
1
+ # jekyll-theme-teddy
2
+
3
+ Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes`, your sass files in `_sass` and any other assets in `assets`.
4
+
5
+ To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
6
+
7
+ TODO: Delete this and the text above, and describe your gem
8
+
9
+ ## Installation
10
+
11
+ Add this line to your Jekyll site's `Gemfile`:
12
+
13
+ ```ruby
14
+ gem "jekyll-theme-teddy"
15
+ ```
16
+
17
+ And add this line to your Jekyll site's `_config.yml`:
18
+
19
+ ```yaml
20
+ theme: jekyll-theme-teddy
21
+ ```
22
+
23
+ And then execute:
24
+
25
+ $ bundle
26
+
27
+ Or install it yourself as:
28
+
29
+ $ gem install jekyll-theme-teddy
30
+
31
+ ## Development
32
+
33
+ To set up your environment to develop this theme, run `bundle install`.
34
+
35
+ Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
36
+
37
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
38
+ To add a custom directory to your theme-gem, please edit the regexp in `jekyll-theme-teddy.gemspec` accordingly.
39
+
40
+ ## License
41
+
42
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -0,0 +1,20 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{ site.lang | default: "en-US" }}">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
7
+
8
+ {% seo %}
9
+ <link rel="stylesheet" href="/assets/css/style.css">
10
+ </head>
11
+ <body>
12
+
13
+ <main id="content" class="main-content" role="main">
14
+ {{ content }}
15
+ </main>
16
+ <footer class="site-footer">
17
+ <span class="site-footer-credits">Hosted on <a href="https://pages.github.com">GitHub Pages</a> powered by <a href="https://jekyllrb.com">Jekyll</a>.</span>
18
+ </footer>
19
+ </body>
20
+ </html>
data/_sass/Inter.scss ADDED
File without changes
@@ -0,0 +1,98 @@
1
+ @import "variables";
2
+
3
+ code {
4
+ font-family: "JetBrains Mono", Helvetica, Arial, monospace;
5
+ background: $code-bg-color;
6
+ border-radius: 5px;
7
+ padding: 0 3px 0 3px;
8
+ }
9
+
10
+ .highlight pre {
11
+ background: $code-bg-color;
12
+ margin: 10px 0 10px 0;
13
+ padding: 10px;
14
+ overflow: auto;
15
+ }
16
+
17
+ .highlight table td {
18
+ padding: 5px;
19
+ }
20
+
21
+ .highlight table pre {
22
+ margin: 0;
23
+ }
24
+
25
+ .highlight, .highlight .w {
26
+ color: $code-text-color;
27
+ }
28
+ .highlight .err {
29
+ color: #151515;
30
+ background-color: #ac4142;
31
+ }
32
+ .highlight .c, .highlight .cd, .highlight .cm, .highlight .c1, .highlight .cs {
33
+ color: #888;
34
+ }
35
+ .highlight .cp {
36
+ color: #f4bf75;
37
+ }
38
+ .highlight .nt {
39
+ color: #f4bf75;
40
+ }
41
+ .highlight .o, .highlight .ow {
42
+ color: $code-text-color;
43
+ }
44
+ .highlight .p, .highlight .pi {
45
+ color: $code-text-color;
46
+ }
47
+ .highlight .gi {
48
+ color: #90a959;
49
+ }
50
+ .highlight .gd {
51
+ color: #ac4142;
52
+ }
53
+ .highlight .gh {
54
+ color: #6a9fb5;
55
+ font-weight: bold;
56
+ }
57
+ .highlight .k, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kv {
58
+ color: #aa759f;
59
+ }
60
+ .highlight .kc {
61
+ color: #d28445;
62
+ }
63
+ .highlight .kt {
64
+ color: #d28445;
65
+ }
66
+ .highlight .kd {
67
+ color: #d28445;
68
+ }
69
+ .highlight .s, .highlight .sb, .highlight .sc, .highlight .sd, .highlight .s2, .highlight .sh, .highlight .sx, .highlight .s1 {
70
+ color: #90a959;
71
+ }
72
+ .highlight .sr {
73
+ color: #75b5aa;
74
+ }
75
+ .highlight .si {
76
+ color: #8f5536;
77
+ }
78
+ .highlight .se {
79
+ color: #8f5536;
80
+ }
81
+ .highlight .nn {
82
+ color: #f4bf75;
83
+ }
84
+ .highlight .nc {
85
+ color: #f4bf75;
86
+ }
87
+ .highlight .no {
88
+ color: #f4bf75;
89
+ }
90
+ .highlight .na {
91
+ color: #6a9fb5;
92
+ }
93
+ .highlight .m, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .il, .highlight .mo, .highlight .mb, .highlight .mx {
94
+ color: #90a959;
95
+ }
96
+ .highlight .ss {
97
+ color: #90a959;
98
+ }
data/_sass/fonts.scss ADDED
@@ -0,0 +1,109 @@
1
+ /// Inter ///
2
+
3
+ /* cyrillic-ext */
4
+ @font-face {
5
+ font-family: 'Inter';
6
+ font-style: normal;
7
+ font-weight: 400;
8
+ src: url(../Fonts/Inter/cyrillic-ext.woff2) format('woff2');
9
+ unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
10
+ }
11
+ /* cyrillic */
12
+ @font-face {
13
+ font-family: 'Inter';
14
+ font-style: normal;
15
+ font-weight: 400;
16
+ src: url(../Fonts/Inter/cyrillic.woff2) format('woff2');
17
+ unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
18
+ }
19
+ /* greek-ext */
20
+ @font-face {
21
+ font-family: 'Inter';
22
+ font-style: normal;
23
+ font-weight: 400;
24
+ src: url(../Fonts/Inter/greek-ext.woff2) format('woff2');
25
+ unicode-range: U+1F00-1FFF;
26
+ }
27
+ /* greek */
28
+ @font-face {
29
+ font-family: 'Inter';
30
+ font-style: normal;
31
+ font-weight: 400;
32
+ src: url(../Fonts/Inter/greek.woff2) format('woff2');
33
+ unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
34
+ }
35
+ /* vietnamese */
36
+ @font-face {
37
+ font-family: 'Inter';
38
+ font-style: normal;
39
+ font-weight: 400;
40
+ src: url(../Fonts/Inter/vietnamese.woff2) format('woff2');
41
+ unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
42
+ }
43
+ /* latin-ext */
44
+ @font-face {
45
+ font-family: 'Inter';
46
+ font-style: normal;
47
+ font-weight: 400;
48
+ src: url(../Fonts/Inter/latin-ext.woff2) format('woff2');
49
+ unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
50
+ }
51
+ /* latin */
52
+ @font-face {
53
+ font-family: 'Inter';
54
+ font-style: normal;
55
+ font-weight: 400;
56
+ src: url(../Fonts/Inter/latin.woff2) format('woff2');
57
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
58
+ }
59
+
60
+ /// Jetbrains Mono ///
61
+
62
+ /* cyrillic-ext */
63
+ @font-face {
64
+ font-family: 'JetBrains Mono';
65
+ font-style: normal;
66
+ font-weight: 400;
67
+ src: url(../Fonts/JetbrainsMono/cyrillic-ext.woff2) format('woff2');
68
+ unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
69
+ }
70
+ /* cyrillic */
71
+ @font-face {
72
+ font-family: 'JetBrains Mono';
73
+ font-style: normal;
74
+ font-weight: 400;
75
+ src: url(../Fonts/JetbrainsMono/cyrillic.woff2) format('woff2');
76
+ unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
77
+ }
78
+ /* greek */
79
+ @font-face {
80
+ font-family: 'JetBrains Mono';
81
+ font-style: normal;
82
+ font-weight: 400;
83
+ src: url(../Fonts/JetbrainsMono/greek.woff2) format('woff2');
84
+ unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
85
+ }
86
+ /* vietnamese */
87
+ @font-face {
88
+ font-family: 'JetBrains Mono';
89
+ font-style: normal;
90
+ font-weight: 400;
91
+ src: url(../Fonts/JetbrainsMono/vietnamese.woff2) format('woff2');
92
+ unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
93
+ }
94
+ /* latin-ext */
95
+ @font-face {
96
+ font-family: 'JetBrains Mono';
97
+ font-style: normal;
98
+ font-weight: 400;
99
+ src: url(../Fonts/JetbrainsMono/latin-ext.woff2) format('woff2');
100
+ unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
101
+ }
102
+ /* latin */
103
+ @font-face {
104
+ font-family: 'JetBrains Mono';
105
+ font-style: normal;
106
+ font-weight: 400;
107
+ src: url(../Fonts/JetbrainsMono/latin.woff2) format('woff2');
108
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
109
+ }
@@ -0,0 +1,87 @@
1
+ @import "code-highlighting";
2
+ @import "variables";
3
+ @import "fonts";
4
+
5
+ html {
6
+ background: $main-bg;
7
+ color: $text-color;
8
+ }
9
+
10
+ body {
11
+ padding: 0;
12
+ margin: 0;
13
+ }
14
+
15
+ main {
16
+ margin: 3% 10% 5% 10%;
17
+ }
18
+
19
+ img {
20
+ object-fit: contain;
21
+ max-height: 100%;
22
+ max-width: 100%;
23
+ }
24
+
25
+ h1, h2, h3, h4, h5, h6, p, li, br, a, span {
26
+ font-family: "Inter", Helvetica, Arial, serif;
27
+ }
28
+
29
+ h1 {
30
+ font-size: $h1-font-size;
31
+ }
32
+
33
+ h2 {
34
+ font-size: $h2-font-size;
35
+ }
36
+
37
+ h3 {
38
+ font-size: $h3-font-size;
39
+ }
40
+
41
+ h4 {
42
+ font-size: $h4-font-size;
43
+ }
44
+
45
+ h5 {
46
+ font-size: $h5-font-size;
47
+ }
48
+
49
+ h6 {
50
+ font-size: $h6-font-size;
51
+ }
52
+
53
+ p, li, br, a, span {
54
+ font-size: 16px;
55
+ line-height: 1.5;
56
+ }
57
+
58
+ a:link {
59
+ color: $link-normal;
60
+ }
61
+
62
+ a:visited {
63
+ color: $link-visited;
64
+ }
65
+
66
+ blockquote {
67
+ border-radius: 0 10px 10px 0;
68
+ border-style: solid;
69
+ border-color: transparent transparent transparent #0071e0;
70
+
71
+ margin: 10px 2px 10px 2px;
72
+ padding: 0 0 10px 20px;
73
+
74
+ background: $blockquote-bg;
75
+ }
76
+
77
+ footer {
78
+ margin-top: 30px;
79
+ padding: 20px 0 20px 0;
80
+ background: $footer-bg;
81
+ height: 100%;
82
+ width: 100%;
83
+ }
84
+
85
+ footer span {
86
+ margin: 20px;
87
+ }
data/_sass/teddy.scss ADDED
@@ -0,0 +1,4 @@
1
+ // Placeholder file. If your site uses
2
+ // @import "{{ site.theme }}";
3
+ // Then using this theme with jekyll-remote-theme will work fine.
4
+ @import "jekyll-theme-teddy";
@@ -0,0 +1,24 @@
1
+ // Headers
2
+ $h1-font-size: 30pt !default;
3
+ $h2-font-size: 24pt !default;
4
+ $h3-font-size: 22pt !default;
5
+ $h4-font-size: 20pt !default;
6
+ $h5-font-size: 18pt !default;
7
+ $h6-font-size: 16pt !default;
8
+
9
+ // Text
10
+ $text-color: #C9C9D1 !default;
11
+
12
+ // Background
13
+ $main-bg: #1D1D26 !default;
14
+ $secondary-bg: #2F3039 !default;
15
+ $footer-bg: #15151c !default;
16
+ $blockquote-bg: $secondary-bg !default;
17
+
18
+ // Code
19
+ $code-bg-color: $secondary-bg !default;
20
+ $code-text-color: $text-color !default;
21
+
22
+ // Links
23
+ $link-normal: #0071e0 !default;
24
+ $link-visited: #7540b2 !default;
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,4 @@
1
+ ---
2
+ ---
3
+
4
+ @import 'jekyll-theme-teddy';
metadata ADDED
@@ -0,0 +1,100 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-theme-teddy
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Teddy55Codes
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2024-06-08 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: '3.5'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '5.0'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">"
28
+ - !ruby/object:Gem::Version
29
+ version: '3.5'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '5.0'
33
+ - !ruby/object:Gem::Dependency
34
+ name: jekyll-seo-tag
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '2.0'
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '2.0'
47
+ description:
48
+ email:
49
+ - teddy@teddy.email
50
+ executables: []
51
+ extensions: []
52
+ extra_rdoc_files: []
53
+ files:
54
+ - LICENSE.txt
55
+ - README.md
56
+ - _layouts/default.html
57
+ - _sass/Inter.scss
58
+ - _sass/code-highlighting.scss
59
+ - _sass/fonts.scss
60
+ - _sass/jekyll-theme-teddy.scss
61
+ - _sass/teddy.scss
62
+ - _sass/variables.scss
63
+ - assets/Fonts/Inter/cyrillic-ext.woff2
64
+ - assets/Fonts/Inter/cyrillic.woff2
65
+ - assets/Fonts/Inter/greek-ext.woff2
66
+ - assets/Fonts/Inter/greek.woff2
67
+ - assets/Fonts/Inter/latin-ext.woff2
68
+ - assets/Fonts/Inter/latin.woff2
69
+ - assets/Fonts/Inter/vietnamese.woff2
70
+ - assets/Fonts/JetbrainsMono/cyrillic-ext.woff2
71
+ - assets/Fonts/JetbrainsMono/cyrillic.woff2
72
+ - assets/Fonts/JetbrainsMono/greek.woff2
73
+ - assets/Fonts/JetbrainsMono/latin-ext.woff2
74
+ - assets/Fonts/JetbrainsMono/latin.woff2
75
+ - assets/Fonts/JetbrainsMono/vietnamese.woff2
76
+ - assets/css/style.scss
77
+ homepage: https://github.com/Teddy55Codes/jekyll-theme-teddy
78
+ licenses:
79
+ - MIT
80
+ metadata: {}
81
+ post_install_message:
82
+ rdoc_options: []
83
+ require_paths:
84
+ - lib
85
+ required_ruby_version: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: 2.4.0
90
+ required_rubygems_version: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ version: '0'
95
+ requirements: []
96
+ rubygems_version: 3.5.9
97
+ signing_key:
98
+ specification_version: 4
99
+ summary: The theme used for https://github.com/Teddy55Codes/Blog
100
+ test_files: []