Task · Custom themes
Install a whole look at once
Change your palette, fonts and shapes together, from a file somebody writes once.
7 steps · About 2 minutes · Needs: A theme file, from a designer or from us
The Customize studio changes the colors, images and wording on every screen people see, against a live preview and with nothing to install. Start there.
A theme is a small text file listing the colors, fonts, corner radius, shadow and motifs your public pages use. It's written in TOML, a plain-text format for settings.
Where to get one
Ask whoever does your design to write it, or ask us for a starting point you can hand them.
Changing the background color is the one-minute version and needs nothing from anybody.
Installing it
-
Open Account settings then Custom themes
Your accountSettings -
Open New theme and give it a Name
The name is what every event uses to say it's based on this look, so pick the one you already say out loud.
go.tito.io/acme/admin/looks -
Paste the whole file into Colors and fonts (optional)
There's nothing else to fill in by hand.
-
Select Add theme
-
Put an event on it
On that event's Customize screen, the Based on block at the top of the Look tab lists every theme you have. Or make this one your account default, and every event that hasn't chosen for itself follows it.
A file with a mistake in it is refused.Your look doesn't change, and the page keeps what you pasted so you can fix that line and try again.
Taking one back out
-
Open the theme and go to Colors and fonts
-
Select download as TOML
You get a file back, named after the theme.Keep it as a backup, or paste it into another account to put the same look on both.
What a theme file can set
A theme file has four groups of settings. Each group starts with its name in
square brackets, like [palette], and each setting is one line under it. Below,
every setting is written with its group in front, so palette.link is the line
link = "#1a56db" under [palette].
If a file has a setting that isn't on this list, Tito refuses the whole file and names the setting. Where a real setting is close, you're told which one you probably meant.
Colors
Every color is a hex value like #1a56db, and all seven are required.
palette.backgroundis the page behind everything.palette.cardis the box your event's details are in. Borders are worked out from it.palette.textis body text.palette.headingis headings.palette.linkis links.palette.button_bgis the background of buttons.palette.button_textis the text on buttons.
Shape
shape.radiusis how round corners are, in pixels, from0to40.shape.shadowisnone,softorraised.shape.buttonsisroundedorpill.
Fonts
type.body and type.heading are required. Each one names a font we host:
interschibsted-groteskspace-grotesknewsreaderfraunceshost-groteskmanropesource-serif-4instrument-serifibm-plex-monobig-shoulders-displaynunitosource-sans-3
The font settings:
type.bodyis body text.type.headingis headings.type.scaleiscompact,regularorairy, and sets the size of the event page's title and text.
Your own font
A font you host yourself goes under [type.custom], with one [[type.custom.face]]
group for each file, up to 12.
type.custom.familyis the font's name. It can have letters, numbers, spaces and hyphens.type.custom.applyisoff,headings,bodyorboth. Leave it out and it'soff.type.custom.face.weightis a weight from 100 to 900 in quotes, like"400", or a range for a variable font, like"400 700".type.custom.face.styleisnormaloritalic.type.custom.face.srcis the file's address, startinghttps://.
Motifs
motif.bandis a colored band across the top of the page:none,stripeorgradient.motif.band_colorsis the band's colors, at least two, like["#1a56db", "#f5a623"].motif.section_washis a colored square before each heading:noneorpastel.motif.wash_coloris the square's color. Leave it out and the square uses the band's second color.