Skip to contents

Same names as kit_colors() in kitJoin and kitsUI. Colors for UI components are in the CSS tokens (var(--nb-lime) etc.; see the appendix of brand/en/design-language.md). primary, accent, and subtitle come from the brand (primary, accent, and accent_light in kit_brand()); primary_light is a lighter primary; the rest are fixed neutrals and older alert colors.

Usage

kit_colors(brand = kit_current_brand())

Arguments

brand

The brand (kit_brand()); defaults to kit_current_brand() (KIT when none is set).

Value

A named list.

Examples

kit_colors()$primary
#> [1] "#006835"