UNPKG

@chakra-v2/styled-system

Version:

Style function for css-in-js building component libraries

8 lines (5 loc) 156 B
'use strict'; function getCSSVar(theme, scale, value) { return theme.__cssMap?.[`${scale}.${value}`]?.varRef ?? value; } exports.getCSSVar = getCSSVar;