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 +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/content/willamette/style-guide.md +68 -6
- data/lib/willamette/version.rb +1 -1
- data/lib/willamette.rb +7 -5
- data/package.json +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0a347cd4bb2385bc2c70bfdbb8dc4270b378d164851437f5d008b4123d8b9a07
|
|
4
|
+
data.tar.gz: d592ffaa65fe70480784d891d62ad0e29944793bd0c49d21a7219ade4c28e982
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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="
|
|
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==
|
data/lib/willamette/version.rb
CHANGED
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 |
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
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
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.
|
|
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-
|
|
10
|
+
date: 2026-04-28 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: bridgetown
|