properties
changelog

Element Opacity

Control element opacity and transparency.

Usage:

  • @layout opacity-*;

Reference

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

  properties: {
    layout: {
      opacity: {
        property: "opacity: <v><i>;",
        themeKey: "fractions",
        values: {},
      },
    },
  },
};

export default shilpConfig;

Published at:

Last updated at: