jekyll-theme-nyx 0.1.0 → 0.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7a0ee47a4634a95069aa396b9888f1592dd3c68c98f2104b0aa9e95dabea0305
4
- data.tar.gz: '08ad34d3853fe2a29f1b8cb89e810c4f2a2971b9d6140565aae805a2378540e5'
3
+ metadata.gz: f0098450a8a4e64c7cb61f5c92b8d008eab9653f3a8adefd2cf868bc32560b67
4
+ data.tar.gz: 68814094b044e28ce4961209a3faba685119bdd90df54bc1e9f60bd8aea455c0
5
5
  SHA512:
6
- metadata.gz: e7527827c7f481828b7c7310987f61d1586e6c28badf2e0d996a6e611fa0a8f087620340b189d18b4d61f1ab95cc89ad61f7fa251bb163453bc86c13e2e91f34
7
- data.tar.gz: cb49b9e046da4aad2629e3a9c901428043b19878c673cbc177d14394214d786e79f886b84c0b8243c87978336627d9e89b493ded41fbf4b9e1c555df1af41b25
6
+ metadata.gz: 4bae53e646d6940ac0882ade2ceb8ffc3de08ac7130d3103b35c9fe34da74cb058b54670ed192c5737061d10875ea206d02cae06f94e2ae20b851f223689a8fc
7
+ data.tar.gz: b13e8c8b70ce74448f3d4450f553bbb372bfca16d67475a8405b09e252cdc05c858120eea19439c86f3d8d168bf0f1a162b83f0cd86e2201235ca0a201f9a3dc
@@ -0,0 +1,49 @@
1
+ name: Build and deploy Jekyll site
2
+
3
+ on:
4
+ push:
5
+ branches: ["main"]
6
+ workflow_dispatch:
7
+
8
+ permissions:
9
+ contents: read
10
+ pages: write
11
+ id-token: write
12
+
13
+ concurrency:
14
+ group: "pages"
15
+ cancel-in-progress: true
16
+
17
+ jobs:
18
+ build:
19
+ runs-on: ubuntu-latest
20
+
21
+ steps:
22
+ - name: Checkout
23
+ uses: actions/checkout@v4
24
+
25
+ - name: Set up Ruby
26
+ uses: ruby/setup-ruby@v1
27
+ with:
28
+ ruby-version: "3.3"
29
+ bundler-cache: true
30
+
31
+ - name: Build site
32
+ run: bundle exec jekyll build
33
+
34
+ - name: Upload Pages artifact
35
+ uses: actions/upload-pages-artifact@v3
36
+ with:
37
+ path: _site
38
+
39
+ deploy:
40
+ environment:
41
+ name: github-pages
42
+ url: ${{ steps.deployment.outputs.page_url }}
43
+ runs-on: ubuntu-latest
44
+ needs: build
45
+
46
+ steps:
47
+ - name: Deploy to GitHub Pages
48
+ id: deployment
49
+ uses: actions/deploy-pages@v4
data/.gitignore ADDED
@@ -0,0 +1,10 @@
1
+ /.bundle/
2
+ /coverage/
3
+ /doc/
4
+ /pkg/
5
+ /spec/reports/
6
+ /tmp/
7
+ *.gem
8
+ /test-site/
9
+ _site/*
10
+ assets/img/_site
data/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
- ## [Unreleased]
2
-
3
1
  ## [0.1.0] - 2026-01-01
4
2
 
5
3
  - Initial release
4
+
5
+ ## [0.1.1] - 2026-01-02
6
+
7
+ - Added Rakefile for consistent functionality with pushing finished work
8
+
9
+ - Added GitHub Action to deploy site to GitHub Pages
10
+
11
+ ## [0.2.0] - 2026-01-03
12
+
13
+ - Added Layouts:
14
+ - Default
15
+ - Post
16
+
17
+ - Began on CSS for:
18
+ - Layouts
19
+ - Syntax Highlighting
20
+
data/Gemfile ADDED
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ # Specify your gem's dependencies in jekyll-theme-nyx.gemspec
6
+ gemspec
7
+
8
+ gem "irb"
9
+ gem "rake", "~> 13.0"
data/Gemfile.lock ADDED
@@ -0,0 +1,117 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ jekyll-theme-nyx (0.2.0)
5
+ jekyll (~> 4.0)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ addressable (2.8.8)
11
+ public_suffix (>= 2.0.2, < 8.0)
12
+ base64 (0.3.0)
13
+ bigdecimal (4.0.1)
14
+ colorator (1.1.0)
15
+ concurrent-ruby (1.3.6)
16
+ csv (3.3.5)
17
+ date (3.5.1)
18
+ em-websocket (0.5.3)
19
+ eventmachine (>= 0.12.9)
20
+ http_parser.rb (~> 0)
21
+ erb (6.0.1)
22
+ eventmachine (1.2.7)
23
+ ffi (1.17.3)
24
+ ffi (1.17.3-x86_64-linux-gnu)
25
+ forwardable-extended (2.6.0)
26
+ google-protobuf (4.33.2)
27
+ bigdecimal
28
+ rake (>= 13)
29
+ google-protobuf (4.33.2-x86_64-linux-gnu)
30
+ bigdecimal
31
+ rake (>= 13)
32
+ http_parser.rb (0.8.1)
33
+ i18n (1.14.8)
34
+ concurrent-ruby (~> 1.0)
35
+ io-console (0.8.2)
36
+ irb (1.16.0)
37
+ pp (>= 0.6.0)
38
+ rdoc (>= 4.0.0)
39
+ reline (>= 0.4.2)
40
+ jekyll (4.4.1)
41
+ addressable (~> 2.4)
42
+ base64 (~> 0.2)
43
+ colorator (~> 1.0)
44
+ csv (~> 3.0)
45
+ em-websocket (~> 0.5)
46
+ i18n (~> 1.0)
47
+ jekyll-sass-converter (>= 2.0, < 4.0)
48
+ jekyll-watch (~> 2.0)
49
+ json (~> 2.6)
50
+ kramdown (~> 2.3, >= 2.3.1)
51
+ kramdown-parser-gfm (~> 1.0)
52
+ liquid (~> 4.0)
53
+ mercenary (~> 0.3, >= 0.3.6)
54
+ pathutil (~> 0.9)
55
+ rouge (>= 3.0, < 5.0)
56
+ safe_yaml (~> 1.0)
57
+ terminal-table (>= 1.8, < 4.0)
58
+ webrick (~> 1.7)
59
+ jekyll-sass-converter (3.1.0)
60
+ sass-embedded (~> 1.75)
61
+ jekyll-watch (2.2.1)
62
+ listen (~> 3.0)
63
+ json (2.18.0)
64
+ kramdown (2.5.1)
65
+ rexml (>= 3.3.9)
66
+ kramdown-parser-gfm (1.1.0)
67
+ kramdown (~> 2.0)
68
+ liquid (4.0.4)
69
+ listen (3.9.0)
70
+ rb-fsevent (~> 0.10, >= 0.10.3)
71
+ rb-inotify (~> 0.9, >= 0.9.10)
72
+ mercenary (0.4.0)
73
+ pathutil (0.16.2)
74
+ forwardable-extended (~> 2.6)
75
+ pp (0.6.3)
76
+ prettyprint
77
+ prettyprint (0.2.0)
78
+ psych (5.3.1)
79
+ date
80
+ stringio
81
+ public_suffix (7.0.0)
82
+ rake (13.3.0)
83
+ rb-fsevent (0.11.2)
84
+ rb-inotify (0.11.1)
85
+ ffi (~> 1.0)
86
+ rdoc (7.0.3)
87
+ erb
88
+ psych (>= 4.0.0)
89
+ tsort
90
+ reline (0.6.3)
91
+ io-console (~> 0.5)
92
+ rexml (3.4.4)
93
+ rouge (4.7.0)
94
+ safe_yaml (1.0.5)
95
+ sass-embedded (1.97.1)
96
+ google-protobuf (~> 4.31)
97
+ rake (>= 13)
98
+ sass-embedded (1.97.1-x86_64-linux-gnu)
99
+ google-protobuf (~> 4.31)
100
+ stringio (3.2.0)
101
+ terminal-table (3.0.2)
102
+ unicode-display_width (>= 1.1.1, < 3)
103
+ tsort (0.2.0)
104
+ unicode-display_width (2.6.0)
105
+ webrick (1.9.2)
106
+
107
+ PLATFORMS
108
+ ruby
109
+ x86_64-linux
110
+
111
+ DEPENDENCIES
112
+ irb
113
+ jekyll-theme-nyx!
114
+ rake (~> 13.0)
115
+
116
+ BUNDLED WITH
117
+ 2.6.7
data/Rakefile CHANGED
@@ -1,4 +1,45 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "bundler/gem_tasks"
4
- task default: %i[]
3
+ require "rake"
4
+ require "fileutils"
5
+
6
+ GEMSPEC = "jekyll-theme-nyx.gemspec"
7
+
8
+ # Helper to get current version from gemspec
9
+ def current_version
10
+ File.read(GEMSPEC)[/spec\.version\s*=\s*["'](.*?)["']/, 1]
11
+ end
12
+
13
+ GEM_NAME = GEMSPEC.sub(/\.gemspec$/, "")
14
+
15
+ desc "Build dummy site to verify theme"
16
+ task :site do
17
+ sh "bundle install"
18
+ sh "bundle exec jekyll build"
19
+ puts "[+] Dummy site builds successfully"
20
+ end
21
+
22
+ desc "Build the gem"
23
+ task :build do
24
+ sh "gem build #{GEMSPEC}"
25
+ end
26
+
27
+ desc "Push gem to RubyGems"
28
+ task :push do
29
+ gem_file = "#{GEM_NAME}-#{current_version}.gem"
30
+ sh "gem push #{gem_file}"
31
+ end
32
+
33
+ desc "Create and push git tag"
34
+ task :tag do
35
+ sh "git tag v#{current_version}"
36
+ sh "git push origin v#{current_version}"
37
+ end
38
+
39
+ desc "Full release: site build, gem build, push, tag"
40
+ task release: [:site] do
41
+ sh "rake build"
42
+ sh "rake push"
43
+ sh "rake tag"
44
+ puts "[+] Released #{GEM_NAME} v#{current_version}"
45
+ end
data/_config.yml ADDED
@@ -0,0 +1,11 @@
1
+ title: Test Site
2
+ theme: jekyll-theme-nyx
3
+
4
+ markdown: kramdown
5
+
6
+ kramdown:
7
+ syntax_highlighter: rouge
8
+ syntax_highlighter_opts:
9
+ css_class: highlight
10
+ span:
11
+ line_numbers: true
@@ -0,0 +1,9 @@
1
+ <aside id="sidebar">
2
+ <ul id="sidebar-list">
3
+ <li><a href="/">Home</a></li>
4
+ <li><a href="/blog">Posts</a></li>
5
+ <li>Tags</li>
6
+ <li>Categories</li>
7
+ <li>About</li>
8
+ </ul>
9
+ </aside>
@@ -0,0 +1,14 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <link rel="stylesheet" href="{{ "/assets/css/rouge.css" | relative_url }}">
7
+ <link rel="stylesheet" href="{{ "/assets/css/nyx.css" | relative_url }}">
8
+ <title>{{ site.title }}</title>
9
+ </head>
10
+ <body>
11
+ {% include sidebar.html %}
12
+ {{ content }}
13
+ </body>
14
+ </html>
data/_layouts/post.md ADDED
@@ -0,0 +1,9 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <h1>{{ page.title }}</h1>
5
+ <p>{{ page.date | date: "%B %d, %Y" }} – Written by {{ page.author }}</p>
6
+
7
+ <main>
8
+ {{ content }}
9
+ </main>
@@ -0,0 +1,116 @@
1
+ ---
2
+ title: Markdown Showcase
3
+ layout: post
4
+ author: Slavetomints
5
+ date: 2026-01-02
6
+ categories: [Blog]
7
+ tags: [blog, help]
8
+ description: Showcase of the how markdown looks on this site
9
+ ---
10
+
11
+ ## Headers
12
+
13
+ # Header 1
14
+
15
+ ## Header 2
16
+
17
+ ### Header 3
18
+
19
+ #### Header 4
20
+
21
+ ##### Header 5
22
+
23
+ ###### Header 6
24
+
25
+ ## Text
26
+
27
+ Basic Text
28
+
29
+ *Italicized Text*
30
+
31
+ **Bolded Text**
32
+
33
+ ***Italicized and Bolded Text***
34
+
35
+ ## Blockquotes
36
+
37
+ > Blockquotes look like this!
38
+
39
+ or
40
+
41
+ > If they span multiple lines,
42
+ >
43
+ > they can look like this!
44
+
45
+ and
46
+
47
+ > You can also have
48
+ > > Nested blockquotes!
49
+
50
+ ## Lists
51
+
52
+ ### Ordered List
53
+
54
+ 1. First
55
+ 2. Second
56
+ - Subitem
57
+ 3. Third
58
+ 4. Fourth
59
+ 5. Fifth
60
+
61
+ ### Unordered List
62
+
63
+ - First
64
+ - Second
65
+ - Subitem
66
+ - Third
67
+ - Fourth
68
+ - Fifth
69
+
70
+ ## Code Blocks
71
+
72
+ ```
73
+ This is a code block
74
+ ```
75
+
76
+ <br>
77
+
78
+ ```rb
79
+ class Person
80
+ attr_reader :name, :age
81
+ def initialize(name, age)
82
+ @name, @age = name, age
83
+ end
84
+ def <=>(person) # the comparison operator for sorting
85
+ @age <=> person.age
86
+ end
87
+ def to_s
88
+ "#{@name} (#{@age})"
89
+ end
90
+ end
91
+
92
+ group = [
93
+ Person.new("Bob", 33),
94
+ Person.new("Chris", 16),
95
+ Person.new("Ash", 23)
96
+ ]
97
+
98
+ puts group.sort.reverse
99
+
100
+ ```
101
+
102
+ ## Images
103
+
104
+ ![Nyx Logo](/assets/img/black-logo.svg)
105
+
106
+ ## Links
107
+
108
+ [GitHub for this project](https://github.com/Slavetomints/jekyll-theme-nyx)
109
+
110
+ ## Line Break
111
+
112
+ Before
113
+
114
+ ---
115
+
116
+ After
@@ -0,0 +1,34 @@
1
+ @use "variables" as *;
2
+
3
+ *,
4
+ *::before,
5
+ *::after {
6
+ box-sizing: border-box;
7
+ }
8
+
9
+ html {
10
+ scroll-behavior: smooth;
11
+ }
12
+
13
+ body {
14
+ margin: 0;
15
+ background: $bg;
16
+ color: $fg;
17
+ font-family: $font-body;
18
+ line-height: 1.6;
19
+ }
20
+
21
+ a {
22
+ color: $accent;
23
+ text-decoration: none;
24
+ }
25
+
26
+ a:hover {
27
+ text-decoration: underline;
28
+ }
29
+
30
+ img {
31
+ max-width: 100%;
32
+ height: auto;
33
+ align-self: center;
34
+ }
@@ -0,0 +1,45 @@
1
+ .highlight {
2
+ background: #0f111a;
3
+ border-radius: 0.5rem;
4
+ overflow-x: auto;
5
+ padding: 0;
6
+ margin-bottom: 1.5rem;
7
+ font-family: Menlo, Monaco, Consolas, "Liberation Mono", monospace;
8
+ font-size: 0.9rem;
9
+ line-height: 1.4;
10
+ color: #f8f8f2;
11
+ }
12
+
13
+ .rouge-table {
14
+ width: 100%;
15
+ table-layout: fixed;
16
+ border-collapse: collapse;
17
+ }
18
+
19
+ .rouge-gutter {
20
+ user-select: none;
21
+ text-align: right;
22
+ padding: 0.75rem 0.75rem 0.75rem 1rem;
23
+ background: rgba(255, 255, 255, 0.04);
24
+ border-right: 1px solid rgba(255, 255, 255, 0.08);
25
+ vertical-align: top;
26
+ white-space: nowrap;
27
+ font-size: 0.8rem;
28
+ color: #6b7089;
29
+ }
30
+
31
+ .rouge-gutter pre {
32
+ margin: 0;
33
+ }
34
+
35
+ .rouge-code {
36
+ overflow-x: auto;
37
+ padding: 0.75rem 1rem;
38
+ }
39
+
40
+ .rouge-code pre {
41
+ margin: 0;
42
+ font-family: inherit;
43
+ line-height: inherit;
44
+ white-space: pre;
45
+ }
@@ -0,0 +1,20 @@
1
+ @use "variables" as *;
2
+
3
+ #sidebar-list {
4
+ display: flex;
5
+ flex-direction: row;
6
+ justify-content: space-around;
7
+ list-style-type: none;
8
+ }
9
+
10
+ header,
11
+ footer {
12
+ padding: $space-3 0;
13
+ }
14
+
15
+ main {
16
+ display: flex;
17
+ flex-direction: column;
18
+ padding: $space-5;
19
+ min-width: 0;
20
+ }
@@ -0,0 +1,24 @@
1
+ @use "variables" as *;
2
+
3
+ h1, h2, h3, h4, h5, h6 {
4
+ font-weight: 600;
5
+ line-height: 1.25;
6
+ margin-top: $space-4;
7
+ align-self: center;
8
+ }
9
+
10
+ p {
11
+ margin: $space-2 0;
12
+ }
13
+
14
+ ul,
15
+ ol {
16
+ padding-left: $space-4;
17
+ }
18
+
19
+ blockquote {
20
+ margin: $space-3 0;
21
+ padding-left: $space-3;
22
+ border-left: 3px solid $accent;
23
+ color: $muted;
24
+ }
@@ -0,0 +1,21 @@
1
+ /* Colors */
2
+ $bg: #0b0e14;
3
+ $bg-alt: #11151c;
4
+ $fg: #e6e6eb;
5
+ $muted: #9aa0b2;
6
+ $accent: #7aa2f7;
7
+
8
+ /* Typography */
9
+ $font-body: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
10
+ $font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
11
+
12
+ /* Spacing */
13
+ $space-1: 0.25rem;
14
+ $space-2: 0.5rem;
15
+ $space-3: 1rem;
16
+ $space-4: 2rem;
17
+ $space-5: 4rem;
18
+
19
+ /* Layout */
20
+ $max-width: 72ch;
21
+ $radius: 6px;
@@ -0,0 +1,8 @@
1
+ ---
2
+ ---
3
+
4
+ @use "nyx/variables";
5
+ @use "nyx/base";
6
+ @use "nyx/layout";
7
+ @use "nyx/typography";
8
+ @use "nyx/code";
@@ -0,0 +1,217 @@
1
+ .highlight table td { padding: 5px; }
2
+ .highlight table pre { margin: 0; }
3
+ .highlight .c, .highlight .ch, .highlight .cd, .highlight .cpf {
4
+ color: #75715e;
5
+ font-style: italic;
6
+ }
7
+ .highlight .cm {
8
+ color: #75715e;
9
+ font-style: italic;
10
+ }
11
+ .highlight .c1 {
12
+ color: #75715e;
13
+ font-style: italic;
14
+ }
15
+ .highlight .cp {
16
+ color: #75715e;
17
+ font-weight: bold;
18
+ }
19
+ .highlight .cs {
20
+ color: #75715e;
21
+ font-weight: bold;
22
+ font-style: italic;
23
+ }
24
+ .highlight .err {
25
+ color: #960050;
26
+ background-color: #1e0010;
27
+ }
28
+ .highlight .gi {
29
+ color: #ffffff;
30
+ background-color: #324932;
31
+ }
32
+ .highlight .gd {
33
+ color: #ffffff;
34
+ background-color: #493131;
35
+ }
36
+ .highlight .ge {
37
+ font-style: italic;
38
+ }
39
+ .highlight .ges {
40
+ font-weight: bold;
41
+ font-style: italic;
42
+ }
43
+ .highlight .gr {
44
+ color: #aa0000;
45
+ }
46
+ .highlight .gt {
47
+ color: #aa0000;
48
+ }
49
+ .highlight .gh {
50
+ color: #999999;
51
+ }
52
+ .highlight .go {
53
+ color: #888888;
54
+ }
55
+ .highlight .gp {
56
+ color: #555555;
57
+ }
58
+ .highlight .gs {
59
+ font-weight: bold;
60
+ }
61
+ .highlight .gu {
62
+ color: #aaaaaa;
63
+ }
64
+ .highlight .k, .highlight .kv {
65
+ color: #66d9ef;
66
+ font-weight: bold;
67
+ }
68
+ .highlight .kc {
69
+ color: #66d9ef;
70
+ font-weight: bold;
71
+ }
72
+ .highlight .kd {
73
+ color: #66d9ef;
74
+ font-weight: bold;
75
+ }
76
+ .highlight .kp {
77
+ color: #66d9ef;
78
+ font-weight: bold;
79
+ }
80
+ .highlight .kr {
81
+ color: #66d9ef;
82
+ font-weight: bold;
83
+ }
84
+ .highlight .kt {
85
+ color: #66d9ef;
86
+ font-weight: bold;
87
+ }
88
+ .highlight .kn {
89
+ color: #f92672;
90
+ font-weight: bold;
91
+ }
92
+ .highlight .ow {
93
+ color: #f92672;
94
+ font-weight: bold;
95
+ }
96
+ .highlight .o {
97
+ color: #f92672;
98
+ font-weight: bold;
99
+ }
100
+ .highlight .mf {
101
+ color: #ae81ff;
102
+ }
103
+ .highlight .mh {
104
+ color: #ae81ff;
105
+ }
106
+ .highlight .il {
107
+ color: #ae81ff;
108
+ }
109
+ .highlight .mi {
110
+ color: #ae81ff;
111
+ }
112
+ .highlight .mo {
113
+ color: #ae81ff;
114
+ }
115
+ .highlight .m, .highlight .mb, .highlight .mx {
116
+ color: #ae81ff;
117
+ }
118
+ .highlight .se {
119
+ color: #ae81ff;
120
+ }
121
+ .highlight .sa {
122
+ color: #66d9ef;
123
+ font-weight: bold;
124
+ }
125
+ .highlight .sb {
126
+ color: #e6db74;
127
+ }
128
+ .highlight .sc {
129
+ color: #e6db74;
130
+ }
131
+ .highlight .sd {
132
+ color: #e6db74;
133
+ }
134
+ .highlight .s2 {
135
+ color: #e6db74;
136
+ }
137
+ .highlight .sh {
138
+ color: #e6db74;
139
+ }
140
+ .highlight .si {
141
+ color: #e6db74;
142
+ }
143
+ .highlight .sx {
144
+ color: #e6db74;
145
+ }
146
+ .highlight .sr {
147
+ color: #e6db74;
148
+ }
149
+ .highlight .s1 {
150
+ color: #e6db74;
151
+ }
152
+ .highlight .ss {
153
+ color: #e6db74;
154
+ }
155
+ .highlight .s, .highlight .dl {
156
+ color: #e6db74;
157
+ }
158
+ .highlight .na {
159
+ color: #a6e22e;
160
+ }
161
+ .highlight .nc {
162
+ color: #a6e22e;
163
+ font-weight: bold;
164
+ }
165
+ .highlight .nd {
166
+ color: #a6e22e;
167
+ font-weight: bold;
168
+ }
169
+ .highlight .ne {
170
+ color: #a6e22e;
171
+ font-weight: bold;
172
+ }
173
+ .highlight .nf, .highlight .fm {
174
+ color: #a6e22e;
175
+ font-weight: bold;
176
+ }
177
+ .highlight .no {
178
+ color: #66d9ef;
179
+ }
180
+ .highlight .bp {
181
+ color: #f8f8f2;
182
+ }
183
+ .highlight .nb {
184
+ color: #f8f8f2;
185
+ }
186
+ .highlight .ni {
187
+ color: #f8f8f2;
188
+ }
189
+ .highlight .nn {
190
+ color: #f8f8f2;
191
+ }
192
+ .highlight .vc {
193
+ color: #f8f8f2;
194
+ }
195
+ .highlight .vg {
196
+ color: #f8f8f2;
197
+ }
198
+ .highlight .vi {
199
+ color: #f8f8f2;
200
+ }
201
+ .highlight .nv, .highlight .vm {
202
+ color: #f8f8f2;
203
+ }
204
+ .highlight .w {
205
+ color: #f8f8f2;
206
+ }
207
+ .highlight .nl {
208
+ color: #f8f8f2;
209
+ font-weight: bold;
210
+ }
211
+ .highlight .nt {
212
+ color: #f92672;
213
+ }
214
+ .highlight {
215
+ color: #f8f8f2;
216
+ background-color: #49483e;
217
+ }
@@ -0,0 +1,5 @@
1
+ <svg viewBox="0 0 110 24" xmlns="http://www.w3.org/2000/svg">
2
+ <text x="0" y="19" font-family="Saira" font-size="24" font-weight="bold" font-style="italic" fill="#000000">
3
+ NYX
4
+ </text>
5
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg viewBox="0 0 110 24" xmlns="http://www.w3.org/2000/svg">
2
+ <text x="0" y="19" font-family="Saira" font-size="24" font-weight="bold" font-style="italic" fill="#ffffff">
3
+ NYX
4
+ </text>
5
+ </svg>
data/index.md ADDED
@@ -0,0 +1,10 @@
1
+ ---
2
+ layout: default
3
+ title: Home
4
+ ---
5
+
6
+ # Hello Nyx!
7
+
8
+ This is a live demo of Nyx, a simple Jekyll theme.
9
+
10
+ [link to demo post](/blog/2026/01/02/markdown-showcase.html)
@@ -0,0 +1,38 @@
1
+ # frozen_string_literal: true
2
+
3
+ Gem::Specification.new do |spec|
4
+ spec.name = "jekyll-theme-nyx"
5
+ spec.version = "0.2.0"
6
+ spec.authors = ["Slavetomints"]
7
+ spec.email = ["me@slavetomints.com"]
8
+
9
+ spec.summary = "Simple Jekyll Theme"
10
+ spec.homepage = "https://github.com/Slavetomints/jekyll-theme-nyx"
11
+ spec.license = "MIT"
12
+ spec.required_ruby_version = ">= 3.1.0"
13
+
14
+ spec.metadata["rubygems_mfa_required"] = "true"
15
+ spec.metadata["homepage_uri"] = spec.homepage
16
+ spec.metadata["source_code_uri"] = spec.homepage
17
+ spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/main/CHANGELOG.md"
18
+
19
+ spec.add_runtime_dependency "jekyll", "~> 4.0"
20
+
21
+ # Specify which files should be added to the gem when it is released.
22
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
23
+ spec.files = IO.popen(%w[git ls-files -z], chdir: __dir__, err: IO::NULL) do |ls|
24
+ ls.readlines("\x0", chomp: true).select do |f|
25
+ # Only include files that actually exist
26
+ File.file?(File.join(__dir__, f))
27
+ end
28
+ end
29
+
30
+
31
+ spec.require_paths = ["lib"]
32
+
33
+ # Uncomment to register a new dependency of your gem
34
+ # spec.add_dependency "example-gem", "~> 1.0"
35
+
36
+ # For more information and examples about making a new gem, check out our
37
+ # guide at: https://bundler.io/guides/creating_gem.html
38
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-nyx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Slavetomints
@@ -29,14 +29,31 @@ executables: []
29
29
  extensions: []
