properties
changelog

Flex Base (Basis) Size

Set base (flex-basis) sizing for flex items.

Usage:

  • @flex base-*;

Reference

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

  properties: {
    flex: {
      base: {
        property: "flex-basis: <v><i>;",
        resolve: "spacing",
        themeKey: "spacing",
        values: {},
      },
    },
  },
};

export default shilpConfig;

Published at:

Last updated at: