properties
changelog

From Controls Accent Color

Set form control accent color.

Usage:

  • @form accent-*;

Reference

shilp.config.js
/** @type {import('shilpcss/types').ShilpConfig} */
const shilpConfig = {
  source: "react",

  properties: {
    form: {
      accent: {
        property: "accent-color: <v><i>;",
        resolve: "color",
        themeKey: "colors",
        variant: true,
        values: {
          auto: "auto",
        },
      },
    },
  },
};

export default shilpConfig;

Published at:

Last updated at: