Recent activity

[PATCH] Update README links to jqlang 2 months ago

From Stefan VanBuren to ~gpanders/ijq

Also adjust the color hash to lower-case, matching the id.
---
 README.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index b39cae3..3b30e5f 100644
--- a/README.md
+++ b/README.md
@@ -92,8 +92,8 @@ Use `Ctrl-C` to exit `ijq` immediately, discarding all filters and state.
You can configure the colors by setting the `JQ_COLORS` environment variable.
See the [jq documentation][colors] for more details.

[jq]: https://stedolan.github.io/jq/
[message trimmed]

[PATCH] Update templates 7 months ago

From Stefan VanBuren to ~sircmpwn/godocs.io

I had first noticed that the <input> for searching was just a regular
`type="text"` instead of perhaps the more appropriate `type="search"`,
and then figured I'd throw godocs.io into https://validator.w3.org/nu/
to see if there was anything to fix up while I was here. Noticed a few
things:

* Removed an unnecessary trailing slash in <link>
* Removed the unnecessary `role="main"` on <main>
* Change <td>s to use CSS for alignment[1]
* Properly close the footer tag

Think these are all pretty clear improvements, but feel free to cut as
you see fit.
[message trimmed]

[PATCH core.sr.ht] layout.html: Remove theme-color meta element 2 years ago

From Stefan VanBuren to ~sircmpwn/sr.ht-dev

By hard coding this to #ffffff (white), dark mode doesn't look right in
certain browsers. Remove the tag so that the browser can determine what
color to use in these situations.
---
 srht/templates/layout.html | 1 -
 1 file changed, 1 deletion(-)

diff --git a/srht/templates/layout.html b/srht/templates/layout.html
index b812d45..e580d95 100644
--- a/srht/templates/layout.html
+++ b/srht/templates/layout.html
@@ -3,7 +3,6 @@
  <head>
    <meta charset="utf-8">
[message trimmed]

Re: Remove theme-color meta tag 2 years ago

From Stefan VanBuren to ~sircmpwn/sr.ht-discuss

Here's a quick side by side between sr.ht and GitHub in dark mode:

sr.ht (notice the white at the top of the screen):
https://u.teknik.io/coyjs.jpeg

GitHub:
https://u.teknik.io/0xhh5.jpeg

Hope that clarifies what I'm talking about!

Cheers,
Stefan

Remove theme-color meta tag 2 years ago

From Stefan VanBuren to ~sircmpwn/sr.ht-discuss

Hi,

The `theme-color` meta tag is hardcoded here for all sr.ht services:

https://git.sr.ht/~sircmpwn/core.sr.ht/tree/master/item/srht/templates/layout.html#L6

Because of this, the color doesn't change in dark mode, and instead is
always white, which is a bit distracting.

I'd suggest either:

1. Having two tags for different media `prefers-color-scheme` values,
   suggested [towards the bottom here](^1), or

[PATCH sr.ht-docs] Fix a few typos in graphql.md 3 years ago

From Stefan VanBuren to ~sircmpwn/sr.ht-dev

---
 graphql.md | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/graphql.md b/graphql.md
index 82144cf..ad10ae7 100644
--- a/graphql.md
+++ b/graphql.md
@@ -117,7 +117,7 @@ specification](https://github.com/jaydenseric/graphql-multipart-request-spec).

To limit abuse, we calculate the complexity of your query before executing it,
and apply an upper limit. As a general rule of thumb, the complexity is
a function of how many resoruces your request implicates. For example, consider
a function of how many resources your request implicates. For example, consider
[message trimmed]