Theming / Colors

Picking a theme

  • In config.ts, you can update your theme using the variable defaultShipNativeTheme

    const config: Config = {
      // ...
      defaultShipNativeTheme: "blue",
      // ...
    }
  • You can see all the theme options in themeConfig.ts

    export const themeOptions = [
      "blue",
      "indigo",
      "violet",
      "zinc",
      "pink",
      "rose",
      "red",
      "orange",
      "amber",
      "yellow",
      "green",
      "emerald",
      "sky",
    ] as const;

Setting up a custom theme

  1. Add the theme name in themeOptions

  2. Define the colors for the theme in light mode & dark mode

  3. Add the themes you set up to the theme colors

Last updated