Preset

One component set used by every page. The source lives in common/components.css . If anything is missing, add it there and on this page first.

Foundations

A

The tanplanet brand

logo-header.png
tanplanet = a diary of experiences and memories, shared with others and reviewed every day

tanplanet logo
  • SunEvery day is a new page that starts by reviewing what yesterday taught me
  • MountainExperience built up bit by bit into a solid base for the work
  • RiverMemories that keep flowing, passed on for others to use and build on

Black logo on white only · no colour, shadow or frame · tell the brand story with these three meanings only

B

Colour

common/tokens.css
Front end is black and white · every text colour ≥ 4.5:1 on white (WCAG AA) · other colours only for the hero highlight

--tp-bg#ffffff
--tp-surface#ffffff
--tp-surface-2#f6f6f7Secondary boxes, header band, table of contents
--tp-surface-3#f0f0f1code, chip
--tp-border#ececec
--tp-border-strong#d4d4d8
--tp-text#1f1f1fHeadings · 16.5:1 on white
--tp-text-2#3f3f46Body · 10.4:1 on white
--tp-text-3#6b6b6bSecondary/captions · 5.3:1 on white
--tp-text-4#767676Faintest: numbers, dates · 4.5:1 on white (WCAG AA)
--tp-brand#1f1f1f16.5:1 on white
--tp-brand-2#3f3f4610.4:1 on white
--tp-brand-3#6b6b6b5.3:1 on white
--tp-hero-1#7c3aed5.7:1 on white
--tp-hero-2#db27774.6:1 on white
--tp-hero-3#f973162.8:1 on white
--tp-on-brand#ffffff1.0:1 on white
C

Typography

--tp-font · --tp-font-display
Google Sans for both Thai and English (even stroke weight on one line) · code uses SF Mono

Page title48 / 1.15 · 700Google Sans

Projects

Section h228 / 1.3 · 600Google Sans

This section's heading

Card h318 / 1.45 · 600Google Sans

Merged PDF text came out blurry

Body17 / 1.75 · 400Google Sans → Inter

Regular body text, easy to read in Thai and English

Secondary / caption14 / 1.6 · 400Google Sans

A caption that says what to look at in the image

Eyebrow12 · 600 · uppercase, .08em trackingGoogle Sans

Empathize · Define

D

Icons

svg viewBox 0 0 24 24 · stroke 1.4–1.8 · round
ไอคอนเส้นชุดเดียว (แนว Lucide) · สีตาม currentColor · ห้ามใช้ emoji แทนไอคอน · 44 ตัวที่ใช้อยู่

CMS · AI Content Pipeline
IDE Extension · Design Engineering
Android TV · Security
Personal Tool · Open Source
Home Server · Automation
Motion Graphic · Content
macOS Tool · Automation
Personal Tool · Productivity
LINE Bot · Automation
UX/UI · Accessibility
UX/UI · Design System
Product Strategy · Content
Chrome Extension · Tooling
Embedded · Hardware
AI Coach · Fintech
Internal Platform · Web App
AI Web App · Fortune
Brand Catalog · Web App
Hospital Site · Web App
Chrome Extension · AI
VS Code Extension · Tooling
AI Video Pipeline · Automation
AI Avatar Live Platform · Web App
Live Analytics · Desktop
Marketing Site · Web App
Live Streaming · Desktop
CV Research · AI
LINE Bot · Automation
Full-Stack Web App
Enterprise Case Study
AI Web App — POC
Chrome Extension
Developer Tool
UI/UX Design
Web Design — Webflow
Concept / macOS Utility
UX/UI Design / E-Commerce
Experiment / POC
Interactive Travel Guide
LINE Bot Automation
Design Thinking Case Study
Design Thinking Case Study
AI + Design Tooling
Automation Script

Case study content

01

Section intro

section.section-intro > .eyebrow + h2 + p
Opens each part of the story (Empathize · Define · Ideate …)

Empathize · Define

This section's heading

A one-to-two-line lead saying what this section covers

02

Paragraph + inline code

p · code
Regular content

Regular body text with bold and inline code and links like this

03

Figure

figure.shot (+ .shot-narrow · .shot-phone · .shot-pair)
Screenshots/photos · click to enlarge

The home screen out of the box — only a few of these apps were ever used
04

User quote

div.quote-block > p + .author
Quote a real user or the brief

To see what an empty inventory looks like, I have to delete everything by hand every time

— the original brief
05

Lesson / note box

div.learning-card (+ .note · .ok)
Lessons, things to know, agreements

Lesson: When a page hangs, open the Network tab before the code

Note: .note has a white background, for supporting text

Result: .ok has a left rule, for summing up the outcome

06

Card grid

div.pain-grid > .pain-card (same for solution · module · partner)
2–4 problems, solutions or modules

Card heading 1

A short description, two lines at most

Card heading 2

A short description, two lines at most

07

Problem + fix

div.hack-grid > .hack-card > h3 + p + .highlight
Test & Iterate section

Merged PDF text came out blurry

The symptom, in one sentence

Fix: What was done, and why in brief

Thai text showed as boxes

The symptom

Fix: Embed the font in the file
08

Steps

div.flow-grid > .flow-step > .step-num + h4 + p
A 3–8 step process

01

Back up everything

What this step does

02

Disable the installer first

What this step does

03

Confirm it really stopped

What this step does

09

Result metrics

div.metrics > .metric-card > .num + .label
Measured results · columns adapt to count (4 → 2×2 · 6 → 3×2)

3
apps on the home screen, down from 12
23
apps removed
2.2×
more free RAM
0
unknown connections
10

Icon list

ul.plain > li > svg + span
3–5 reasons or highlights

  • A shorter path with the explanation on the same line
  • Designed around constraints with the explanation on the same line
  • Stays on the home network with the explanation on the same line
11

Options comparison table

div.ledger-wrap > table.ledger · tr[data-picked] + .pick
Compare options and say which one was picked

OptionWhat it showsCostWhy dropped / picked
Option AOne piece at a timeHighWhy it wasn't picked
Option B PickedThe real pageLowWhy it was picked
12

Chips

.chips > .chip (+ .own) · .stack-icons > .stack-icon
Tech/category · filled = my own · outlined = third-party

Built myselfThird-party appNext.jsClaude Code
13

Layer diagram

div.arch-diagram > .arch-layers > .arch-layer (text + .arch-sub > span) · .arch-arrow
System architecture in 2–5 layers

Top layer — what users see
Web pageLINE Bot
↕
Middle layer — processing
APIJob queue
↕
Bottom layer — storage
PostgresFiles on S3
14

FAQ

div.faq > details.faq-item > summary + p.faq-a · paired with FAQPage JSON-LD
Short, direct answers (AEO) · About page

A short question people actually search

A short, clear answer in one paragraph

A second question

The second answer

15

Divider

hr.divider
Separates content within a section (use section-intro between sections)


Blog articles

16

Article lead

blockquote.ap-lead
The first line of a blog article

An opening line that pulls the reader in
17

Headings + lists

h2 · h3 · ul · ol
Article structure

Heading level 2

A paragraph under the heading

Heading level 3

  • Bulleted item
  • Second item
  1. Numbered item
  2. Second item