@lobehub/ui 1.14.1 → 1.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/DraggablePanel/style.js +1 -1
- package/es/Highlighter/theme.js +282 -283
- package/es/StroyBook/index.js +10 -7
- package/es/StroyBook/style.d.ts +1 -0
- package/es/StroyBook/style.js +3 -2
- package/es/styles/algorithms/generateColorPalette.js +4 -4
- package/es/styles/algorithms/generateCustomStylish.js +1 -1
- package/es/styles/algorithms/generateCustomToken.js +3 -2
- package/es/styles/colors.js +2 -2
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ var toggleLength = 40;
|
|
|
6
6
|
var toggleShort = 16;
|
|
7
7
|
export var useStyle = createStyles(function (_ref, prefix) {
|
|
8
8
|
var token = _ref.token;
|
|
9
|
-
var commonHandle = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: relative;\n &::before {\n content: '';\n position: absolute;\n z-index: 50;\n transition: all 0.2s ", ";\n }\n\n &:hover,\n &:active {\n &::before {\n background: ", ";\n }\n }\n "])), token.motionEaseOut, token.colorPrimary);
|
|
9
|
+
var commonHandle = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: relative;\n &::before {\n content: '';\n position: absolute;\n z-index: 50;\n transition: all 0.2s ", ";\n }\n\n &:hover,\n &:active {\n &::before {\n background: ", " !important;\n }\n }\n "])), token.motionEaseOut, token.colorPrimary);
|
|
10
10
|
var commonToggle = css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n position: absolute;\n z-index: 1001;\n opacity: 0;\n transition: all 0.2s ", ";\n\n &:hover {\n opacity: 1 !important;\n }\n\n &:active {\n opacity: 1 !important;\n }\n\n > div {\n cursor: pointer;\n\n position: absolute;\n\n color: ", ";\n\n background: ", ";\n border-color: ", ";\n border-style: solid;\n border-width: 1px;\n border-radius: 4px;\n\n transition: all 0.2s ", ";\n\n &:hover {\n color: ", ";\n background: ", ";\n }\n\n &:active {\n color: ", ";\n background: ", ";\n }\n }\n "])), token.motionEaseOut, token.colorTextTertiary, token.colorFillTertiary, token.colorBorderSecondary, token.motionEaseOut, token.colorTextSecondary, token.colorFillSecondary, token.colorText, token.colorFill);
|
|
11
11
|
var float = css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n position: absolute;\n z-index: 2000;\n "])));
|
|
12
12
|
return {
|