Five themes, and the day that picks them

Wagahai has no light mode and no dark mode. It has the time of day. Left alone (theme = "auto", the default) it wears one of five themes according to the sun, each built from traditional Japanese colours and named for one of them — and this page does the same: it is wearing the theme your clock calls for. The dots at the top right change it.

The day

Without a location the bands are clock hours. With one — location = [35.68, 139.69] in the config — they follow the sun: civil dawn to sunrise is the dawn, then three hours of morning, the day until an hour before sunset, dusk until an hour past civil dusk, and the rest is night. A sun that never rises leaves the whole day night; one that never sets leaves none of it.

00night
05dawn
06morning
10day
17dusk
20night

The clock's bands. The line is your now.

東雲

The hour before sunrise. Dark still, but the black has warmed to 黒紅 and the accents are the dawn's own — 曙 peach, 珊瑚 coral, 藤鼠 wisteria grey. Night hands over to it dark to dark, so nothing flashes.

The wagahai Imbox in the shinonome theme

The real client at this hour (wagahai --demo --at …). Wear shinonome on this page →

The palette

Yuki Tanaka  Re: sushi Thursday? — Same place, 19:30… ↩ needs reply
─── yesterday ───────────
  The Browser  a city that does not exist[1] ⚘ → Feed
bg #1B141D
黒紅 kurobeni, deepened
the ground
surface #251C28
紫黒 shikoku
cards and bars
border #4A3850
滅紫 messhi, darkened
rules and frames
fg #ECE4DE
灰白 kaihaku
text
fg_strong #F8F4E6
象牙色 zōge-iro
unread, headings
muted #B1AFCB
藤鼠 fujinezumi, lifted
secondary text
dim #8C7C8A
鳩羽鼠 hatobanezumi
hints, day lines
accent #F19072
曙色 akebono-iro
the cursor bar, the unread dot
accent2 #F5B1AA
珊瑚色 sango-iro
links
selection #3D2233
葡萄 ebi, deep
the selected row
ok #68BE8D
若竹色 wakatake-iro
confirmed
warn #F8B500
山吹色 yamabuki-iro
needs reply, held
danger #E95464
韓紅 karakurenai
failed
agent #BBBCDE
藤色 fuji-iro
an agent's hand

生成り

The morning. Warm paper, 消炭 charcoal ink, 朱 vermilion for the one bright thing. For its first half hour it opens tinted toward 桜色 and settles to its own cream — the day's one step from dark to light lands rosy.

The wagahai Imbox in the kinari theme

The real client at this hour (wagahai --demo --at …). Wear kinari on this page →

The palette

Yuki Tanaka  Re: sushi Thursday? — Same place, 19:30… ↩ needs reply
─── yesterday ───────────
  The Browser  a city that does not exist[1] ⚘ → Feed
bg #FBFAF5
生成り kinari
the ground
surface #F3EFE3
象牙 zōge, warmed
cards and bars
border #D9CFBC
亜麻色 ama-iro
rules and frames
fg #4A4846
消炭 keshizumi
text
fg_strong #2B2523
鉄黒 tetsuguro
unread, headings
muted #686E60
利休鼠 rikyū-nezumi, deepened
secondary text
dim #878A82
薄墨 usuzumi, deepened
hints, day lines
accent #E25C00
朱色 shu-iro
the cursor bar, the unread dot
accent2 #1E50A2
瑠璃色 ruri-iro
links
selection #F9E5D3
shu at 14% over bg
the selected row
ok #007B43
常磐色 tokiwa-iro
confirmed
warn #A57A30
黄土色 ōdo-iro, deepened
needs reply, held
danger #B7282E
茜色 akane-iro
failed
agent #745399
江戸紫 edo-murasaki
an agent's hand

月白

The day. A cool ground with 紺 navy ink and 紅 crimson. The working hours: the most contrast, the least warmth.

The wagahai Imbox in the geppaku theme

The real client at this hour (wagahai --demo --at …). Wear geppaku on this page →

The palette

Yuki Tanaka  Re: sushi Thursday? — Same place, 19:30… ↩ needs reply
─── yesterday ───────────
  The Browser  a city that does not exist[1] ⚘ → Feed
bg #EEF5FB
月白 geppaku
the ground
surface #F8FBFD
白磁 hakuji
cards and bars
border #C1D8E1
白藍 shira-ai
rules and frames
fg #39445A
藍鉄 aitetsu, lifted
text
fg_strong #223A70
紺色 kon-iro
unread, headings
muted #56707E
藍鼠 ainezumi, deepened
secondary text
dim #7A8F97
銀鼠 ginnezumi, cooled
hints, day lines
accent #D7003A
紅色 kurenai-iro
the cursor bar, the unread dot
accent2 #165E83
藍色 ai-iro
links
selection #EBD3E0
kurenai at 14% over bg
the selected row
ok #007B43
常磐色
confirmed
warn #C96D00
蜜柑色 mikan-iro, deepened
needs reply, held
danger #D3381C
緋色 hi-iro
failed
agent #5654A2
桔梗色 kikyō-iro
an agent's hand

