PadCodedocs

Make your own theme

Get themes free from the Marketplace, or make your own in the Theme Builder: pick PadCode's colors, see them on the Builder as you go, save your theme, use it and share it.

A theme is the set of colors PadCode's own screens use: the sidebar, the Library, the Inspector, sheets, buttons and text. In the Theme Builder you choose them and see PadCode's Builder in them as you go, in light and in dark. Then you save the theme and use it.

A theme changes PadCode, not your apps. The apps you build keep their own colors on the canvas, in Preview and on the Home Screen.

#Get a theme

PadCode comes with its own theme, in light and dark. Every other theme, like Tokyo Night, Dracula and Catppuccin, is in the Marketplace, free: tap Marketplace → Themes, pick one, and tap Get. It goes on straight away, and joins your themes in Settings → Theme → Change. Browse Themes… in that list, and Browse Themes under it, take you to the Marketplace's themes too.

If you used a theme that PadCode used to come with, PadCode goes back to its own theme and tells you that yours is in the Marketplace: get it there again.

The Theme Builder in dark: the colors on the left, PadCode's Builder in them on the right, with Light and Dark above it.

#Open the Theme Builder

  • Settings → Theme → Change → Make a Theme…, at the top of the list of themes.
  • Marketplace → Themes → Make your own, the first card.
  • Home → Your theme → Make a Theme.
Settings' Theme section with Change open: Make a Theme… first, then Browse Themes… and your themes.

The Theme Builder fills the screen. On the left are the colors; on the right is a picture of PadCode's Builder (the sidebar, the Library, the toolbar, the canvas with an iPhone on it, the Inspector and a sheet) drawn in your theme. It changes as soon as you change a color.

Above the picture, Light and Dark switch between your theme's two looks. They also choose which look you're changing: the Key colors heading says Light or Dark to match. A theme made for one look only shows that one.

#Start from a theme or from two colors

A new theme starts from something. Start from has two choices:

ChoiceWhat you get
A themeA copy of the theme you pick in the list below it (it starts as the theme you're using): PadCode's own, the ones you made, and the ones you got from the Marketplace. The theme you copy is never changed: you always work on a copy.
Two colorsPick an Accent and a Background, and PadCode makes every other color from them, in light and in dark. Text, links and button text are made dark or light enough to read.

With Two colors, your background is used for the look it suits (a dark background for the dark look, a light one for the light look) and the other look gets a pale or a deep background of the same hue. The brand gradient runs from your accent to its neighbor on the color wheel. Changing either color makes the theme again from the two, so pick them first, then change the rest.

Start from Two colors: Accent and Background, with the theme made from them in the picture.

Start from is only there for a new theme. When you edit a theme you saved, you start where you left it.

#Name it and choose its looks

  • Name: what Settings and the Marketplace call your theme, up to 40 characters. It needs at least one letter or number.
  • Made for: Light & Dark (it follows Settings → Appearance), Light only or Dark only. While a one-look theme is on, Settings → Appearance is dimmed and stays on that look.

#Key colors

The colors that make a theme come first. Tap a color's circle to open iOS's color picker: choose from the grid, the spectrum or the sliders, or type a hex code, and set how see-through it is. The code beside the circle (like #8B5CF6) is the color now; a color you can see through has two more digits for that.

Key colorWhere you see itAlso changes
AccentButtons, the selected item, highlights, the brand gradient's startThe selection washes and borders, the AI Agent button, the Library's icons
Second accentWhere the brand gradient endsThe selection washes' other end, the Preview button
BackgroundBehind every screen and the Builder's canvasThe welcome and paywall background, the background behind Preview
Panels and fieldsFields, chips and tilesThe glass of the side panels, sidebar, cards and Settings' groups; raised fields; quiet buttons
TextTitles and body textSwitches when they're off, slider and progress tracks, page dots
Secondary textLabels and supporting text
Button textText and icons on the accent

A key color's "also changes" colors take the new color but keep their own see-through amount, so a new accent tints the selection washes without making them solid. The Background can't be see-through.

#Every other color

Every other color is under Every other color, in groups. Tap a group to open it, and again to close it.

GroupWhat's in it
TextFaint text (captions and placeholders), Links, Delete and errors, the selected sidebar item, warning and success badges
Lines and surfacesRaised fields, Borders, Dividers, the selected border, the New App tile's border, the glass top edge, Shadows, the sidebar edge
BackgroundsThe welcome and paywall background, the background behind Preview, the Flow board's dots
ControlsA switch that's off, slider and progress tracks, page dots, the knobs of switches and sliders, quiet buttons and their border
GradientsSelection washes, the AI Agent button, the glass levels, sheets and menus, side panels, the sidebar, Settings' groups. Each has a circle for each of its colors.
Card artThe pictures on project and template cards, by kind of app
HuesThe colors PadCode's icons and accents use, named after the default theme's colors. Your theme can make them anything.

#Text that's hard to read

Text needs to stand out from what it sits on. PadCode checks the text colors on the Background (Text, Secondary text, Faint text, Links, and Delete and errors) and Button text on both colors of the brand gradient:

  • text needs a contrast of 4.5:1 with the background;
  • button text needs 3:1 with the accent, as it's big and bold.

When a color falls short, its row says so, with how much it has (like "2.8:1 on the background, needs 4.5:1"), and offers Fix. Fix makes the color lighter or darker in its own hue, by just enough. A note above the key colors counts every color that's hard to read, in either look, and Fix All fixes them all at once.

The Indigo theme as a start: 6 colors are hard to read, with Fix All, and Button text's row saying 1.6:1 on the accent, needs 3:1, with Fix.

You can save a theme with text that's hard to read, but people may struggle with it.

#Save it and use it

Tap Save. PadCode asks Use “name” now?:

  • Use Theme puts it on: every screen changes to your theme.
  • Not Now keeps the theme you're using.

Either way your theme is saved, with your account's name as its author, and it's listed in Settings → Theme after PadCode's own theme, to pick any time.

PadCode won't save when:

It saysDo this
"Give your theme a name with a letter or a number in it."Type a name.
"PadCode comes with a theme called name."Pick another name: PadCode's own theme can't be replaced.
"You have a theme called name already."Pick another name, or edit that theme instead.

#Change, rename, share or delete your theme

Put your theme on (Settings → Theme → Change, pick it), then tap Change again and Edit “name”…. The Theme Builder opens on it.

  • Change colors and tap Save. As it's the theme you're using, the change shows right away.
  • Rename it: change Name and tap Save.
  • Share it: tap the share button (the square with an arrow) at the top. It sends your theme as a .padtheme file, as you saved it. Whoever opens it in PadCode gets it put on.
  • Publish it: in the Marketplace, tap Publish, then Theme, and pick it. PadCode draws its screenshots. See Publish to the Marketplace.
  • Delete it: tap the trash button, then Delete. If it was on, PadCode goes back to its own theme.

To leave without saving, tap ✕. If you changed anything, PadCode asks Leave without saving? first.

#In light

Everything above works the same in the light look. Here is the Theme Builder with Settings → Appearance on Light:

The Theme Builder in light, showing the light look of the theme.
The Marketplace's Themes tab, with Make your own as the first card.