---
name: website-like-hiran-in
description: Build a personal website the way hiran.in is built. An old school blog that is really a site of lists, where every kind of thing gets its own look, on a small, quiet foundation that reads well on any screen. Use it to plan, design or build a personal site, a portfolio, a digital garden or a blog with several kinds of entries. Copy the foundation, then make it the owner's own.
license: CC BY 4.0
---

# A website like hiran.in

This is a method, not a theme. It explains how hiran.in is designed so you can build a site for someone else the same way. Keep the beliefs and the shape of the foundation. Change the values (fonts, colours, the things they list) to fit the person. Aim for about 80% of a good site that is clearly theirs, never a copy of hiran.in.

The live reference, with every part drawn: https://hiran.in/approach/

## How to use this

This skill doesn't know the owner. hiran.in is one answer, not the answer. Before you build anything, ask.

1. Ask the questions below and write the answers down. They decide which defaults you keep and which you change.
2. Read the beliefs. They settle every question the answers don't.
3. Plan the structure (what is a log, what is a list, what opens where) before any look.
4. Set up the foundation with the owner's values, keeping it small.
5. Find a look for each kind of thing they list. This is where the site gets its character.
6. Run the checklist at the end before you hand it over.

## Ask first

Ask in plain words, a few at a time, and offer hiran.in's choice as one option, never the default answer. If the owner doesn't know, start small and say what you picked.

**What they keep.**
- What do you want to list? Books, links, trips, recipes, projects, films, anything.
- Which of these are dated (a log, newest first) and which are kept (a list, grouped by what they are)?
- How would you group each one? By month, by year, by a context like "Analog" or "Work", or not at all?
- Which are short (open over the list) and which are long (a page of their own)?
- Roughly how many of each, today and in five years?

**How it should feel.**
- How much should things look like real objects? Fully (a book with a spine, a floppy disk), a hint (a coloured edge, a small icon), or plain cards?
- Casual or composed? Playful details and hand-drawn touches, or calm and plain?
- Light, bright colours, or quiet and muted? Do you want a dark theme too?
- Is there a colour, font or object that already feels like you?

**Who reads it.**
- Do you write in more than one language or script? Which ones, and do they mix in one sentence?
- Mostly read on a phone, or on a big screen?
- Should it be found and read by tools too (feeds, an `llms.txt`)?

**What already exists.**
- Is there a site, a blog, notes (Obsidian, Notion) or a design system already? Reuse it before you add anything new.

Let the answers change the defaults. Someone who wants it casual may want a rounder font and warmer colours. Someone with one list doesn't need an index of everything yet. Someone who wants it plain can skip objects and keep only the foundation. Write down each choice with its reason.

## Beliefs

1. **Personal, not a product.** Made by someone. When in doubt, choose what feels handmade over what feels like a template.
2. **Made for one, read by many.** The owner is the writer and the most frequent reader, so the site is shaped around how they browse and find their own things. Everyone else is a bonus, and still gets a good read.
3. **Easy to read on any screen.** Phone, laptop or a big monitor. The more there is, the easier it should read.
4. **Made of lists.** Books, links, films, projects. A list should work with ten things or ten thousand.
5. **Everything, in one place.** One flat index of every entry and page, so anyone, the owner included, can wander from one thing to the next.
6. **Each kind of thing looks like itself.** A book looks like a book.
7. **The rest stays quiet.** A few fonts, sizes and colours, so the things themselves stand out.
8. **Small things stay the same.** One icon set, one way a link looks, one button, everywhere. Consistency in the small parts is what lets the things be different.
9. **New things fit old rules.** A new kind of thing gets a new look, never a new system.

## Keep it small

Every rule below comes from one habit. Before adding anything, try not to.

