Use the skill: phone-style. Run `npx -y @neta-art/neta-search-cli@latest skills use neta/phone-style --via site` and follow what it prints. Read its complete output, redirecting it to a temporary file first if necessary, and resolve relative paths from the skill directory it prints.
Restyle your world's in-story phone: colors, chat bubbles, fonts, wallpaper and icons, even a custom look for a single app.
Change the phone's colors, corner shapes, bubble shapes, borders, shadows and fonts, such as a warmer palette or brush-script titles.
Rename the built-in apps and redraw the wallpaper, app icons or background textures to match your world's art style.
Give one app its own look, such as a dark story screen while the rest of the phone stays light.
Ask for something special, like chat bubbles that look like letters with a wax seal, and it is built for you.
Before anything is applied, you get a side-by-side preview of the current phone and the new one on the home and story screens.
SKILL.md
# Phone Style
The phone's look lives in two world files, both written only through `node /mods/neta/neta phone …`. The phone picks up each write on its own; no rebuild, no reload.
| Layer | What | When |
|---|---|---|
| Theme | Fixed fields every page reads: 9 colors, corners, bubble shapes, borders, shadows, bar texture, icon frame, vignette and grain, app-open motion, fonts, app names, wallpaper, icons, textures; and a look of its own for any built-in app | Any change the creator asks for |
| Part styles | CSS for named elements of one app or screen | **Only when the creator asks for a look the theme fields cannot give** |
Always reach for the theme first. To the creator these are "the phone's colors", "the chat bubbles", "the home screen": never a file, a field, a part name or CSS.
```bash
# Reading the phone's current look
node /mods/neta/neta phone theme get
```
Run this before anything else, generation included. The phone UI is still a gray test: when the creator is not in it, the result is `"ok":false` with `"code":"PHONE_NOT_ENABLED"`. Then stop: write and generate nothing for the phone, and tell the creator in one line that the custom phone is not open to them yet.
`node /mods/neta/neta help phone-theme` lists every field, its values and the allowed fonts; `neta help phone-style` lists the part-style rules.
## Theme
A new world already has a look: it was generated while the world was being written. Change it on request; do not regenerate it from scratch unless the creator asks for a whole new look.
`phone theme set` merges the JSON object on stdin into the theme: objects merge, `null` removes a field so it falls back to the default, anything else replaces. Write only the fields the creator's ask touches. Add `--replace` only when they want the whole look redone.
```bash
# Warming the phone's colors and turning my bubbles into leaves
node /mods/neta/neta phone theme set <<'JSON'
{"colors":{"accent":"#8a2a1e","onAccent":"#f6e7c8"},"bubble":{"me":"leaf"},"fonts":{"title":{"zh":"ma-shan-zheng","en":"cinzel"}}}
JSON
```
- `"ok":false` with `"code":"THEME_INVALID"` means nothing was written; `issues` names each field and why. Fix those and set again.
- Colors: `text` on `page` and `card`, `onAccent` on `accent`, `onBar` on `bar` must read clearly (contrast 4.5:1 or more). The phone darkens or lightens a pair that falls short, which drifts from what you picked.
- Fonts come only from the `help phone-theme` list, one Chinese and one English face per slot (title, body, hand); decorative faces are title-only.
- App names (`roleplay im journal photos files`): at most 6 Chinese characters or 12 letters. App Store keeps its system-localized name.
### One app's own look
When the creator wants a built-in app (`roleplay`, `im`, `appstore`, `photos`) to look different from the rest of the phone, write its fields under `apps.<app>`. It takes the same colors, corners, borders, bubbles, shadows, bar, ambience, fonts and textures as the phone, and every field it leaves out follows the phone. Text colors inside an app come from these colors, so recolor an app here, never with part styles. A texture set to `"none"` inside an app drops the phone's texture there. `{"apps":{"<app>":null}}` gives the app the phone's look again.
```bash
# The cool gray-black only in the story, the rest of the phone unchanged
node /mods/neta/neta phone theme set <<'JSON'
{"apps":{"roleplay":{"colors":{"page":"#111113","card":"#1c1c1f","text":"#ececee","accent":"#ececee","onAccent":"#111113","bar":"#111113","onBar":"#ececee","line":"#2c2c30"}}}}
JSON
```
### Redraw an image
Generate the image first (the `generate` skill covers models, params and checking the result), then write the `mediaPath` it returns, as-is, into the theme. One image per thing the creator asked to redraw.
| Image | Field | Shape |
|---|---|---|
| Wallpaper | `images.wallpaper` | 9:16; keep the top third quiet for the icons; no faces, no text |
| App icon | `images.icons.<app>` | 1:1, flat solid background, no text, border or rounded corners |
| Page / bar texture | `images.textures.page`, `images.textures.bar` | 1:1, seamless tile, low contrast; a bar texture also needs `"bar":"texture"` |
Prompt = the world's `visualStyle` + the phone's current colors + what this image shows.
```bash
# Hanging the new wallpaper
node /mods/neta/neta phone theme set <<'JSON'
{"images":{"wallpaper":"world/media/studio/works/<file>.png"}}
JSON
```
## Part styles
Only on an explicit ask, after the theme cannot give it.
1. Read [parts.md](parts.md) for the element names, where each sits and which have a selected state. `phone parts` prints the names alone.
2. `phone style get` first: `style set` writes the **whole** file, so keep every earlier rule the creator still wants and edit on top of it.
3. For a decoration (a seal, paper grain, a border ornament), generate it first and put its `mediaPath` in `url()`.
4. Write, then read `dropped`: each entry gives the line, selector, property and reason. Those pieces do not show. Fix them and set again until `dropped` is empty or what is left cannot be done; name that to the creator.
```bash
# Turning my chat bubbles into sealed letters
node /mods/neta/neta phone style set <<'CSS'
[data-phone-part="im-bubble-me"] {
background: #f3e6c8 url(world/media/studio/works/<paper>.png);
color: #3a2614;
border: 1px solid #b89a6a;
border-radius: 4px 14px 4px 14px;
box-shadow: 0 2px 6px rgb(58 38 20 / 25%);
padding: 10px 14px 12px;
}
[data-phone-part="im-bubble-me"]::after {
content: "";
position: absolute;
right: 8px;
bottom: -6px;
width: 22px;
height: 22px;
border-radius: 50%;
background: url(world/media/studio/works/<seal>.png) center / cover;
}
CSS
```
Two lines the rules cannot fully hold, so hold them yourself:
1. Layout stays: position, order, what shows or hides, grids, columns and splits do not change. Change the look; spacing and size only fine-tune (padding up to 24px and margin up to 12px a side, gap up to 24px, min-width / min-height up to 80px).
2. Content stays whole: nothing overflows or gets clipped, and text keeps its words and line breaks. Decorations go on `::before` / `::after`, which never block a tap.
## Look before you set
Before each `theme set` or `style set`, write the candidate to a file, preview it, and open every PNG with your read tool. The left phone is the phone now; the right one carries your candidate. Check that the change shows where the creator asked, that text still reads clearly, and that nothing else moved. Fix the candidate and preview again until it does, then set that same file. An empty `dropped` from `style set` only means the rules were kept; the preview is what shows whether they look right.
```bash
# Seeing warmer colors on the home screen and in the story before writing them
node /mods/neta/neta phone preview --theme /tmp/theme.json --style /tmp/style.css
node /mods/neta/neta phone theme set < /tmp/theme.json
```
`--theme` takes the JSON you would pipe to `theme set`, `--style` the whole style file, and `--screen home` or `--screen rp` paints one screen. Preview paints only the home screen and the roleplay screen, so a change that shows only inside another app, such as Messages bubbles, cannot be checked this way. When preview fails, set the candidate anyway and tell the creator you could not check the look.
## Out of reach
The profile page, chat list, world list, and sign-in, credit and upgrade dialogs are shared by every world; App Store apps belong to their authors. When the creator asks to restyle these, say plainly that this world's look does not reach them. The phone has no lock screen or boot animation; when asked for one, say so.
Close on what changed in the creator's terms, such as "the bubbles are sealed letters now and titles are in brush script", plus anything that did not take.