A layout for Krea to start from
Covers now start from a rough layout picture, so they fit the cards, which only show the middle of each cover. It has dark sides, a blurred bar where each…
Short notes from building this site, step by step, newest first.
Covers now start from a rough layout picture, so they fit the cards, which only show the middle of each cover. It has dark sides, a blurred bar where each…
I dropped the toy style. It was too cartoonish and said too little. I'd described my older covers wrongly: most of the 12 I looked at again were infographics…
pnpm covers (scripts/covers/, with a README) replaces the temporary Python scripts. draft asks SwarmUI for drafts and makes a sheet to compare them. use turns…
The picker doesn't need its own folder any more. Everything worth keeping is now in content/, and Git has it. Drafts are temporary, and choosing a cover…
The first covers made on my own PC, with Krea 2 Turbo in SwarmUI. A script asks for them through its API, using Windows' curl.exe from WSL. Before testing…
Five base machines in covers.yaml. A cover now only needs its two titles and a base. I can also choose its bright object and describe some changes, or turn…
The memory limit isn't a fixed 52 GB any more. Each time it checks, the script reads how much memory Windows can promise and stays 4 GB below that. A bigger…
/covergen, a page that only exists in pnpm dev. It shows every post's drafts as the site will show them: in any theme, with the glow, the masks, and the real…
Published the 15 drafts written between 2026-11-09 and 2026-11-18 (the toolbox, the CMS, the light theme, the hire panel, the 404, search…), on the articles…
Explored mdsvex's page-data plugin against every post: its reading time matched ours on 121 of 175 files (it skips code, ours counts it on purpose), and its…
Code blocks that run. svelte run makes the block a module the page imports; markdown/Pre.svelte draws its component above its code, in a region named "Live…
Our own directives are an mdsvex plugin bundle (src/lib/markdown/directives-plugin.ts) with their components in src/lib/markdown/directives/: :kbd[Ctrl+B]…
A plain {expression} is allowed in posts again. It runs when the site is built and again in the reader's browser, and sees the frontmatter as metadata…
Lighthouse on five pages of both builds (main and mdsvex), mobile, median of three runs: accessibility, best practices and SEO 100 on both, no layout shift…
Code blocks are highlighted by twinkleplop (MIT, by pngwn) instead of Shiki. Each token gets a class (tok keyword) instead of an inline style; global.css maps…
Posts and Devlog entries are compiled by mdsvex 1.0 again (two weeks after svelte-markdown replaced 0.12). The reason: components and live demos in posts…
The CMS preview compiles each post in the browser the way the build does: mdsvex/compile with the build's options (src/lib/markdown/options.ts), then Svelte's…
An icon picker for the Awesome lists' icon: a Sveltia field type (lucide) whose control is a Svelte component (IconPicker.svelte), mounted from a small React…
The CMS now ships with the site: pnpm build also builds /portfolio/admin/. To sign in there with GitHub it needs a small server, Sveltia's authenticator…
Compared first: rendered all 262 posts and entries with svelte-markdown and diffed every block (text, inline tags, heading ids, links, images, code) against…
After svelte-markdown replaced mdsvex, I went through the CMS and asked of each piece whether it still earned its place. It went from 977 to 694 lines of code.
Compared three ways to get a CMS: build our own, Sveltia CMS or TinaCMS (design/cms-study.md). Tina was out: its images must live in static/, it has no…
A post's Spanish version is <slug>.es.md, next to <slug>.md in the same folder, sharing its images. Its frontmatter only has words: title, description, the…
Switching language plays the colour themes' effects (ripple, glitch, scanline, rain, taking turns with the palette picker), from the switch. The root layout's…
Phase 10 started: the site in English and Spanish. I chose a homemade setup over Paraglide JS: most of the text is markdown and YAML, which Paraglide doesn't…
Fenced-block components: a code block whose language is a component name, with YAML fields as its body, becomes that component. Anywhere else (Obsidian…
Callouts: a blockquote that starts with [!type] becomes an <aside class="callout"> with an icon and a title. It's the syntax GitHub ("alerts") and Obsidian…
Added Playwright 1.64.1 (@playwright/test) and one smoke test, e2e/navigation.test.ts: it reads the links from the main nav, then clicks each one (the router)…
Ran Lighthouse (mobile, the default) on one page of each kind. Accessibility, best practices and SEO were 100 everywhere; performance was 95–98, except three…
Added Vitest 5.1 (pnpm add -D vitest), with pnpm test (run once) and pnpm test:watch (run again on every save).
The spotlight in Blueprint.svelte (the grid lit in green around the mouse) made text hard to read. Measured it first: muted text (--text-2) on a lit major…
Decided issue 3 from the start of the learning path: the site is findable. Only /mascot (a review sheet, not a page yet) says noindex.
Pages inside a section show where they are: Home / Projects / CV builder, Home / Blog / #css. Section pages (/projects, /about) don't, because the nav already…
A new fenced-block component, yt : src (any YouTube link shape), title, an optional thumbnail (a file next to the post) and caption. It renders a card with…
The toolbox's second tool, HTML symbols (/projects/toolbox/symbols): search by words, a pasted character, U+2192 or →; 20 groups as a list and as a row…
The toolbox's third tool (/projects/toolbox/cursors), Alfonso's idea: one page that is both a guide and a playground, in five sections, each with what it…
The toolbox's first tool, Base64 (/projects/toolbox/base64): text ↔ Base64 as UTF-8, with a URL-safe option (base64url), and a file → data URL with its size…
Started Phase 8.5: a dashboard of small browser-only tools at /projects/toolbox, each at /projects/toolbox/<tool>. The first is Base64. The ideas come from…
Added src/lib/projects/: a typed list of projects (projects.ts) and one folder per tool. Each project's tool is a dynamic import(), so its code is its own…
Awesome lists are YAML files in content/awesome/, one per list: categories, then links with a title, url, description and tags. A list is data, not prose, so…
Added /blog/tags/[tag]: one prerendered page per tag, with its posts grouped by year. /blog got a tag index with counts.
Replaced mdsvex's Prism with Shiki, passed as highlight.highlighter in the markdown() plugin. One highlighter is shared by every file, and each language loads…
Added minutes to every Entry in content.ts: the words in the file without its frontmatter, at 200 words a minute, rounded up, at least 1.
Added MarkdownLayout.svelte, passed to mdsvex's compile as layout. It wraps every .md file (posts and Devlog entries) and only renders children.
Moved every post to content/blog/drafts/. A post is a draft because of where it lives, so Entry.draft comes from the path and the draft: true frontmatter is…
Widened the reading composition from 60ch to --reading-width: 80ch (tokens.css), for text and code alike. I picked one wider column over a breakout layout for…
Found out why the entry page's styles couldn't reach the rendered markdown, and fixed it with a global .prose class.
Picked mdsvex 0.12.8 (stable) to render the markdown bodies. The 1.0.0-next rewrite is still a prerelease.
/about can show only the skills for one kind of job: ?profile=web, support or mainframe (the ids from content/skills.yaml). A group left with no skills…
"Print or save as PDF" on /projects/cv. A print stylesheet keeps only the CV: A4, 15mm margins, sizes in points, no card, headings never alone at the bottom…
The CV form checks itself with no library: required on name, surnames, phone and email, type="email", and a pattern for the phone (\+?[0-9\s\(\)\-]{9,20}) and…
A "Skills" section in the CV builder: every group as a <details> (closed), every skill of every profile with a checkbox ("on the CV") and its wording in a…
/projects/cv: pick a profile, fill in name, surnames, phone, email, city, state, postal code and a short letter, and a CV next to the form follows: name…
"About you" and "Skills" are <details name="cv-form">: an accordion, so opening one closes the other. Closed, each says how it's doing ("4 required fields…
Tried three looks for /about on three branches (terminal, spotlight, orbit), then merged the parts I liked from the first two and deleted the branches.
Going to another page started it where the old page was scrolled, then it glided up to the top. A reload halfway down glided back down too. Now a new page…
Phase 5 changed: no public CV. It has my phone, email and employers, so I send it on request. /cv became /about: what I work with, grouped (languages, web…
Planned what comes next: I'm applying for different kinds of jobs and need a CV for each. Phase 5.5 will be a CV builder (a /projects tool: pick a job…
Rewrote the section nav's scroll-spy (SectionNav.svelte). It used an IntersectionObserver on a 1px line a third of the way down the screen. Now every scroll…
Each skill group on /about is now a window that collapses (SkillWindow.svelte). The title bar is the button, with "expand [+]" or "collapse [-]" on the right.
Saved julibe.com (and its Pillars page) to my notes as inspiration. From it I picked: the colored scrollbar, the top menu detaching on scroll, and the hidden…
Route changes now run inside a view transition of type route, started from onNavigate in the root layout.
A route can now say how the root layout arranges it: composition in its load data. Two values for now: default and reading.
Two columns on the home page from 64rem: the intro (the Hero plus an in-page nav) stays in place on the left while the sections scroll on the right. One…
Picked the accent: terminal green. Two versions, --green-dark for light mode and --green-bright (a phosphor green) for dark.
New Blueprint.svelte, mounted once in +layout.svelte: a fixed layer behind the whole page.
Planned Phase 4.5 (Identity & motion): technical look (terminal, monospace, blueprints, code), dark first, a mascot, and each route with its own composition…
Hero: a container query switches it to two columns (photo beside text) when the hero is at least 36rem wide.
The home page fades and slides in the hero photo, then the hero text, then the posts section, then the projects section, each 150ms apart.
Built Hero.svelte (name, tagline, photo, links) and TeaserCard.svelte, and composed them in the home page.
Downloaded my GitHub avatar (460px JPEG, 24 KB) into src/lib/assets/avatar.jpg, rather than linking to GitHub.
Found that --text-2 (gray-6) was only about 3:1 on light surfaces, below the 4.5:1 minimum for text. Changed it to gray-7 (7.3:1 or better) and --text-1 to…
Added a blocking inline <script> in app.html that reads localStorage.theme and sets data-theme on <html> before the first paint.
Picked fonts: Fira Code for code, Shantell Sans for the Devlog, and the system font stack (Open Props --font-sans) for everything else.
Ran Lighthouse's accessibility audit on the preview build (BASE_PATH=/portfolio pnpm build && BASE_PATH=/portfolio pnpm preview), not on dev. It passes.
Rewrote each token in tokens.css as light-dark(light value, dark value).
Created src/lib/styles/global.css with @layer reset, base, components;.
Created src/lib/styles/tokens.css with semantic color tokens (--brand, --text-1/2, --surface-1/2/3) mapped onto Open Props primitives.
Installed open-props and postcss-jit-props as dev dependencies.
Set paths.base from BASE_PATH, which CI sets to /${{ github.event.repository.name }}. The value is validated in vite.config.ts, and the build throws if it's…
Renamed jsconfig.json → tsconfig.json and pointed the check scripts at it.
Reviewed the SvelteKit 3 scaffold: adapter-static, runes forced, GitHub Pages CI.
Removed actions/configure-pages. Nothing used its outputs.
Devlog timeline: three scroll-driven animations in Timeline.svelte. A brand line fills down each phase as the middle of the screen passes it, each entry is…
--content-width grows with the window: clamp(70rem, 82vw, 96rem). At 1920px it's 1536px instead of 1120px.
Added search: a magnifying-glass button in the header opens a box under it (a popovertarget popover, like the colour theme menu). / opens it from anywhere.
Gave the default light theme the "engineering pad" direction from design/light-theme-directions.md: warm cream paper (--paper-0/1/3, hue 95–100) and warm…
Faster e2e on CI: fullyParallel with one worker per core, and the Google Chrome the runner already has (channel: 'chrome') instead of downloading Chromium…
Wrote a customizing guide in eight chapters, in docs/customizing/ (on GitHub), plus an index with a map of the project and the five rules that explain most of…
Replaced the floating "scroll to the footer" chevron, which covered text, with a faint handle at the bottom edge. It grows, lifts, turns green and shows…
Rebuilt the 404 page (src/routes/+error.svelte): the status, the path that was asked for, links to every section, and one of four variants at random, with…
Alfonso found text over the blueprint grid hard to read. A script went through every text node on one page of each kind and listed the ones with no background…
The Devlog got what the blog has: a tag sidebar beside the timeline and a page per tag, /devlog/tags/[tag] (and /es/devlog/tags/[tag]), grouped by phase. Its…
The first thing on /blog was a wall of 55 unstyled tag links (in dev; 28 of them on a single post). Looked at how others do it: Kent C. Dodds (topic pills…
The colour-theme transitions now take turns instead of being random (random felt weird): ripple, glitch, scanline, CRT, dither, rain, then again from the…
Clicking a card (blog, Devlog, projects, Awesome, the home page) turns it into its page: the title, picture, date line, description and tags fly to their…
Changing the colour theme now plays one of two transitions, picked at random each time, starting from the radio you picked. The light/dark toggle keeps its…
Colour themes, picked from a palette button in the header next to the light/dark toggle. In code they're palettes (data-palette on <html>), because "theme"…
Videos next to a post, written as HTML in the markdown (<video>, <source>, <track>, poster). The markdown step turns every ./ src or poster into an import, so…
Moved every post, draft and Devlog entry into a folder with its own name (<slug>/<slug>.md), 95 files with git mv, so their images can sit next to them. The…
Headings in markdown have ids now. rehype-slug gives every heading an id from its text (## The base path → #the-base-path, a repeated one gets -1), and…
A post can have a cover: cover.png (or .jpg, .webp) in its folder, with its alt text as cover: in the frontmatter. checkCover() fails the build when one comes…
Built the site twice from the same code and compared all 257 files: every name was the same, and nothing in _app/immutable/ changed. Only the HTML pages and…