- **One before two.** One column of text, one breakpoint, one panel for every modal, one icon set, one script for every dropdown. Add a second only when the first truly can't do the job.
- **Reuse before you add.** Use what HTML, the framework or the owner's notes already give you. A heading is an `h2`, not a styled `div`. A list is a list.
- **A variant, not a copy.** When a place needs a slightly different version of something, give it a variant that points at other values on the same scale. Never write a new value for one place.
- **Fewer steps, each with a job.** Six sizes, two weights, three line heights, one spacing grid. If two values are close, merge them.
- **Same element, same meaning, scaled to the place.** Text from Markdown keeps its real tags (`h2`, `h3`, `p`). A page and a modal use the same tags; the modal only steps them down the same scale. On a page an `h2` is 24 and an `h3` 17. In a modal an `h2` becomes 17, the step an `h3` uses on a page, so nothing new is invented.
- **Delete what isn't used.** If a token, class or style has no use, remove it.
- **No exceptions.** If a page needs something the system doesn't have, change the system for every page, or do without. Never let one place break the rules.

## The foundation

These are choices, not rules. Keep the shape (a small number of each) and change the values. The defaults are hiran.in's.

**Fonts.** Two fonts and two weights. One font for reading, one for titles, in regular (400) and medium (500), nothing heavier. Defaults are Work Sans for reading and Sora for titles. If the owner writes in a second script, add a font for it as the fallback in both stacks, so words in that script switch to it on their own, mid-sentence, at the same size. Pick one that matches the others in weight and height. hiran.in uses Manjari for Malayalam. Leave it out if they don't need one. Titles are set a little tight (-0.02em), big faint words tighter (-0.03em), small capitals a little wide (0.06em), and interface text a touch close (-0.01em); long text has none.

**Type sizes.** Six sizes, each with one job. Nothing smaller than 12.

| Size | Job |
|---|---|
| 32 | A page's title |
| 24 | A heading in long text |
| 17 | Reading on a page |
| 15 | Reading in a modal, names in a list, the interface |
| 14 | Dates, notes, captions, buttons |
| 12 | Tags and counts |

Three line heights, 1.2 for titles, 1.45 for the interface, 1.6 for reading.

Two more sizes sit outside the six, for decoration only, never for words someone has to read. Big faint names (months, groups, index letters) at 32 to 48 with the screen, at 6% ink in light and 16% in dark. A month or year page's name in its corner, larger still, very faint.

**Spacing.** One 4px grid. Every gap is a step on it (4, 8, 12, 16, 24, 32, 40, 48, 64). Never write a number that isn't on it.

**Colours.** Name every colour by what it does, never by its hue, and give it the same meaning in light and dark. Keep the list short. One accent for links and anything you can press. That's the whole interface. Any other colour belongs to a thing, not to the site (see Things).

**Corners, lines, shadows.** Optional, and few of each. Defaults are 2 for paper edges (books, photos), 8 for small things (buttons, fields), 12 for panels (cards, modals) and round for tags, two lines (1 for hairlines, 2 for a rule you should see), and shadows only to lift things. A card rests, lifts when you point at it, and a modal floats. Light comes from one side (the top right), so shadows fall to the lower left.

**Motion.** Two speeds. 0.2s for every change in the interface, 0.9s for a page arriving. One loop only, the loading skeleton.

**Screens.** One breakpoint, at 640. Below it a list turns from a row into one column, things get a little smaller, a modal rises from the bottom, and form fields grow to 16, the smallest a phone doesn't zoom into. Reading text keeps its size on every screen. A part changes its layout on a phone rather than shrinking its text.

### Starter tokens

Put every value in one tokens file and use only these names in the rest of the CSS. These are hiran.in's values; swap in the owner's.

