style-dictionary
Version:
Style once, use everywhere. A build system for creating cross-platform styles.
58 lines (57 loc) • 2.32 kB
TypeScript
export namespace transforms {
let attributeCti: "attribute/cti";
let attributeColor: "attribute/color";
let nameHuman: "name/human";
let nameCamel: "name/camel";
let nameKebab: "name/kebab";
let nameSnake: "name/snake";
let nameConstant: "name/constant";
let namePascal: "name/pascal";
let colorRgb: "color/rgb";
let colorHsl: "color/hsl";
let colorHsl4: "color/hsl-4";
let colorHex: "color/hex";
let colorHex8: "color/hex8";
let colorHex8android: "color/hex8android";
let colorComposeColor: "color/composeColor";
let colorUIColor: "color/UIColor";
let colorUIColorSwift: "color/UIColorSwift";
let colorColorSwiftUI: "color/ColorSwiftUI";
let colorCss: "color/css";
let colorSketch: "color/sketch";
let sizeSp: "size/sp";
let sizeDp: "size/dp";
let sizeObject: "size/object";
let sizeRemToSp: "size/remToSp";
let sizeRemToDp: "size/remToDp";
let sizePx: "size/px";
let sizeRem: "size/rem";
let sizeRemToPt: "size/remToPt";
let sizeComposeRemToSp: "size/compose/remToSp";
let sizeComposeRemToDp: "size/compose/remToDp";
let sizeComposeEm: "size/compose/em";
let sizeSwiftRemToCGFloat: "size/swift/remToCGFloat";
let sizeRemToPx: "size/remToPx";
let sizePxToRem: "size/pxToRem";
let htmlIcon: "html/icon";
let contentQuote: "content/quote";
let contentObjCLiteral: "content/objC/literal";
let contentSwiftLiteral: "content/swift/literal";
let timeSeconds: "time/seconds";
let fontFamilyCss: "fontFamily/css";
let cubicBezierCss: "cubicBezier/css";
let strokeStyleCssShorthand: "strokeStyle/css/shorthand";
let borderCssShorthand: "border/css/shorthand";
let typographyCssShorthand: "typography/css/shorthand";
let transitionCssShorthand: "transition/css/shorthand";
let shadowCssShorthand: "shadow/css/shorthand";
let assetUrl: "asset/url";
let assetBase64: "asset/base64";
let assetPath: "asset/path";
let assetObjCLiteral: "asset/objC/literal";
let assetSwiftLiteral: "asset/swift/literal";
let colorHex8flutter: "color/hex8flutter";
let contentFlutterLiteral: "content/flutter/literal";
let assetFlutterLiteral: "asset/flutter/literal";
let sizeFlutterRemToDouble: "size/flutter/remToDouble";
}