FontOps1.3.0 Asset Store ↗
  1. FontOps
  2. Type system

Palettes

Name the roles your text plays (Header, Body, Button) once, give each a font, size, style, spacing and colour, and let every text that has the role follow it.

Updated for 1.3.0

Make a palette

  1. In Tools › FontOps, open My Fonts › Palettes and press + NEW. The palette starts with five roles and no fonts.
  2. Give the roles fonts: pick one in the role editor's FONT ASSET (TMP), or press PALETTE on a style in My Fonts.
  3. Set each role's size, style, spacing and colour, and watch its card on the left.
  4. Press SAVE (or turn on AUTOSAVE).
  5. Press APPLY… to put the palette on your screens: see Apply a palette.
My Fonts › Palettes with MyPalette active: + NEW, IMPORT, APPLY…, DUPLICATE, EXPORT, DELETE and PREVIEW TEXT, the role cards on the left in Baloo 2 and Nunito with HEADER · 80px · Normal selected, and the role editor on the right reading Saved, with EDITING Header, ROLE NAME, FONT ASSET (TMP) Baloo 2-regular SDF, FONT STYLE Normal, SIZE 80 and spacing sliders
My Fonts › Palettes: the role cards on the left, the role editor on the right, and the palette actions on top.

What is a Font Palette?

A Font Palette is a ScriptableObject that defines a set of named typographic roles—think of them as CSS classes for fonts. Instead of setting font size, spacing, and color on every text object individually, you assign a role like Header, Body, or Caption and let the palette control the details.

Each role specifies:

  • Font asset (TMP and/or legacy)
  • Font style: any mix of TMP styles (Bold, Italic, Underline, Strikethrough, Lower Case, Upper Case, Small Caps, Superscript, Subscript, Highlight)
  • Size, letter spacing, line spacing, word spacing, and paragraph spacing
  • Color

A text takes a role through a Font Palette Applier component. APPLY… adds appliers to the texts in your scenes and prefabs for you, and texts with an applier follow the palette when you edit it.

Role properties

Property Type Description
Role Name string The role's name (e.g. "Header", "Body"). It must be unique in the palette, ignoring case: renaming a role to a name another role already has is refused, and a new or imported role whose name is taken gets a number ("New Role 2"). A "/" becomes "-", because menus read "/" as a submenu, and a blank name becomes "Untitled".
TMP Font Asset TMP_FontAsset The TextMeshPro font asset used for this role.
Legacy Font Font (optional) Optional Unity legacy font, for UI Text components. Picking a TMP font in the role editor sets it to that font's source file.
Font Style FontStyles Any mix of TMP styles: Bold, Italic, Underline, Strikethrough, Lower Case, Upper Case, Small Caps, Superscript, Subscript, Highlight.
Font Size float (px) Base font size in pixels. Decimals are allowed.
Character Spacing float Extra spacing between individual characters, in TMP units (1 = 0.01 em). The role editor calls it LETTER SPACING.
Line Spacing float Extra vertical spacing between lines, in TMP units (1 = 0.01 em).
Word Spacing float Extra spacing between words, in TMP units (1 = 0.01 em).
Paragraph Spacing float Extra spacing between paragraphs, in TMP units (1 = 0.01 em).
Color Color Default text color for this role.

Creating a palette

There are two ways to create a new palette:

From the Assets menu

  1. In Unity, go to Assets → Create → FontOps → Font Palette.
  2. Name the asset and save it anywhere in your project.

From the FontOps window

  1. Open FontOps and navigate to the My Fonts tab.
  2. Select the Palettes sub-tab.
  3. Click + NEW and choose where to save the palette. The save dialog starts in the palette folder from Settings. The new palette becomes the active palette.

A new palette starts with five roles and no fonts: Header (32, Bold), Subheader (24, Bold), Body (16), Caption (12, Italic) and Button (16, Bold). Give each role a font next.

Editing roles

The Palettes sub-tab edits the active palette. The left panel previews every role in the palette. The right panel edits the selected role.