```css
:root {
  --font: "Work Sans", sans-serif;            /* add the second script as a fallback here if needed */
  --font-display: "Sora", sans-serif;         /* and here */
  --weight-normal: 400;  --weight-semibold: 500;

  --text-xs: 12px;  --text-sm: 14px;  --text-base: 15px;
  --text-lg: 17px;  --text-xl: 24px;  --text-xxl: 32px;
  --lh-display: 1.2;  --lh-normal: 1.45;  --lh-prose: 1.6;

  --space-1: 4px;  --space-2: 8px;  --space-3: 12px;  --space-4: 16px;  --space-6: 24px;
  --space-8: 32px; --space-10: 40px; --space-12: 48px; --space-16: 64px;

  --r-xxs: 2px;  --r-sm: 8px;  --r: 12px;  --r-round: 999px;
  --line: 1px;  --line-strong: 2px;
  --shadow-1: -3px 4px 10px rgba(0,0,0,.12);   /* resting */
  --shadow-2: -5px 8px 16px rgba(0,0,0,.20);   /* lifted, on hover */
  --shadow-3: 0 8px 40px rgba(0,0,0,.18);      /* a floating modal */

  --duration-ui: 0.2s;  --duration-page: 0.9s;
  --ghost-opacity: 0.06;   /* big faint names */

  --read-w: 612px;   /* the column of long text */

  /* Light */
  --color-bg: #f5f8f6;  --color-surface: #eaf0ec;  --color-border: #dae3dd;   /* a light green */
  --color-text: #151c18;  --color-text-muted: #525e57;
  --color-accent: #15784a;  --color-accent-soft: rgba(21,120,74,.12);
  --color-overlay: rgba(0,0,0,.30);
  /* The solid fills: selected (the active item in the bar and menus) and fill (a filled button, a row on hover) */
  --color-selected: var(--color-text);  --color-selected-ink: var(--color-bg);
  --color-fill: var(--color-text);  --color-fill-ink: var(--color-bg);
}
[data-theme="dark"] {
  --color-bg: #111614;  --color-surface: #1b221f;  --color-border: #27302c;   /* a dark green-black */
  --color-text: #e6ebe7;  --color-text-muted: #9ea8a2;
  --color-accent: #72b892;  --color-accent-soft: rgba(114,184,146,.22);
  --color-overlay: rgba(0,0,0,.55);
  /* In dark the fills step down, so nothing glares */
  --color-selected: color-mix(in srgb, var(--color-text) 14%, var(--color-surface));  --color-selected-ink: var(--color-text);
  --color-fill: color-mix(in srgb, var(--color-text) 78%, var(--color-bg));  --color-fill-ink: var(--color-bg);
  --ghost-opacity: 0.16;
  --shadow-1: -3px 4px 10px rgba(0,0,0,.35);  --shadow-2: -5px 8px 16px rgba(0,0,0,.5);  --shadow-3: 0 8px 40px rgba(0,0,0,.5);
}
```

### Type styles

Every piece of text is one of a few styles. Give each element its style's class; never set a size, weight or colour on a single place.

| Style | Use for | Set |
|---|---|---|
| Title | The name of the thing you're on. 32 on a page, 17 in a modal or a form | Title font, 500, 1.2, a little tight |
| Heading | A section inside text | Title font, 500. On a page H1 and H2 24, H3 17, H4 15, H5 and H6 12 in capitals (H6 muted). In a modal H1 and H2 step down to 17 |
| Text | Something to read | Reading font, 17 on a page or 15 in a modal, 1.6, the text colour a step softer (85%) |
| Row | One name in a list | 15, muted |
| Meta | Dates, captions, notes | 14, muted |
| Label | Tags and counts | 12 |
| Control | Buttons, fields, labels | 14, 500 for buttons and labels. Fields 16 on a phone |
| Display | Big faint words behind things, like month names | Title font, 500, 32 to 48, 6% ink (16% in dark) |

A variant only re-points values on the same scale. It never adds a size.

### Long text

Write the rules for long text once, as a handful of values, and let each place point them at other steps of the scale.

| Value | On a page | In a modal |
|---|---|---|
| Text size | 17 | 15 |
| H1, H2 | 24 | 17 |
| Between paragraphs and lists | 24 | 16 |
| Between list items | 8 | 8 |
| Above an H1 or H2, and below it | 48 and 16 | 24 and 8 |
| Above an H3 to H6, and below it | 32 and 8 | 24 and 8 |
| Around a photo, table, quote or code | 32 | 24 |
| Around a rule or footnotes | 48 | 32 |

A heading straight after a heading sits close to it. Links in text are the accent colour; an underline appears on hover.

## How it's organised

Plan the structure before any look. Sort everything the owner keeps into two kinds.

