properties
changelog

Align List Marker

Align list markers within lists.

Usage:

  • @list align-*;
  • @list align-marker;
  • @list align-text;

Reference

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

  properties: {
    list: {
      align: {
        property: "list-style-position: <v><i>;",
        values: {
          marker: "inside",
          text: "outside",
        },
      },
    },
  },
};

export default shilpConfig;

Published at:

Last updated at: