UNPKG

@aplus-frontend/ui

Version:

2 lines (1 loc) 560 B
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("../../style/index.js"),i=require("../../utils/cssinjs/index.js"),g=e=>({[e.componentCls]:{...o.resetComponent(e),[`${e.componentCls}__keywords`]:{color:e.highlightKeywordsColor,background:e.highlightKeywordsBackground,paddingInline:e.highlightKeywordsPadding}}}),r=i.genComponentStyleHook("Highlight",e=>[g(e)],{highlightKeywordsColor:"#faad14",highlightKeywordsBackground:"transparent",highlightKeywordsPadding:2});exports.default=r;