- **Logs** are dated. What they read, watched, wrote, where they went. A log reads newest first, grouped by month.
- **Lists** are kept. What they use, what they've made, the coffee they like. A list is grouped by what it is (a context like Analog or Tools), A to Z or newest first inside a group.

Static pages (About, Now, Colophon) are neither. They sit in the index, never among the cards.

**Two views of every list.** As cards, to browse. Or as rows, A to Z under big faint letters, with a search line, to find. Remember which view the reader picked as they move between pages.

**One flat index of everything.** Every entry and page, with search and a filter by type that carries the counts. Keep it flat. Nothing is buried, so anyone, the owner included, can start anywhere and keep going. Mark recent entries New here.

**Time as a way in.** A page for every year and every month that has entries, with a picker to jump between them, and one page for everything older than the archive's start. The home page opens with a short intro, then the latest two months of every log and list, with a button that loads two more.

**Links between things.** Notes link to each other with `[[wikilinks]]`, and a long piece can pull a note in. This makes a second, sideways path through the site that doesn't depend on dates or types.

**Addresses.** Each type has one short address (`/reading/`, `/articles/`). A saved filter is just that address with a query (`/reading/?genre=Comics`), not a new page. When something moves, the old address redirects.

### Two ways to read

**Short things open in a modal over the list**, so nobody loses their place. One panel, 480 wide (wider with a picture), 12 corners, the floating shadow, the page behind dimmed and blurred, a close in its corner. Inside, title, tags, a short text at 15, then a foot with one button and the date. On a phone it rises from the bottom.

**Long things get a page of their own.** A back link, the title (32), the date, then the text at 17 in a 612 column, about 70 letters to a line. In long text, paragraphs sit 24 apart and a heading sits close to the text it leads (16 below) and far from what came before (48 above).

Decide for each kind of thing which way it opens. A book or a bookmark is short. An article, a trip or a project is long. Some things only point elsewhere, like a film or a coffee, and simply link out.

## Things

This is where the fun lives. Each kind of thing in a list is drawn as itself, something you'd recognise if you held it. To find its look, ask three things.

1. What is it?
2. What would I hold if it were real?
3. What one detail makes it recognisable?

Draw only that detail. This is the one place the design is allowed to be different, and each look is written down with its reason.

**The foundation looks after everything around the things, not the things.** The page, the text, the buttons, fields and tags, the bar, the panels: all of that comes from the tokens and is the same everywhere. A thing's look does not. It takes from the foundation only what is truly shared, like its text sizes and the spacing grid, and keeps the rest as its own: its colours, its shape, its marks and its features, each named as local to it and kept apart from the shared palette. Nothing outside the thing reaches for them.

A feature of one kind of thing is not a feature of the site. On hiran.in a recommended book carries a ribbon, the way a real book keeps one between its pages, and the ribbon's yellow is the book's own colour, not a site colour. That doesn't make recommending a rule every kind of thing must follow. A film poster can carry the same ribbon because it's a choice for that thing; the next kind of thing may mark something else, or nothing, in its own way. Never turn one thing's feature into a global token or a shared part just because a second thing borrows it.

On hiran.in a book is a book with a spine, a project is a floppy disk (the owner mostly builds tech), a trip is a stack of photos, a bookmark is a browser window, a note is a page, an article is a notebook cover, a film is a poster on a wall, and a coffee is the label on its bag.

For someone else, travel could be a boarding pass, recipes an index card, music a record sleeve, machines the metal plate riveted to them. Ask the owner what feels true to them, then build the card around that one detail.

Every card has the same two parts. An outer card that sets its width, spacing and click, and one inner object that is the thing itself. A new kind of thing adds an inner object and nothing else.

Things that are alike can share a look. On hiran.in a note and an article are both paper (a page and a notebook cover). That's fine: share the material, vary the detail. Give a kind of thing its own look only when it is really a different thing.

The design grows with the content. Don't design looks for kinds of things the owner doesn't have yet. When a new kind arrives, ask the three questions again and add one inner object.

## Small decisions