My Fonts › Palettes editing MyPalette: role cards on the left in Baloo 2 and Nunito, the Caption card labelled CAPTION · 28px · Bold, Italic in amber with a dot, and the role editor on the right reading Unsaved changes with EDITING Caption, ROLE NAME, FONT ASSET (TMP) Nunito-regular SDF, FONT STYLE Bold, Italic, SIZE 28 and spacing sliders; SAVE, DISCARD and DELETE ROLE at the bottom; the window tab reads FontOps*
Editing MyPalette’s Caption role with AUTOSAVE off: the card’s label turns amber with a ●, the editor reads ● Unsaved changes and the tab reads FontOps*.
  • PALETTE: picks the active palette. The same palette shows as ACTIVE PALETTE under the My Fonts list.
  • Palette actions: + NEW and IMPORT make a palette. APPLY… (see Apply a palette), DUPLICATE, EXPORT and DELETE act on the active palette and are greyed out when there is none.
  • PREVIEW TEXT: the sample every role card shows.
  • AUTOSAVE: off: edits wait for SAVE. On: every change saves at once.
  • Role list (PREVIEW & EDIT): each card draws the preview text in the role's font, size, style, colour and spacing, at 56 px at most. Click a card to edit the role. + ADD ROLE adds a "New Role" ("New Role 2" when that name is taken); ? Role Naming Guide opens the Role Naming Guide.
  • Role editor: the fields of the role picked in EDITING. The status reads "✓ Saved" or "● Unsaved changes".
  • SAVE, DISCARD (back to the last save) and DELETE ROLE.

Each card's label tells you the role's state:

  • ✓ HEADER · 80px · Normal in green: saved.
  • ● CAPTION · 28px · Bold, Italic in amber: the role you're editing has unsaved changes.
  • · ⚠ NO FONT at the end, in amber: the role has no TMP font, so its preview uses the editor font.

A role bigger than 56 px is drawn at 56 px, so one big role doesn't fill the list. The label keeps the real size: the 80 px Header reads "✓ HEADER · 80px · Normal", and hovering its preview says "Shown at 56 px; the role is 80 px".

An empty palette says "This palette has no roles yet. Add one to get started." above + ADD ROLE. With no active palette the list says "Select or create a palette to get started."

The palette Empty in the Palettes tab: This palette has no roles yet. Add one to get started. above + ADD ROLE and ? Role Naming Guide, with a dimmed role editor
An empty palette.

Role fields

  • ROLE NAME — the ? button opens the Role Naming Guide. A name another role already has (ignoring case) is refused: the field goes back and the Console says why. A blank name becomes "Untitled" and a "/" becomes "-".
  • FONT ASSET (TMP) — the role's TMP font. Its source font becomes the role's legacy font.
  • FONT STYLE — a menu of every TMP style. Tick as many as you need (below).
  • SIZE, LETTER SPACING, LINE SPACING, WORD SPACING, PARAGRAPH SPACING — each has a number box and a slider. The box takes decimals and values beyond the slider's range.
  • COLOR — the role's text colour, with alpha.

Every change is one Undo step, so Ctrl+Z takes it back. Adding and deleting roles undo too.

The Caption role's FONT STYLE menu open with Normal, Everything, Bold (ticked), Italic (ticked), Underline, Lower Case, Upper Case, Small Caps, Strikethrough, Superscript, Subscript and Highlight
The FONT STYLE menu with Bold and Italic ticked.
The role editor on Header scrolled down: SIZE 80, LETTER SPACING 1, LINE SPACING, WORD SPACING and PARAGRAPH SPACING at 0, and a cream COLOR, with SAVE, DISCARD and DELETE ROLE
The rest of the role editor: spacing, COLOR, and the role buttons.

Click a style to tick or untick it. The field lists what is ticked, for example "Bold, Italic". Normal clears every style and Everything ticks them all.

Unsaved changes

With AUTOSAVE off, an edited role reads "● Unsaved changes" and the window tab reads FontOps*. Leaving the role asks what to do with the edit:

FontOps dialog: You have unsaved changes to the role "Caption". Buttons Save, Discard, Cancel
Leaving an edited role.

Save keeps the edit, Discard drops it, and Cancel (or Esc) stays on the role. FontOps asks when you click another role card, pick another role in EDITING, switch between MY FONTS and PALETTES, open another page, pick another palette, or press + NEW, IMPORT, DUPLICATE, APPLY… or + ADD ROLE. Closing the window asks too.

The Palettes sub-tab follows edits made to the active palette in other windows, such as the row editor in Apply… or the palette's Inspector: the role cards and the open role's fields update. DISCARD drops only the edits you made here, not those.

Renaming and deleting roles

  • Rename a role in ROLE NAME or in the palette's Inspector, and the texts bound to it in open scenes (and in the prefab open in Prefab Mode) stay bound, as one Undo step. Discarding an unsaved rename moves them back.
  • Texts in closed scenes and prefab assets keep the old name. Their applier shows the role as missing until you pick it again.
  • An IMPORT over the palette, or an AI agent's palette-save, that renames a role doesn't rebind any texts. Pick the new role on those texts, or run APPLY… again.
  • DELETE ROLE asks first. When texts in open scenes use the role, the dialog names them: they keep their look but lose the link, and their applier shows the role as missing. Closed scenes and prefabs are not checked. Ctrl+Z brings the role back.
  • DELETE in the palette actions moves the whole palette to your system trash, after a confirm.

