function getPrimaryClasses
getPrimaryClasses(primaryColor?: PrimaryColor)

Get primary color classes that work in both light and dark mode

Examples

Example 1

const colors = getPrimaryClasses('violet'); // colors.bgSolid = 'bg-violet-600 dark:bg-violet-500'

Parameters

optional
primaryColor: PrimaryColor = blue

Return Type

Usage

import { getPrimaryClasses } from ".";