willamette 0.6.0 → 0.6.1

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: b14600bc1b9466fbdeaae3e1add8e22c329a429809c59a352078980a79f12632
4
- data.tar.gz: f5df323495a95da1c249714d97872e0e0502ca7804927988f8e6396a46d5d4b9
3
+ metadata.gz: 0a347cd4bb2385bc2c70bfdbb8dc4270b378d164851437f5d008b4123d8b9a07
4
+ data.tar.gz: d592ffaa65fe70480784d891d62ad0e29944793bd0c49d21a7219ade4c28e982
5
5
  SHA512:
6
- metadata.gz: 5fd4dff6fc3f50dab2807d5a55b03219a9e7c84fcf40f9a8782f7826162676dc4157447bf7b14cfc87a5a10803f3cd663f4aabbfbac0edcccc1a462720405953
7
- data.tar.gz: b7d4a23d04a9490b52d2eb139bbc0127b81a3f9b3a9725ca830c66c590e1b9d0e4bed76a96b1a11741390db5cda0d63a566a4b0760726c7d09a264ac8700788e
6
+ metadata.gz: 56504a7d4ca1f088234086a96f71d6058927f10a14c297dd8f6d4000cda3b24440583c0b3c7613c775761a1757feffa8d970c6d1682a023171660c56dfc9c8d7
7
+ data.tar.gz: 157a632cff03b3c824f99442d2eff259aa8bf42ba89a35e3403623033ec2ca0f34e4d808093b2d65e7232821b2cc6abafcfa46093b4db3d573b6ad642e190ff6
data/CHANGELOG.md CHANGED
@@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
 
10
10
  - ...
11
11
 
12
+ ## [0.6.1] - 2026-04-27
13
+
14
+ - Fill out content in the Style Guide, provide a bypass config option
15
+
12
16
  ## [0.6.0] - 2026-04-23
13
17
 
14
18
  - Clean up layout settings, improve blockquotes and image bleeds
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- willamette (0.6.0)
4
+ willamette (0.6.1)
5
5
  bridgetown (>= 2.1, < 3.0)
6
6
  nokolexbor (>= 0.6)
7
7
 
@@ -1,7 +1,10 @@
1
- ---
2
- layout: page
3
- title: This is the Willamette Theme
4
- ---
1
+ ```ruby
2
+ front_matter do
3
+ layout :page
4
+ title "Willamette Theme Style Guide"
5
+ published -> { !site.config.willamette.bypass_style_guide }
6
+ end
7
+ ```
5
8
 
6
9
  <style>
7
10
  .swatch {
@@ -20,7 +23,7 @@ title: This is the Willamette Theme
20
23
 
21
24
  <hr />
22
25
 
23
- <wa-color-picker label="Chose your brand color:" size="large" oninput='
26
+ <wa-color-picker label="Choose a new brand color:" size="large" oninput='
24
27
  document.documentElement.style.setProperty("--wll-color-brand", event.target.value)
25
28
  this.querySelector("output").textContent = `--wll-color-brand: ${event.target.value};`
26
29
  this.querySelector("wa-copy-button").slot = "hint"
@@ -29,6 +32,15 @@ title: This is the Willamette Theme
29
32
  <wa-copy-button from="color-hint"></wa-copy-button>
30
33
  </wa-color-picker>
31
34
 
35
+ <script type="module">
36
+ import { colordx } from "https://esm.sh/@colordx/core"
37
+ let defaultColor = window.getComputedStyle(document.documentElement).getPropertyValue("--wll-color-brand")
38
+ if (defaultColor.includes("oklch")) {
39
+ defaultColor = colordx(defaultColor).toHex()
40
+ }
41
+ document.querySelector("wa-color-picker").value = defaultColor
42
+ </script>
43
+
32
44
  <hr />
33
45
 
34
46
  ## Brand Color Scale
@@ -90,4 +102,54 @@ title: This is the Willamette Theme
90
102
  </div>
91
103
  <small>05</small>
92
104
  </li>
93
- </ul>
105
+ </ul>
106
+
107
+ ----
108
+
109
+ ## Basic Typography
110
+
111
+ Lorem ipsum dolor sit amet, cillum lorem culpa adipiscing nulla. Nisi sint aliquip aute anim laborum incididunt. Duis duis aliqua consectetur est ex laboris, in consequat enim fugiat aliqua sint est incididunt, dolor esse voluptate aliqua sit ut reprehenderit. **Sit lorem irure aute aliquip veniam pariatur**, anim dolore commodo ea culpa esse quis laborum. _Duis mollit exercitation pariatur._
112
+
113
+ Here are what [links look like](#) as well as `monospaced text`. You can also ==highlight text==.
114
+
115
+ ### Heading Level 3
116
+
117
+ Paragraph text.
118
+
119
+ #### Heading Level 4
120
+
121
+ * Here is a bulleted list.
122
+ * Item 2
123
+ * Item 3
124
+
125
+ And…
126
+
127
+ 1. Here is a numbered list.
128
+ 2. Item 2
129
+ 3. Item 3
130
+
131
+ You can also display blockquotes.
132
+
133
+ > Est est incididunt pariatur, aute laborum non mollit cillum excepteur est incididunt, tempor enim nisi ipsum cillum veniam. Labore lorem nulla occaecat ipsum sed nulla. Non sunt enim exercitation nostrud occaecat deserunt, anim sed esse velit elit eiusmod cupidatat. Laborum nisi aliquip ad.
134
+
135
+ And of course, code snippets.
136
+
137
+ ```ruby
138
+ if ENV["BRIDGETOWN_ENV"] == "production"
139
+ workers ENV.fetch("BRIDGETOWN_CONCURRENCY") { 4 }
140
+ end
141
+
142
+ max_threads_count = ENV.fetch("BRIDGETOWN_MAX_THREADS") { 5 }
143
+ min_threads_count = ENV.fetch("BRIDGETOWN_MIN_THREADS") { max_threads_count }
144
+ threads min_threads_count, max_threads_count
145
+
146
+ pidfile ENV["PIDFILE"] || "tmp/pids/server.pid"
147
+ ```
148
+
149
+ ## Images & Figures
150
+
151
+ ==WIP==
152
+
153
+ ## Tables
154
+
155
+ ==WIP==
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Willamette
4
- VERSION = "0.6.0"
4
+ VERSION = "0.6.1"
5
5
  end
data/lib/willamette.rb CHANGED
@@ -29,14 +29,16 @@ Kramdown::Converter::Html.class_eval do
29
29
  end
30
30
 
31
31
  # @param config [Bridgetown::Configuration::ConfigurationDSL]
32
- Bridgetown.initializer :willamette do |config, docs_url_segment: "docs", layout: {}|
33
- # Add code here which will run when a site includes
34
- # `init :willamette`
35
- # in its configuration
36
-
32
+ Bridgetown.initializer :willamette do |
33
+ config,
34
+ docs_url_segment: "docs",
35
+ layout: {},
36
+ bypass_style_guide: false
37
+ |
37
38
  # Add default configuration data:
38
39
  config.willamette ||= {}
39
40
  config.willamette.layout ||= layout
41
+ config.willamette.bypass_style_guide ||= bypass_style_guide
40
42
 
41
43
  # Register your builders:
42
44
  config.builder Willamette::Builders::AuthorExtension
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "willamette",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "main": "frontend/javascript/index.js",
5
5
  "repository": {
6
6
  "type": "git",
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: willamette
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bridgetown Team
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2026-04-24 00:00:00.000000000 Z
10
+ date: 2026-04-28 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: bridgetown