properties
changelog

Text Color

Set text color for elements.

Usage:

  • @text color-*;

Reference

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

  properties: {
    text: {
      color: {
        property: "color: <v><i>;",
        resolve: "color",
        themeKey: "colors",
        variant: true,
        values: {},
      },
    },
  },
};

export default shilpConfig;

Published at:

Last updated at: