Live in Grottle™ v1.0
A skin changes how the Grottle™ dash looks. It never changes the numbers: every skin gets the same readings and must show every readout. Skins need Grottle™ v0.13 or later; the current Grottle™ is v1.0, so you can make one now, in chat or from the template below.
A skin is a small folder:
skin.json: name, creator, version, layouts, colours, fonts, licence.art/dual.svg,art/sand.svg,art/sg.svg: one SVG drawing per layout (both lanes, Sand only, SuperGrok™ only).fonts/(optional): fonts you bundle, plus their licence.
Skins you make are template skins: plain SVG with placeholders and no code. Grottle™ fills in the numbers.
Art skins and free starters
Since Grottle™ v0.14.4 you can make art skins. Say “make me a skin” in chat and start from a free starter: hourglass, fuel tank, desert or retro. Remix it, preview with sample readings, run the checker, then package.
Every art skin must keep all readings and carry its theme across Sand, SuperGrok™ and Who Ate My Sand? (including mail). The checker verifies that.
Tip (optional): you can use any proportions. Grottle™’s built-in layouts happen to use golden-ratio sizing, which is just our working default, not a rule. The checker never looks at ratios.
The easy way: ask your Grottle™
Grottle™ itself is how you make a skin. In the chat with your Grottle™:
- Start: “Make me a new skin called Midnight Brass.” It starts from the starter skin, which already passes the checker.
- Describe the look: “Dark navy background, cream text, serif font, square bars.” Grottle™ changes colours, font, text size, corners, bars, spacing and the sign style. If text would be hard to read, it tells you and suggests a fix.
- Preview: “Show me.” You see the dash drawn with sample readings, not your live data.
- Check: “Check my skin.” Grottle™ runs the checker and explains any problem in plain words, with the fix.
- Fix: for simple problems (a missing colour, text running off the edge) it offers to fix them for you, and asks first.
- Package: “Package it.” You get a zip with your creator name and a share ID, ready to share.
Skins never change your numbers: every readout still shows. Want a shape the chat tools can’t make, like a new gauge? Edit the SVG by hand, below.
1. By hand: start from the template
For designers who want full control. The starter skin has every readout wired up in a plain layout, so it passes the checker as is. Restyle it and keep the wiring.
Download the starter template (zip, 12 KB)Contains the starter skin, the Skin API v1 spec (SKIN_API_v1.md) and slots.json. Nothing else.
2. How a skin works (by hand)
Each readout is a slot. Draw it anywhere, in any style, as long as the element carries data-slot with the slot’s name. Placeholders in double braces are replaced with values:
<text data-slot="sand.used_pct" x="300" y="40">{{sand.used_pct.text}}</text>
<text data-slot="sand.week_left.time" x="140" y="83">≈{{sand.week_left.time.text}}</text>
Graphics use small helpers instead of code:
{{w 520 sand.week_left.arc.frac}}: a width for a bar.{{arc cx cy r a0 a1 slot.frac}}and{{sector cx cy r0 r1 slot.frac}}: dial arcs and pies.{{lerp 0 360 slot.frac}}: an angle for a needle or hand.{{color pace_band slot.band}}: a colour from your palette.{{pick slot.state up 0 180}}: one of two values by state.data-if="slot"/data-if-not="slot": show an element only when a slot is present (or in a given state, e.g.data-if="xai_changes.panel=corner").
Rules
- SVG only. No
<script>,<foreignObject>,<iframe>,<object>,<embed>,<audio>,<video>, noon…event attributes, no links to outside files. - The whole folder, fonts included, must stay under 300 KB (the
golden/folder doesn’t count). - Show every readout. Keep % and time together (for example 40% used with ≈7h42m left), and keep the ≈ on estimates.
- Give a colour for every band value in
palette(pace: green, yellow, red, none; reserve: normal, red, unset). - Fonts: bundle the files and their licence (OFL fonts work well). Subset them to stay small; if an OFL font has a Reserved Font Name, rename your modified copy.
- The sign must read Grottle™.
3. Test it: ask your Grottle™ to check it
Say “check my skin” (for a skin you made by hand, add its folder or zip first). Built-in and user skins go through the same checker. It draws every layout with sample readings (two sets of numbers plus “no readings yet”), and with the xAI changes panel, then checks:
- the manifest, the API version and that no code files are included;
- no scripts, event handlers or outside links, and the size limit;
- every readout is drawn and shows the right value;
- text fits on the canvas;
- values aren’t hard-coded (the drawing changes when the numbers change);
- every band has a colour;
- bundled fonts are present, licensed, and have every character the skin draws.
Grottle™ tells you what’s wrong, why it matters and how to fix it, until the checker passes. If a skin can’t draw every readout, Grottle™ falls back to Skin2 rather than showing a half dash.
Slot reference
Generated from slots.json (Skin API v1). L is a lane: sand (Grok™ Bot) or sg (SuperGrok™).
| label | fixed wording; skin may restyle or reword (e.g. 'Week Remaining'); must be visible text |
| text | engine-written sentence; if drawn as <text> it must contain the slot text |
| value | number + unit (text form given); if drawn as <text> it must contain the text form |
| time | minutes + text forms (chat '7h42m', seg '7H42M'); if drawn as <text> it must contain one form |
| fraction | 0..1 graphic (arc, pie, needle, bar, tank); must change when the value changes |
| state | discrete state (on/off, up/down); drawn element must change when the state changes |
| band | colour band carried by other slots; skin must declare a colour for every band value |
| Slot | Kind | What it is |
|---|---|---|
sign.brand | label | Grottle™ sign |
footer.text | text | Footer |
xai_changes.panel | label | xAI changes panel (state = placement corner|lookahead) |
xai_changes.badge | text | Speed-change badge (% + time_text, state up/down, opacity fades) |
xai_changes.note | text | Mid-week reset note (l1/l2 split allowed, opacity fades) |
| Slot | Kind | What it is |
|---|---|---|
L.title | label | Lane title |
L.status_label | label | Status word |
L.used_pct | value | Used % |
L.status_dot | state | Status dot |
L.reset_line | text | Reset line |
L.week_left.label | label | WEEK LEFT label |
L.week_left.time | time | Week left time |
L.week_left.arc | fraction | Week-left arc |
L.today.label | label | Today label |
L.today.pie | fraction | Today budget-left pie |
L.today.hand | fraction | Today hand (time to next daily reset) |
L.today.left | time | Today budget left |
L.today.burned | text | Burned-today caption |
L.lookahead.label | label | LOOK-AHEAD label |
L.lookahead.per_day | time | Look-ahead per day |
L.lookahead.glyph | state | Pace glyph |
L.lookahead.bar | fraction | Pace bar |
L.pace_band | band | Pace colour band |
| Slot | Kind | What it is |
|---|---|---|
reserve.label | label | BRIDGE label |
reserve.caption | label | Reserve caption |
reserve.not_set | text | Reserve not-set note |
reserve.time | time | Reserve ≈ Sand time |
reserve.dollars | value | Reserve $ left / cap |
reserve.tank | fraction | Reserve tank |
reserve.band | band | Reserve colour band |
L.bridge_inactive | text | Inactive bridge note |
Each slot can be present or absent (for example, no reading yet). Every present slot must appear in the drawing.