properties
changelog

Values Overview

Values are predefined datasets of key–value pairs used by Shilp CSS to organize commonly used data such as colors, spacing, time, and numbers.

These datasets themselves are not used directly. Instead, they act as the source data used to build the theme system.

shilpConfig.theme organizes and exposes this data so that:

  1. shilpConfig.properties can reference it
  2. Inline theme function can reference it

In simple words:

  • Values → raw datasets
  • Theme → organizes those datasets
    • Inline Theme Function → use values directly
  • Properties → reference the theme using themeKey

To understand how values are processed and resolved, see Values Config.


Available Values Datasets

This section lists all built-in values datasets shipped with Shilp CSS.

Each dataset has its own page that documents the dataset structure and usage.

DatasetDescriptionDocumentation
AnglesAngle values for rotation, skew, and other transform operations.Angles Dataset
BlendBlend mode values for background and mix blend mode, compositing.Blend Dataset
BorderBorder property values for styling borders.Border Dataset
ColorsColor value tokens for consistent color theming.Colors Dataset
FilterFilter effect values for visual effects.Filter Dataset
Flex-GridLayout values for flexbox and CSS grid systems.Flex-Grid Dataset
FlowBezier-curvers for animation and transition properties.Flow Dataset
Global ValuesGlobal CSS values used across all properties.Global Values Dataset
NumbersNumeric value tokens for dimensions and quantities.Numbers Dataset
SpacingSpacing value tokens for padding, margin and other properties.Spacing Dataset
TimeTime value tokens for animation and transition timing.Time Dataset