Giving roles fonts: the My Fonts library

The MY FONTS sub-tab lists the fonts in your FontOps download folders, grouped by family. Press PALETTE on a style to give it to a role of the active palette.

My Fonts sub-tab in family rows: a filter box and Display buttons, then Baloo 2 (GF, OFL 1.1, 2 files) with a style card tagged HEADER, SUBHEADER and BUTTON, DSEG7 with a NO SDF style, + SDF and CREATE TMP, and Inter (FSRC, + cyrillic fallback); each style card has PALETTE, SHOW and DELETE, next to BROWSE MORE VARIANTS; ACTIVE PALETTE MyPalette at the bottom
My Fonts in family rows: DSEG7, a custom font, has a style marked ⚠ NO SDF with + SDF, and the family has CREATE TMP.
  • Filter: shows only families whose name contains what you type. ✕ clears it. When nothing matches, the list says 'No installed fonts match "…".'.
  • Display: family rows (shown), grid view, family list, or flat list.
  • Family header: the source badge (GF Google Fonts, FS Fontshare, FSRC Fontsource), the licence, file count and size. Fontsource extra subsets show as "+ cyrillic fallback". Hover the meta for the licence.
  • A style with no TMP font asset is badged ⚠ NO SDF. + SDF creates one for that style; the family's CREATE TMP creates every missing one.
  • Licence tooltip: for a font FontOps didn't install, the licence and embedding flags are read from the font file itself. For a FontOps install, the tooltip names the licence recorded at install.
  • ACTIVE PALETTE: the palette that PALETTE adds fonts to (the same as PALETTE on the Palettes sub-tab).
  • BROWSE MORE VARIANTS counts installed styles against what the catalogs offer (for example 1/5) and opens Search on the family. A font no catalog has, like a custom font you copied into the folder, shows "1 installed".
  • In the family list display, each family is one line: "1 style · + cyrillic fallback", the licence and size, TMP (creates missing SDFs), BROWSE and REMOVE FAMILY. Expand a family to see its styles with PALETTE, SHOW and DELETE.
  • The list updates by itself when fonts arrive from the Font Picker or an AI agent, or when you delete them in the Project window.
My Fonts in the family list display: one line per family (Baloo 2, DSEG7, Inter, Nunito, Press Start 2P, Raleway, Space Mono) with style count, size, BROWSE and REMOVE FAMILY, the licence on all but DSEG7, and TMP on DSEG7, Raleway and Space Mono; Inter expanded to Regular 400 with PALETTE, SHOW and DELETE
The family list display, Inter expanded.
Licence tooltip over the DSEG7 family meta: Licence (from DSEG7Classic-Regular.ttf), the SIL Open Font License text read from the file, and Embedding: Editable
The licence tooltip on a custom font, read from the file.

Giving a style to a role

PALETTE opens a menu of the active palette's roles plus + New Role.... Pick a role, and FontOps sets its TMP font and legacy font, then opens the role on the Palettes sub-tab. With no active palette, it asks you to pick one in ACTIVE PALETTE first. If the style has no SDF yet, FontOps asks:

FontOps dialog: Space Mono-regular.ttf has no TMP font asset (SDF) yet, so TMP texts can't use it. Create one now? Otherwise the TMP font of "Body" is cleared. Buttons Create SDF, Assign without SDF, Cancel
Giving a role a style with no SDF.

Removing fonts

DELETE removes one style (with its SDF and any subset files) and REMOVE FAMILY removes them all. Files go to your system trash. The confirm lists what still uses the font: palette roles, other TMP assets, texts in open scenes and audited prefabs, and texts in closed scenes from the last audit.

FontOps dialog: Delete the entire "Nunito" family? 2 file(s) go to the system trash. Still in use. These lose their font: Palette MyPalette → Body, Palette MyPalette → Caption. Buttons Delete, Cancel
Removing a family that palette roles still use.

When the last style of a family goes, its folder, licence and install manifest go with it. If the trash can't take a file, FontOps asks before deleting it for good.

Restoring a family from the trash reconnects the scenes, palettes and TMP assets that used it, but the family comes back without its source badge and licence.

Import / Export

Palettes can be shared across projects or with teammates using JSON files.

  • EXPORT saves the active palette as a JSON file you can keep under version control.
  • IMPORT reads a JSON file, asks where to save the palette in your project, and makes it the active palette. Importing over the open palette reloads the role editor.

The file is the same JSON an AI agent reads and writes with palette-export and palette-save (see AI Skills). Fonts are stored as asset paths:

{
  "paletteName": "MyPalette",
  "description": "Round, friendly type: Baloo 2 for titles and buttons, Nunito for reading text.",
  "ignoredAssetPaths": [],
  "roles": [
    {
      "roleName": "Header",
      "tmpFont": "Assets/Fonts/GoogleFonts/Baloo 2/Baloo 2-regular SDF.asset",
      "legacyFont": "Assets/Fonts/GoogleFonts/Baloo 2/Baloo 2-regular.ttf",
      "fontStyle": "Normal",
      "fontSize": 80.0,
      "lineSpacing": 0.0,
      "characterSpacing": 1.0,
      "wordSpacing": 0.0,
      "paragraphSpacing": 0.0,
      "color": [1.0, 0.96, 0.84, 1.0]
    }
  ]
}

IMPORT finds each font by its path, then by its name. Fonts it can't find are listed in a dialog and in the Console, and their roles show ⚠ NO FONT:

FontOps dialog: Imported "Imported", but these fonts are not in this project, listing the Bungee-regular SDF.asset and Bungee-regular.ttf paths, then Their roles show ⚠ NO FONT. Install the fonts, then assign them in the role editor. Button OK
IMPORT with fonts the project doesn't have.
The palette Imported in the Palettes tab: the Header card labelled HEADER · 64px · Normal · ⚠ NO FONT in amber and previewed in the editor font, a Body card at 24px, and the role editor on Header with FONT ASSET (TMP) None
After the import: the Header role shows ⚠ NO FONT and previews in the editor font.
IMPORT ignores anything around the JSON object, such as ``` fences or the prose of an AI reply. A file with no valid JSON, or no paletteName, gets an "Invalid palette JSON" dialog. Files exported by FontOps 1.2 still import, but they carry no fonts, so their roles show ⚠ NO FONT. Role names arrive unique and without "/": a taken name gets a number ("Body 2"), a blank one becomes "Untitled", and the Console lists each rename. A role the palette you import over already has keeps its exact name.

Multiple palettes

You can create as many palettes as you need. Common use cases include:

  • Default — your primary typographic system.
  • Accessibility — larger sizes and higher-contrast colors for accessibility compliance.
  • CJK — different font families optimized for Chinese, Japanese, or Korean text.

Switch the active palette at any time using the palette dropdown in the My Fonts → Palettes toolbar. Only one palette is active at a time. The Text Auditor's PALETTE field follows the active palette whenever you change it; you can pick another there, or clear it for the usage audit, and changing it re-audits at once (see Text Auditor). APPLY… opens the Apply window on the active palette, and one APPLY moves a whole screen from one palette to another (see Swapping palettes).

Apply a palette to scenes and prefabs

APPLY… in My Fonts › Palettes puts the active palette on the texts in your open scenes, the selected objects or whole project folders, with every setting of each role or only its font. It recognises the role each text plays, shows your UI before and after, can take the scene's own sizes into the palette, and changes no text until you press APPLY. It has its own page.

The sample's Level Complete screen split by the before and after wipe handle: LiberationSans on the left, Baloo 2 and Nunito on the right

Apply a palette

Scopes, rows and reasons, the before/after render, APPLY, and swapping palettes.

Read it →

The Font Palette Applier

A Font Palette Applier sits next to a TextMeshPro text and binds it to one role of a palette. APPLY… and the Text Auditor's FIX add it for you; you can also add it by hand with Add Component › FontOps › Font Palette Applier.

Inspector for the Title text: TextMeshPro - Text (UI) and Font Palette Applier with Palette Pop, Role Header, Property Overrides all ticked and a Preview of Level Complete in LilitaOne-Regular SDF at 76px
A text bound to Pop › Header.
Font Palette Applier on Pop › Header scrolled to its Preview of Level Complete and the table of current and role values, which all match, with Apply to Text Component in blue and Revert
Apply to Text Component and Revert under the values table.
  • Palette and Role — the role to follow. A new applier starts with no role: pick one.
  • Property Overrides — untick a property to leave it alone on this text. All and None set them all. An unticked property shows "(skip)" in the table.
  • Preview — the text in the role's font, size, style and colour, and a table of its current values against the role's.
  • Apply to Text Component writes the role into the text now. With several texts selected it reads Apply to 3 Text Components and applies each text's own role, as one Undo step.
  • Revert undoes only the last Apply made in this inspector, leaving later edits alone. It is greyed out until you press Apply.

The inspector tells you when the role can't be found:

Font Palette Applier on the Title text with Palette Pop, an empty Role and the warning Role "Logo" is missing from palette "Pop". Pick a role to rebind, or restore the role in the palette.
A role the palette no longer has.
Font Palette Applier on the Title text with Palette Pop, an empty Role and the warning Pick a role from this palette.
A new applier with no role yet.
Font Palette Applier for two selected texts with a Palette field showing a dash for mixed values and the note The selection uses different palettes. Select objects that share a palette to change their role.
Two texts on different palettes.

Selecting texts whose appliers use different palettes shows "The selection uses different palettes. Select objects that share a palette to change their role." in place of the Role menu. An applier with no palette says "Assign a Font Palette to configure this component."

Edit a role in the FontOps window, in the palette's Inspector, or through an AI agent, and the texts bound to it in the open scenes, and in the prefab open in Prefab Mode, update within a moment. Ctrl+Z undoes the palette edit and the texts together.

Closed scenes and prefab assets don't update on their own. They catch up when you press Apply on their applier, or run APPLY… on them. See Renaming and deleting roles for what a rename does.

The palette in the Inspector

Select a palette asset in the Project window to edit it in the Inspector.

Inspector for MyPalette: Palette Name, the Description Round, friendly type: Baloo 2 for titles and buttons, Nunito for reading text., Preview Text, and the Header role with TMP Font Asset Baloo 2-regular SDF, Legacy Font Baloo 2-regular, Font Size 80, Style Normal, spacing fields, a cream Color, and a preview of The quick brown fox in Baloo 2
MyPalette in the Inspector, Header role open.
  • Every role field is here, including Color, Word Spacing and Paragraph Spacing.
  • The preview draws the preview text in the role's font, size, style and colour on a dark background, so light colours stay readable.
  • + Add Role adds a blank role named "Custom" ("Custom 2" when that name is taken): 16 px, no font, white, not a copy of the last role.
  • X deletes a role. When texts in open scenes use it, a dialog names them first.
  • A rename here keeps the open scenes' texts bound, as in the role editor. A name another role already has is refused, a blank name becomes "Untitled" and a "/" becomes "-".
  • When the palette ignores any assets, an Ignored Assets list shows them with Restore.

API reference

You can query palette data at runtime or in editor scripts through the FontPaletteAsset API.

Get a role by name

// Returns the FontRoleEntry matching the given name (ignoring case), or null if not found.
FontRoleEntry role = palette.GetRole("Header");

Get all TMP font assets

// Returns the set of every TMP_FontAsset referenced by the palette's roles.
HashSet<TMP_FontAsset> fonts = palette.GetAllTmpFonts();

Get all legacy fonts

// Returns the set of every legacy Font referenced by the palette's roles.
HashSet<Font> fonts = palette.GetAllLegacyFonts();

Apply a role from a script

// Binds a text to a role and writes the role's enabled properties into it.
var applier = text.GetComponent<FontPaletteApplier>();
applier.palette = palette;
applier.roleName = "Header";
applier.Apply();

Troubleshooting

A role card says ⚠ NO FONT

The role has no TMP font, so its card previews in the editor font. Pick one in FONT ASSET (TMP), or press PALETTE on a style in My Fonts. After an IMPORT, it means the file named a font this project doesn't have: install it, then assign it.

Texts didn't change when I edited the palette

Only texts with a Font Palette Applier follow the palette, and only in open scenes and the prefab open in Prefab Mode. Closed scenes and prefab assets catch up when you press Apply to Text Component on their applier, or run APPLY… on them. Texts with no applier yet need APPLY… or the Text Auditor's FIX first.

After a rename, some texts show the role as missing

A rename keeps texts in open scenes bound. Texts in closed scenes and prefab assets keep the old name: pick the new role on their applier, or run APPLY… on them.

A role name won't change

Names must be unique in the palette, ignoring case. A name another role has is refused and the Console says why. A blank name becomes "Untitled", and a "/" becomes "-".

PALETTE on a style asks me to pick an active palette

PALETTE adds the style to a role of the active palette. Pick one in ACTIVE PALETTE at the bottom of My Fonts, or in PALETTE on the Palettes sub-tab.

FontOps 1.3.0 · Unity 2022.3 LTS and Unity 6Something wrong or missing? support@davgtz.dev