rme 0.0.29 → 0.0.30
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/dist/index.d.ts +2 -0
- package/dist/index.mjs +6 -4
- package/dist/index.mjs.map +2 -2
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -319,6 +319,7 @@ declare const darkTheme: {
|
|
|
319
319
|
codeBgColor: string;
|
|
320
320
|
preBgColor: string;
|
|
321
321
|
contextMenuBgColor: string;
|
|
322
|
+
contextMenuBgColorHover: string;
|
|
322
323
|
lineHeightBase: string;
|
|
323
324
|
titleBarHeight: string;
|
|
324
325
|
titleBarControlBtnWidth: string;
|
|
@@ -379,6 +380,7 @@ declare const lightTheme: {
|
|
|
379
380
|
codeBgColor: string;
|
|
380
381
|
preBgColor: string;
|
|
381
382
|
contextMenuBgColor: string;
|
|
383
|
+
contextMenuBgColorHover: string;
|
|
382
384
|
lineHeightBase: string;
|
|
383
385
|
titleBarHeight: string;
|
|
384
386
|
titleBarControlBtnWidth: string;
|
package/dist/index.mjs
CHANGED
|
@@ -6803,7 +6803,8 @@ var styledDarkTheme = {
|
|
|
6803
6803
|
codeBgColor: "#6e768166",
|
|
6804
6804
|
preBgColor: "#161b22",
|
|
6805
6805
|
// components
|
|
6806
|
-
contextMenuBgColor: "#
|
|
6806
|
+
contextMenuBgColor: "#1E1F20",
|
|
6807
|
+
contextMenuBgColorHover: "#1552B3"
|
|
6807
6808
|
};
|
|
6808
6809
|
|
|
6809
6810
|
// src/editor/theme/light.ts
|
|
@@ -6838,7 +6839,8 @@ var styledLightTheme = {
|
|
|
6838
6839
|
codeBgColor: "#afb8c133",
|
|
6839
6840
|
preBgColor: "#f6f8fa",
|
|
6840
6841
|
// components
|
|
6841
|
-
contextMenuBgColor: "#f6f7f9"
|
|
6842
|
+
contextMenuBgColor: "#f6f7f9",
|
|
6843
|
+
contextMenuBgColorHover: "#1552B3"
|
|
6842
6844
|
};
|
|
6843
6845
|
|
|
6844
6846
|
// src/editor/theme/WysiwygThemeWrapper.tsx
|
|
@@ -16702,14 +16704,14 @@ var MenuItem2 = styled10.li.attrs((props) => ({
|
|
|
16702
16704
|
outline: none !important;
|
|
16703
16705
|
|
|
16704
16706
|
&:hover {
|
|
16705
|
-
background-color: ${(props) => props.theme.
|
|
16707
|
+
background-color: ${(props) => props.theme.contextMenuBgColorHover};
|
|
16706
16708
|
color: hsl(204 20% 100%);
|
|
16707
16709
|
}
|
|
16708
16710
|
|
|
16709
16711
|
${(p) => {
|
|
16710
16712
|
if (p.selected) {
|
|
16711
16713
|
return css6`
|
|
16712
|
-
background-color: ${(props) => props.theme.
|
|
16714
|
+
background-color: ${(props) => props.theme.contextMenuBgColorHover};
|
|
16713
16715
|
color: hsl(204 20% 100%);
|
|
16714
16716
|
`;
|
|
16715
16717
|
}
|