mframe-core-pkg
v1.4.0
Published
Core library for Mframe semantic color and typography system.
Maintainers
Readme
Mframe Core
This package contains the core logic for the Mframe semantic color and typography system. It includes the generation engines, token definitions, CLI, and utility functions.
Installation
npm install mframe-core
# or
yarn add mframe-coreUsage
See the main project README and documentation for detailed usage instructions.
import { Mframe } from 'mframe-core';
const mframe = new Mframe([
{ id: 'my-brand', surfaceElevatedHue: 210, surfaceForegroundSaturation: 10, accentHue: 280 }
]);
const css = mframe.generateAllCSS();
console.log(css);