30
30
  extra_rdoc_files: []
31
31
  files:
32
+ - ".github/workflows/main.yml"
33
+ - ".gitignore"
32
34
  - CHANGELOG.md
33
35
  - CODE_OF_CONDUCT.md
36
+ - Gemfile
37
+ - Gemfile.lock
34
38
  - LICENSE.txt
35
39
  - README.md
36
40
  - Rakefile
37
- - lib/jekyll/theme/nyx.rb
38
- - lib/jekyll/theme/nyx/version.rb
39
- - sig/jekyll/theme/nyx.rbs
41
+ - _config.yml
42
+ - _includes/sidebar.html
43
+ - _layouts/default.html
44
+ - _layouts/post.md
45
+ - _posts/2026-01-02-markdown-showcase.md
46
+ - _sass/nyx/_base.scss
47
+ - _sass/nyx/_code.scss
48
+ - _sass/nyx/_layout.scss
49
+ - _sass/nyx/_typography.scss
50
+ - _sass/nyx/_variables.scss
51
+ - assets/css/nyx.scss
52
+ - assets/css/rouge.css
53
+ - assets/img/black-logo.svg
54
+ - assets/img/white-logo.svg
55
+ - index.md
56
+ - jekyll-theme-nyx.gemspec
40
57
  homepage: https://github.com/Slavetomints/jekyll-theme-nyx
41
58
  licenses:
42
59
  - MIT
@@ -1,9 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Jekyll
4
- module Theme
5
- module Nyx
6
- VERSION = "0.1.0"
7
- end
8
- end
9
- end
@@ -1,12 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require_relative "nyx/version"
4
-
5
- module Jekyll
6
- module Theme
7
- module Nyx
8
- class Error < StandardError; end
9
- # Your code goes here...
10
- end
11
- end
12
- end
@@ -1,8 +0,0 @@
1
- module Jekyll
2
- module Theme
3
- module Nyx
4
- VERSION: String
5
- # See the writing guide of rbs: https://github.com/ruby/rbs#guides
6
- end
7
- end
8
- end