@ant-design/colors

  • Version 7.0.2
  • Published
  • 23.6 kB
  • 1 dependency
  • MIT license

Install

npm i @ant-design/colors
yarn add @ant-design/colors
pnpm add @ant-design/colors

Overview

Color palettes calculator of Ant Design

Index

Variables

variable blue

const blue: string[] & { primary?: string | undefined };

    variable cyan

    const cyan: string[] & { primary?: string | undefined };

      variable geekblue

      const geekblue: string[] & { primary?: string | undefined };

        variable gold

        const gold: string[] & { primary?: string | undefined };

          variable gray

          const gray: string[] & { primary?: string | undefined };

            variable green

            const green: string[] & { primary?: string | undefined };

              variable grey

              const grey: string[] & { primary?: string | undefined };

                variable lime

                const lime: string[] & { primary?: string | undefined };

                  variable magenta

                  const magenta: string[] & { primary?: string | undefined };

                    variable orange

                    const orange: string[] & { primary?: string | undefined };

                      variable presetDarkPalettes

                      const presetDarkPalettes: PalettesProps;

                        variable presetPalettes

                        const presetPalettes: PalettesProps;

                          variable presetPrimaryColors

                          const presetPrimaryColors: Record<string, string>;

                            variable purple

                            const purple: string[] & { primary?: string | undefined };

                              variable red

                              const red: string[] & { primary?: string | undefined };

                                variable volcano

                                const volcano: string[] & { primary?: string | undefined };

                                  variable yellow

                                  const yellow: string[] & { primary?: string | undefined };

                                    Functions

                                    function generate

                                    generate: (color: string, opts?: Opts) => string[];

                                      Type Aliases

                                      type PalettesProps

                                      type PalettesProps = Record<
                                      string,
                                      string[] & {
                                      primary?: string;
                                      }
                                      >;

                                        Package Files (2)

                                        Dependencies (1)

                                        Dev Dependencies (9)

                                        Peer Dependencies (0)

                                        No peer dependencies.

                                        Badge

                                        To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                                        You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@ant-design/colors.

                                        • Markdown
                                          [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@ant-design/colors)
                                        • HTML
                                          <a href="https://www.jsdocs.io/package/@ant-design/colors"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>