UNPKG

@atlaskit/editor-common

Version:

A package that contains common classes and components for editor and renderer

23 lines (22 loc) 643 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _editorUgcTokenNames = require("./editor-ugc-token-names"); function editorUGCToken(path, typographyTheme) { var token; switch (typographyTheme) { case 'typography-modernized': token = _editorUgcTokenNames.editorUGCTokensModernized[path]; break; case 'typography-refreshed': token = _editorUgcTokenNames.editorUGCTokensRefreshed[path]; break; default: token = _editorUgcTokenNames.editorUGCTokens[path]; break; } return token; } var _default = exports.default = editorUGCToken;