From a3bedde12e02fd7031355c5d3b2d150ede3ba33e Mon Sep 17 00:00:00 2001 From: tannevaled Date: Sun, 11 Oct 2026 17:49:24 +0200 Subject: [PATCH] landingkit v0.3.0, and the brand block generated from the logo like every other landing The owner chose the logo's colours over the hand-picked shades (2026-10-11). deep #115E59 -> #085a53, bright #2DD4BF -> #14b8a6, chips and dark chip text follow; statsEnd and bandText are new in v0.3.0. Base on white is 3.74:1, noted in the comment above the block. Supersedes Renovate's #16. Co-Authored-By: Claude Opus 5.5 (1M context) --- go.mod | 2 +- go.sum | 4 ++-- hugo.toml | 44 +++++++++++++++++++++++++------------------- 3 files changed, 28 insertions(+), 22 deletions(-) diff --git a/go.mod b/go.mod index d006ec9..ea2ebd6 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,4 @@ module github.com/go-widgets/go-widgets.github.io go 1.27.1 -require github.com/go-fleettools/landingkit v0.1.0 +require github.com/go-fleettools/landingkit v0.3.0 diff --git a/go.sum b/go.sum index 457143e..83ad761 100644 --- a/go.sum +++ b/go.sum @@ -1,2 +1,2 @@ -github.com/go-fleettools/landingkit v0.1.0 h1:hTeoBDLRPR5+l95YYQvQQnW0el/GTwh830LXxy6uXSg= -github.com/go-fleettools/landingkit v0.1.0/go.mod h1:NUBMh7cVFUfD/hX6Xv5ef2O/r4F6rPtPGGVd3T+9qc0= +github.com/go-fleettools/landingkit v0.3.0 h1:vFzTuAYjuTQUJ80B8T87JyIxATZ4wof+3adwcfrST6U= +github.com/go-fleettools/landingkit v0.3.0/go.mod h1:NUBMh7cVFUfD/hX6Xv5ef2O/r4F6rPtPGGVd3T+9qc0= diff --git a/hugo.toml b/hugo.toml index 6b9ece2..fda96d1 100644 --- a/hugo.toml +++ b/hugo.toml @@ -15,26 +15,32 @@ disableKinds = ["taxonomy", "term", "RSS", "sitemap", "404"] [[module.imports]] path = "github.com/go-fleettools/landingkit" -# The shared stylesheet (layouts/partials/styles.html, the same file -# go-fileshare and go-authn use) reads its colours from here and defaults to -# their cyan. go-widgets' mark is teal (#0D9488, go-widgets/brand), so every -# colour the sheet takes is given: base, deep and bright are the mark and two -# shades of it; the rgba() washes and glows are the same teal at the opacity -# the cyan defaults use. +# The shared stylesheet comes from go-fleettools/landingkit and reads its +# colours from the brand table below. Since 2026-10-11 the block is generated +# from the logo like every other landing (`landingkit brand +# static/img/logo.svg`), by the owner's choice, replacing hand-picked shades. +# The teal mark is light: base on white is 3.74:1, under WCAG AA's 4.5:1 for +# body text, so brand-coloured text should stay large or bold. [params.brand] - base = "#0D9488" - deep = "#115E59" - bright = "#2DD4BF" - shadow = "rgba(13,148,136,.7)" - glow = "rgba(13,148,136,.6)" - wash = "rgba(13,148,136,.10)" - washDeep = "rgba(17,94,89,.06)" - chipBg = "#e6f7f5" - chipBorder = "#b2e5df" - chipFg = "#115E59" - chipBgDark = "rgba(45,212,191,.14)" - chipBorderDark = "rgba(45,212,191,.32)" - chipFgDark = "#99f6e4" +# Generated by go-fleettools/landingkit from static/img/logo.svg: the colours are +# READ from the logo's gradient, never chosen. Do not add other keys: +# neutrals (backgrounds, surfaces, greys) belong to the shared sheet. +# Contrast: base on white 3.74:1, bright on the dark background 7.76:1. + base = "#0d9488" + deep = "#085a53" + bright = "#14b8a6" + shadow = "rgba(13,148,136,.7)" + glow = "rgba(13,148,136,.6)" + wash = "rgba(13,148,136,.10)" + washDeep = "rgba(8,90,83,.06)" + chipBg = "#e3f6f4" + chipBorder = "#b8eae4" + chipFg = "#085a53" + chipBgDark = "rgba(20,184,166,.14)" + chipBorderDark = "rgba(20,184,166,.32)" + chipFgDark = "#7ed8ce" + statsEnd = "#c7eeea" + bandText = "#d9f4f1" # Every module of the organisation, one card each. # "layer" = which part of the stack: rendering / state / surface / rules / app.