jekyll-theme-neubrutalism 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: eaa9b0c99a73fe99e8c306cfe112a2aa45653234ac1fdc5ea6f2a4b7cbe7ab2f
4
+ data.tar.gz: 7e165f96e96f90c46f12250b34fd744dfd327a33dc04114ec5cfc7d0c9b5b90e
5
+ SHA512:
6
+ metadata.gz: e63f2be92bd16ed35676df5072f1afc85ba87d61dbeaefbe812acb593fb089999951bcb2865f350a53af2e4decb04eaedda1734b47cf35f7029ad676660ba5cd
7
+ data.tar.gz: 335e9d36ca71db244b3abaa47a36c030555be25d645291c8f135cb36a69b05013ff93519d4aa1e4a33c101d006ebfde451233672d31ae791d707d1e587f0c8fb
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Elycia Finch
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 all
13
+ 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 THE
21
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,160 @@
1
+ # Neubrutalist Jekyll Theme
2
+
3
+ A straightforward Jekyll theme that applies neubrutalist design principles in a clean, maintainable way. The goal is to provide a functional, high‑contrast interface with clearly defined structure—useful for documentation, internal notes, and personal sites where clarity is more important than polish.
4
+
5
+ ## What Is Neubrutalism?
6
+
7
+ Neubrutalism (Neo‑Brutalism) is a design approach that emphasizes visible structure and high‑contrast elements. Instead of minimizing visual components, it highlights them:
8
+
9
+ - Thick borders (4px+)
10
+ - Hard, offset shadows with no blur
11
+ - Saturated, contrasting colors
12
+ - Strong typography
13
+ - Intentional, “unhidden” UI elements
14
+
15
+ The result is a UI that is easy to read, easy to navigate, and visually explicit.
16
+
17
+ ## Features
18
+
19
+ - **Clear, explicit visual design** using bold borders and shadows
20
+ - **Customizable color system** built around simple CSS variables
21
+ - **Responsive layouts** that work across devices
22
+ - **GitHub Pages compatible** with no additional setup
23
+ - **Space Grotesk and Space Mono** for a clean, technical type system
24
+ - **Pure CSS** with no frameworks or unnecessary dependencies
25
+ - **Built‑in layouts** for posts and pages
26
+ - **Rounded corner option** for users who prefer softened edges
27
+
28
+ ## Color Palette (Default)
29
+
30
+ ```css
31
+ --color-primary: #FF006E;
32
+ --color-secondary: #00F5FF;
33
+ --color-accent: #FFBE0B;
34
+ --color-success: #06FFA5;
35
+ --color-border: #000000;
36
+ ```
37
+
38
+
39
+ ## Installation
40
+
41
+ ### Option 1: GitHub Pages (Easiest)
42
+
43
+ Add to your `_config.yml`:
44
+
45
+ ```yaml
46
+ remote_theme: cryptonym0/jekyll-theme-neubrutalism
47
+ plugins:
48
+ - jekyll-feed
49
+ - jekyll-seo-tag
50
+ ```
51
+
52
+ ### Option 2: As a Gem
53
+
54
+ Add to your `Gemfile`:
55
+
56
+ ```ruby
57
+ gem "jekyll-theme-neubrutalism"
58
+ ```
59
+
60
+ And to your `_config.yml`:
61
+
62
+ ```yaml
63
+ theme: jekyll-theme-neubrutalism
64
+ ```
65
+
66
+ Then run: `bundle install`
67
+
68
+
69
+ ## 📖 Documentation
70
+
71
+ - **[Installation Guide](INSTALLATION.md)** - Detailed setup instructions
72
+ - **[Publishing Guide](PUBLISHING.md)** - How to distribute this theme
73
+ - **[Changelog](CHANGELOG.md)** - Version history
74
+ - **[Example Site](EXAMPLE_SITE.md)** - Example implementation
75
+ ---
76
+
77
+ ## Local Development
78
+
79
+ ```bash
80
+ # Install dependencies
81
+ bundle install
82
+
83
+ # Start Jekyll server
84
+ bundle exec jekyll serve
85
+
86
+ # Open http://localhost:4000
87
+ ```
88
+
89
+ ## 🎨 Customization
90
+
91
+ ### Change Colors
92
+
93
+ Edit `assets/css/style.css`:
94
+
95
+ ```css
96
+ :root {
97
+ --color-primary: #YOUR_COLOR;
98
+ --color-secondary: #YOUR_COLOR;
99
+ --color-accent: #YOUR_COLOR;
100
+ }
101
+ ```
102
+
103
+ ### Adjust Border Thickness
104
+
105
+ ```css
106
+ :root {
107
+ --border-width: 6px; /* Make it even BOLDER */
108
+ }
109
+ ```
110
+
111
+ ### Modify Shadows
112
+
113
+ ```css
114
+ :root {
115
+ --shadow: 12px 12px 0 #000000; /* Bigger shadows */
116
+ }
117
+ ```
118
+
119
+ ## 📝 Creating Content
120
+
121
+ ### Add a New Post
122
+
123
+ Create a file in `_posts/`:
124
+
125
+ ```markdown
126
+ ---
127
+ layout: post
128
+ title: "Your Bold Title"
129
+ date: 2026-03-02 12:00:00 -0800
130
+ categories: your categories
131
+ ---
132
+
133
+ Your content here...
134
+ ```
135
+
136
+ ### Add a New Page
137
+
138
+ Create a `.markdown` or `.html` file:
139
+
140
+ ```markdown
141
+ ---
142
+ layout: page
143
+ title: "Page Title"
144
+ permalink: /your-page/
145
+ ---
146
+
147
+ Your content here...
148
+ ```
149
+
150
+ ## 🛠️ Built With
151
+
152
+ - Jekyll 4.3+
153
+ - Pure CSS (no frameworks)
154
+ - Google Fonts (Space Grotesk & Space Mono)
155
+
156
+ ## 📄 License
157
+
158
+ Free to use and customize. Make it BOLD!
159
+
160
+ ---
@@ -0,0 +1,42 @@
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
+ <title>{{ page.title }} | {{ site.title }}</title>
7
+ <link rel="stylesheet" href="{{ '/assets/css/style.css' | relative_url }}">
8
+ <link rel="preconnect" href="https://fonts.googleapis.com">
9
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
10
+ <link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;700&family=Space+Mono:wght@400;700&display=swap" rel="stylesheet">
11
+ {% seo %}
12
+ {% feed_meta %}
13
+ </head>
14
+ <body>
15
+ <header class="site-header">
16
+ <div class="wrapper">
17
+ <a class="site-title" href="{{ '/' | relative_url }}">{{ site.title }}</a>
18
+ <nav class="site-nav">
19
+ <a href="{{ '/' | relative_url }}">HOME</a>
20
+ <a href="{{ '/docs/' | relative_url }}">DOCS</a>
21
+ <a href="{{ '/about/' | relative_url }}">ABOUT</a>
22
+ </nav>
23
+ </div>
24
+ </header>
25
+
26
+ <main class="page-content">
27
+ <div class="wrapper {% if page.layout == 'docs' %}docs-wrapper{% endif %}">
28
+ {{ content }}
29
+ </div>
30
+ </main>
31
+
32
+ <footer class="site-footer">
33
+ <div class="wrapper">
34
+ <div class="footer-content">
35
+ <p class="footer-text">{{ site.description }}</p>
36
+ <p class="footer-copy">&copy; {{ 'now' | date: "%Y" }} cryptonym0/jekyll-theme-neubrutalism </p>
37
+ </div>
38
+ </div>
39
+ </footer>
40
+ </body>
41
+ </html>
42
+
@@ -0,0 +1,164 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div class="docs-container">
6
+ <!-- Sidebar Navigation -->
7
+ <aside class="docs-sidebar">
8
+ <nav class="docs-nav">
9
+ <div class="docs-nav-header">
10
+ <h3>{{ page.category | default: "Documentation" }}</h3>
11
+ </div>
12
+
13
+ {% if page.docs_nav %}
14
+ <ul class="docs-nav-list">
15
+ {% for item in page.docs_nav %}
16
+ <li class="docs-nav-item {% if item.url == page.url %}active{% endif %}">
17
+ <a href="{{ item.url | relative_url }}">{{ item.title }}</a>
18
+ {% if item.children %}
19
+ <ul class="docs-nav-sublist">
20
+ {% for child in item.children %}
21
+ <li class="docs-nav-subitem {% if child.url == page.url %}active{% endif %}">
22
+ <a href="{{ child.url | relative_url }}">{{ child.title }}</a>
23
+ </li>
24
+ {% endfor %}
25
+ </ul>
26
+ {% endif %}
27
+ </li>
28
+ {% endfor %}
29
+ </ul>
30
+ {% else %}
31
+ <!-- Auto-generate nav from site pages with same category -->
32
+ <ul class="docs-nav-list">
33
+ {% assign docs_pages = site.pages | where: "layout", "docs" | where: "category", page.category | sort: "order" %}
34
+ {% for doc in docs_pages %}
35
+ <li class="docs-nav-item {% if doc.url == page.url %}active{% endif %}">
36
+ <a href="{{ doc.url | relative_url }}">{{ doc.title }}</a>
37
+ </li>
38
+ {% endfor %}
39
+ </ul>
40
+ {% endif %}
41
+
42
+ <!-- Table of Contents -->
43
+ {% if page.toc != false %}
44
+ <div class="docs-toc">
45
+ <h4>On This Page</h4>
46
+ <div id="toc-content">
47
+ <!-- Will be populated by JavaScript -->
48
+ </div>
49
+ </div>
50
+ {% endif %}
51
+ </nav>
52
+ </aside>
53
+
54
+ <!-- Main Content -->
55
+ <main class="docs-content">
56
+ <article class="docs-article">
57
+ <!-- Breadcrumbs -->
58
+ {% if page.breadcrumbs %}
59
+ <nav class="breadcrumbs">
60
+ {% for crumb in page.breadcrumbs %}
61
+ {% if forloop.last %}
62
+ <span class="breadcrumb-item active">{{ crumb.title }}</span>
63
+ {% else %}
64
+ <a href="{{ crumb.url | relative_url }}" class="breadcrumb-item">{{ crumb.title }}</a>
65
+ <span class="breadcrumb-separator">→</span>
66
+ {% endif %}
67
+ {% endfor %}
68
+ </nav>
69
+ {% endif %}
70
+
71
+ <!-- Header -->
72
+ <header class="docs-header">
73
+ <h1 class="docs-title">{{ page.title }}</h1>
74
+ {% if page.description %}
75
+ <p class="docs-description">{{ page.description }}</p>
76
+ {% endif %}
77
+
78
+ <!-- Meta Info -->
79
+ <div class="docs-meta">
80
+ {% if page.version %}
81
+ <span class="docs-version">Version: {{ page.version }}</span>
82
+ {% endif %}
83
+ {% if page.date %}
84
+ <span class="docs-date">Updated: {{ page.date | date: "%b %-d, %Y" }}</span>
85
+ {% endif %}
86
+ </div>
87
+ </header>
88
+
89
+ <!-- Content -->
90
+ <div class="docs-body">
91
+ {{ content }}
92
+ </div>
93
+
94
+ <!-- Footer Navigation -->
95
+ <footer class="docs-footer">
96
+ <div class="docs-nav-buttons">
97
+ {% if page.previous_doc %}
98
+ <a href="{{ page.previous_doc.url | relative_url }}" class="docs-nav-btn docs-nav-prev">
99
+ <span class="docs-nav-label">← Previous</span>
100
+ <span class="docs-nav-title">{{ page.previous_doc.title }}</span>
101
+ </a>
102
+ {% endif %}
103
+
104
+ {% if page.next_doc %}
105
+ <a href="{{ page.next_doc.url | relative_url }}" class="docs-nav-btn docs-nav-next">
106
+ <span class="docs-nav-label">Next →</span>
107
+ <span class="docs-nav-title">{{ page.next_doc.title }}</span>
108
+ </a>
109
+ {% endif %}
110
+ </div>
111
+
112
+ <!-- Edit on GitHub -->
113
+ {% if site.github_repo and page.path %}
114
+ <div class="docs-edit">
115
+ <a href="{{ site.github_repo }}/edit/main/{{ page.path }}" target="_blank" class="docs-edit-link">
116
+ Edit this page on GitHub
117
+ </a>
118
+ </div>
119
+ {% endif %}
120
+ </footer>
121
+ </article>
122
+ </main>
123
+ </div>
124
+
125
+ <!-- Table of Contents Generator Script -->
126
+ <script>
127
+ document.addEventListener('DOMContentLoaded', function() {
128
+ const content = document.querySelector('.docs-body');
129
+ const tocContent = document.getElementById('toc-content');
130
+
131
+ if (!content || !tocContent) return;
132
+
133
+ const headings = content.querySelectorAll('h2, h3');
134
+ if (headings.length === 0) {
135
+ document.querySelector('.docs-toc').style.display = 'none';
136
+ return;
137
+ }
138
+
139
+ const tocList = document.createElement('ul');
140
+ tocList.className = 'toc-list';
141
+
142
+ headings.forEach((heading, index) => {
143
+ const id = heading.id || `heading-${index}`;
144
+ heading.id = id;
145
+
146
+ const li = document.createElement('li');
147
+ li.className = heading.tagName === 'H2' ? 'toc-item' : 'toc-subitem';
148
+
149
+ const a = document.createElement('a');
150
+ a.href = `#${id}`;
151
+ a.textContent = heading.textContent;
152
+ a.onclick = function(e) {
153
+ e.preventDefault();
154
+ heading.scrollIntoView({ behavior: 'smooth' });
155
+ window.history.pushState(null, null, `#${id}`);
156
+ };
157
+
158
+ li.appendChild(a);
159
+ tocList.appendChild(li);
160
+ });
161
+
162
+ tocContent.appendChild(tocList);
163
+ });
164
+ </script>
@@ -0,0 +1,33 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div class="home">
6
+ <div class="hero-section">
7
+ <h1 class="hero-title"> NEUBRUTALISM <br> THEME </h1>
8
+ <p class="hero-subtitle">Blog landing page example for those who reject the importance of UX</p>
9
+ </div>
10
+
11
+ {{ content }}
12
+
13
+ {% if site.posts.size > 0 %}
14
+ <section class="post-list-section">
15
+ <h2 class="section-title">LATEST POSTS</h2>
16
+ <ul class="post-list">
17
+ {% for post in site.posts %}
18
+ <li class="post-item">
19
+ <span class="post-date">{{ post.date | date: "%b %-d, %Y" }}</span>
20
+ <h3>
21
+ <a class="post-link" href="{{ post.url | relative_url }}">
22
+ {{ post.title | escape }}
23
+ </a>
24
+ </h3>
25
+ {% if post.excerpt %}
26
+ <p class="post-excerpt">{{ post.excerpt | strip_html | truncatewords: 30 }}</p>
27
+ {% endif %}
28
+ </li>
29
+ {% endfor %}
30
+ </ul>
31
+ </section>
32
+ {% endif %}
33
+ </div>
@@ -0,0 +1,12 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <article class="page">
5
+ <header class="page-header">
6
+ <h1 class="page-title">{{ page.title }}</h1>
7
+ </header>
8
+
9
+ <div class="page-content-inner">
10
+ {{ content }}
11
+ </div>
12
+ </article>
@@ -0,0 +1,15 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <article class="post">
5
+ <header class="post-header">
6
+ <h1 class="post-title">{{ page.title }}</h1>
7
+ <p class="post-meta">
8
+ <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%B %-d, %Y" }}</time>
9
+ </p>
10
+ </header>
11
+
12
+ <div class="post-content">
13
+ {{ content }}
14
+ </div>
15
+ </article>