@intouchg/theme
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

@intouchg/theme

Theme tools and schemas for the Intouch Design System

Architecture

themeSpec

The themeSpec object describes all available theme properties and their affected style properties. When updating the customThemeProps, you must also update the themeSpec accordingly. See the themeSpec.colors for an example.

ThemeVariant type

The ThemeVariant['styles'] property is a dictionary where each key is a StyleProperty and each value is a ThemeValue['id'], a raw value (i.e. "uppercase"), or an array of either. This flexibility allows for ThemeVariants to contain styles such as textTransform: "uppercase" that don't make sense to store as a ThemeValue.

/@intouchg/theme/

    Package Sidebar

    Install

    npm i @intouchg/theme

    Weekly Downloads

    3

    Version

    0.1.2

    License

    MIT

    Unpacked Size

    47.4 kB

    Total Files

    16

    Last publish

    Collaborators

    • ahamill
    • its-itadmins
    • jacobshepherd