theme-vir - v28.21.2
    Preparing search index...

    Function buildColorTheme

    • Creates a color theme from a color palette.

      Parameters

      Returns {
          darkOverride: ColorThemeOverride<
              Record<
                  `${Lowercase<string>}-${Lowercase<string>}`,
                  _RequireAtLeastOne<
                      { background: ColorInitValue; foreground: ColorInitValue },
                      "foreground" | "background",
                  >,
              >,
          >;
          defaultLight: ColorTheme<
              Record<
                  `${Lowercase<string>}-${Lowercase<string>}`,
                  _RequireAtLeastOne<
                      { background: ColorInitValue; foreground: ColorInitValue },
                      "foreground" | "background",
                  >,
              >,
          >;
      }