These are the details that make it feel finished. Each one follows from a belief.

**The bar.** One bar, fixed at the bottom of the screen, where a thumb reaches on a phone. It holds the logo (home), one menu of the lists, a few links, and the light and dark switch. The menu shows every list at once, in two short columns, with what is visited most first and everything at the end, so it never grows tall and still fits a phone. Nothing more: who the owner is and how to reach them live on the home page, so the bar doesn't repeat them. It is built from data (a list of types and a nav file), so a new list shows up in the menu on its own, once it has its first entry. Every dropdown on the site opens and closes through one script.

**Links.** A link in text is the accent colour, with an underline that appears on hover. Links in the interface (the bar, menus) are muted; on hover they turn the text colour, bold, on a soft round pill, the same in the bar and its menus. A link that leaves the site carries a small arrow (↗) after it, and outgoing links add `?ref=` with the site's domain (or `utm_source=` where a service expects it) so the other side knows where the visit came from. Card titles and modal titles are never links; the button in the modal's foot is.

**Previews.** A link from one note to another (written as `[[wikilinks]]`, as in Obsidian) shows a small preview card on hover, with the note's title and first lines, so a reader can peek before leaving the page. A long piece can bring a note in whole, with a quiet link back to it.

**Icons.** One set, defined once, on a 16 grid with a 1.5 line, round ends, no fill, the colour of the text around them. Two sizes, 16 and 12. Never draw an icon inline. A toggle that opens and closes shows a plus and a minus. A dropdown that picks a value shows a down arrow in a bordered button.

**Marks.** The site has one mark of its own: anything added in the last few weeks gets a small New tag in the index. Any other mark (hiran.in's ribbon on a recommended book) belongs to the thing that carries it.

**Hover.** Cards only deepen their shadow. Nothing jumps upward. Objects can move in their own way (a book leans a little further, a label grows slightly from its centre). A row in an index turns into a solid cell in the fill colour (the text colour in light, a dimmed light in dark), its words in the background colour.

**Empty lists.** A list doesn't exist until it has its first entry. No empty pages, no "coming soon". Don't fill a list with sample or dummy entries to see the design; wait for the first real one.

**Groups.** Cards are grouped under big, very faint month names (or group names for lists without dates). A list with several groups gets a row of group names at the top that jumps to each.

**Dialogs.** Every floating panel is the same one panel: modals for entries, contact, anything else. A contact link opens the dialog wherever you are, instead of a separate page.

**Light and dark.** Every page works in both, and every colour means the same in both. Things keep their own colours: physical objects (a floppy disk, a coffee label) don't swap, and a thing that has a light and a dark of its own (a macOS window) uses its own, never the site's.

**Access.** A visible focus ring for keyboard users. Zoom is never blocked. Nothing under 12.

**Open.** Feeds for the logs, a sitemap, and an `llms.txt` that lists the site's main pages for AI tools.

## Checklist

Before you hand it over:

- You asked the owner first, and each choice that differs from hiran.in has its reason written down.
- Nothing exists twice. One panel, one icon set, one breakpoint, one text style with variants.

- Every value comes from the tokens. No raw colour, size, spacing, corner or shadow anywhere else.
- Only the six sizes, the two weights and the three line heights. Nothing under 12. A modal steps headings down the same scale, never to a new size.
- Colours are named by what they do, and mean the same in light and dark.
- Long text is 17 in a column about 65 letters wide, and reads well on a phone, a laptop and a big screen.
- Each kind of thing opens in a modal, on a page or links out, never two of these.
- There is one index of everything, flat, with search.
- Each kind of thing has its own look, with its reason written down. It shares the foundation's text and spacing; its colours, marks and features are its own, and none of them became a site-wide token.
- Adding a new kind of thing would mean a new look, not a new system.

## Making it yours

Keep the beliefs and the shape of the foundation. Change the values: the owner's fonts, their colours, their script if they have one. Then find a look for each kind of thing they list. That gets most of the way. The rest is theirs.

---

Shared under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). Use it, change it, build on it, and credit hiran.in.