Dusk and twilight. Deep indigo with 山吹 gold and 薄紅 pink — the sky an hour either side of sunset.

The wagahai Imbox in the kachi theme

The real client at this hour (wagahai --demo --at …). Wear kachi on this page →

The palette

Yuki Tanaka  Re: sushi Thursday? — Same place, 19:30… ↩ needs reply
─── yesterday ───────────
  The Browser  a city that does not exist[1] ⚘ → Feed
bg #101A33
勝色 kachi-iro, deepened
the ground
surface #172444
留紺 tomekon
cards and bars
border #2E4063
紺鼠 kon-nezumi, darkened
rules and frames
fg #D5E3EE
月白 geppaku, dimmed
text
fg_strong #EAF4FC
月白
unread, headings
muted #8496AD
藍鼠 ainezumi, lifted
secondary text
dim #60739A
紺鼠
hints, day lines
accent #F8B500
山吹色 yamabuki-iro
the cursor bar, the unread dot
accent2 #F0908D
薄紅 usubeni
links
selection #30302C
yamabuki at 14% over bg
the selected row
ok #68BE8D
若竹 wakatake
confirmed
warn #F5E56B
刈安 kariyasu
needs reply, held
danger #E0486B
中紅 nakabeni, lifted
failed
agent #BBBCDE
藤 fuji
an agent's hand

濡羽

The night. Lacquer black, 紫水晶 amethyst ink, 柑子 orange as the one bright accent, 勿忘草 forget-me-not for links.

The wagahai Imbox in the nureba theme

The real client at this hour (wagahai --demo --at …). Wear nureba on this page →

The palette

Yuki Tanaka  Re: sushi Thursday? — Same place, 19:30… ↩ needs reply
─── yesterday ───────────
  The Browser  a city that does not exist[1] ⚘ → Feed
bg #0B0E11
呂色 ro-iro (lacquer black)
the ground
surface #14191E
鉄黒 tetsuguro, lifted
cards and bars
border #2A3139
藍鉄 aitetsu, darkened
rules and frames
fg #D6D6DB
紫水晶 murasaki-suishō, dimmed
text
fg_strong #EDEDF0
紫水晶
unread, headings
muted #8A929A
銀鼠 ginnezumi
secondary text
dim #5C6670
藍鼠 ainezumi
hints, day lines
accent #F6AD49
柑子色 kōji-iro
the cursor bar, the unread dot
accent2 #89C3EB
勿忘草色 wasurenagusa-iro
links
selection #2C2419
kōji at 14% over bg
the selected row
ok #98D98E
若緑 wakamidori
confirmed
warn #E6B422
金色 kin-iro
needs reply, held
danger #E0486B
紅 kurenai, lifted for dark ground
failed
agent #A59ACA
藤紫 fuji-murasaki
an agent's hand

The drift, and the blush

Inside a band the ground is not quite still. bg and surface take a trace of amber at the edges of the day and a trace of blue at noon — at most three levels of the 255 either way, a tenth of one in the minute that carries it, so no frame ever shows the change. The ink, the accents and every checked contrast do not move.

The morning gets one thing more. The step from the dawn's dark to the morning's paper is the only place the day goes from dark to light, and a cut from black to cream at sunrise is a flashbulb. A crossfade can't fix that honestly — halfway between a dark theme and a light one, text and ground are both grey. So the dawn is its own dark theme, and kinari opens blushed: tinted halfway toward 桜色 sakura-iro at sunrise, settling to its own cream over thirty minutes.

06:00 — sunrise#FDF3F0
06:10#FCF5F2
06:20#FCF8F4
06:30 — settled#FBFAF5

Halfway to 桜色 is as far as it goes — all the way would take the secondary text under its contrast minimum.

The contract

A theme ships only if it passes a contrast contract, checked at rest, at its warmest, at its coolest, and — for the morning — in its first blushed minute. wagahai theme-check runs all twenty.

pairminimum
text and headings on the ground, and on cards7 : 1
secondary text, links, text on the selected row4.5 : 1
hints; the accent and status glyphs3 : 1

Passing is necessary and not enough. The first shinonome passed every line and still read as fog: its ground was a mid-dark mauve, and greys sank into it. The numbers said fine; a screenshot beside the night theme said otherwise. It was deepened until it was as dark as the night it follows, and body text went from 11 : 1 to 14 : 1.

Using them

# ~/.config/wagahai/config.toml
theme = "auto"                  # the default: the day picks
location = [35.68, 139.69]      # optional: the sun's bands instead of the clock's
# theme = "nureba"              # or pin one, exactly as its file has it

In the client, :theme kachi switches for the session and :theme auto hands it back to the day; 15 pin nureba, kachi, kinari, geppaku, shinonome. A theme is a TOML file of fourteen colours — put your own in ~/.config/wagahai/themes/ and it is a first-class citizen, held to the same contract.