Design system · lucaslima.ai
One house, five expressions
The landing page and the four apps speak the same visual language without speaking in the same voice. This page is the system taken from the code itself: the colours, the type, the motion and the pieces that travel from one site to the next.
Principles
Four rules decide the rest.
The maths is the ornament.
No decorative illustration: the scene, the plates and the curtain are real computations, a gradient descent, a Monte Carlo, a value iteration, an attention.
Ink and ivory; amber is an event.
At rest, everything is ink and ivory. Amber marks what happens: the optimizer, keyboard focus, hover, the path that lights up.
The house comes in through type, not through data colours.
In the apps, cyan, magenta, Q, K and V teach something and stay where they are. The house arrives through the serif, the badge and the curtain.
It works with nothing.
Pre-rendered, complete without JavaScript and without WebGL, with measured contrast. Motion only for those who want motion.
Colour
A single dark theme: "ink + amber". The contrast ratios below are computed against the ink (--bg-0); the minimum for text is 4.5:1.
-
--bg-0#0c0b0aInk: the page, the scene and curtain background.
-
--bg-1#151311Surface: cards, form, tooltip.
-
--bg-2#1c1a17Raised: toasts and code blocks.
-
--line#2a2622Hairlines and contour lines.
-
--line-2#3a3530Resting chips, the grid walls.
-
--line-strong#6e665cField and button outlines.
-
--ink-1#ece7deIvory: headings and body text. 15.97:1 on the ink
-
--ink-2#a39b8fSupporting text. 7.16:1 on the ink
-
--ink-3#8f877bCaptions, only on opaque surfaces. 5.54:1 on the ink
-
--accent#d9a55bAmber: the optimizer, focus, what lights up. 8.88:1 on the ink
-
--danger#d97a99Error, always with an icon and text. 6.74:1 on the ink
-
--success#a3c293Success, always with an icon and text. 10.02:1 on the ink
Type
Three families, each with a job: the serif speaks, the sans explains, the mono measures. Fluid sizes, from 320 to 1440 px.
-
Lucas Lima
-
Optimization landscape
-
A language model from the inside.
-
An agent learns by trial and error while you watch: train it, play against it and see every update up close.
-
L(θ) 2.303 · step 0 · cycle 1/4
Motion
Three curves and five durations. Hover a curve to see it move. With reduced motion, everything becomes a straight cut.
-
Arrival
--easecubic-bezier(0.22, 1, 0.36, 1)Reveals, hover, the letter that appears: arrives fast and settles.
-
Crossing
--ease-in-outcubic-bezier(0.65, 0, 0.35, 1)The curtain and the plate’s flight: leaves slowly, crosses, lands slowly.
-
Departure
--ease-incubic-bezier(0.55, 0, 1, 0.45)What leaves the stage: starts slowly and speeds up.
--t-fast- 120 ms colour and border on hover
--t-med- 220 ms control states
--t-slow- 420 ms panels
--t-reveal- 640 ms reveals on scroll
curtain- 560 + 160 ms the plate’s flight on the landing; in the app, 520 still + 760 rising
Plates
Each app has an illustration generated from data, in the scene’s vocabulary: dots, contour lines, a path that lights up in amber. Deterministic SVG, under 900 B in brotli.
-
Sinapse
networkA 7 comes in as 5 × 7 dots, the layers light up, the output reads 7.
-
horizon
scenariosThe band of futures of a Monte Carlo; the median scenario crosses the horizon.
-
RL Lab
gridworldEach cell’s value as dots; the policy winds around the walls to the goal.
-
Broca
attention"olhos de ressac" (Machado de Assis): the last letter’s attention and the next one, with the probabilities.
-
Córtex
traceA trace waterfall: the context, the model, two tools in parallel, the model again; the critical path lights up.
-
Any new app
landscapeA loss landscape seeded by its id: contour lines and the descent to the minimum.
The house in the apps
Five sites, four subdomains. What belongs to the house travels from one to the next; what belongs to each one stays.
-
lucaslima.ai
The house. Ink, ivory, amber and the serif: an editorial card with an optimization landscape behind it.
-
Sinapse
Lab. Night blue; cyan is the forward step, magenta the credit flowing back.
-
RL Lab
Lab. The same grammar, plus the green of updating and the warm amber of exploring.
-
Broca
Reading lab. Q, K and V in cyan, orange and lilac; the course titles in the serif.
-
horizon
Product. Light, bank blue and brass: the only expression on paper, with a dark mode.
The source of the house layer is design/house/, in the landing repository; make design-sync copies it to each app’s public/ll/, with each app’s card plate. The apps never edit the copy.
