UNPKG

@primer/react

Version:

An implementation of GitHub's Primer Design System using React

9 lines (8 loc) 226 B
import "lodash.isempty"; import "lodash.isobject"; //#region src/utils/theme.ts function fontStack(fonts) { return fonts.map((font) => font.includes(" ") ? `"${font}"` : font).join(", "); } //#endregion export { fontStack };