types/ColorTypes.ts

bootstrap-vue-next · packages/bootstrap-vue-next/src/types/ColorTypes.ts · typescript · MIT
ui

ColorTypes.ts from bootstrap-vue-next/bootstrap-vue-next

// Source: https://github.com/bootstrap-vue-next/bootstrap-vue-next | License: MIT | Copyright BootstrapVueNext
// Provided via justclaw.it.com; keep this notice with the code.
export interface BaseColorVariant {
  primary: unknown
  secondary: unknown
  success: unknown
  danger: unknown
  warning: unknown
  info: unknown
  light: unknown
  dark: unknown
}
export type ColorVariant = keyof BaseColorVariant

export type ColorVariantSubtle = `${ColorVariant}-subtle`
export type BaseColorVariantSubtle = {
  [K in ColorVariantSubtle]: unknown
}
export type ColorVariantEmphasis = `${ColorVariant}-emphasis`
export type BaseColorVariantEmphasis = {
  [K in ColorVariantEmphasis]: unknown
}

export type ColorVariantOutline = `outline-${ColorVariant}`
export type BaseColorVariantOutline = {
  [K in 

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key