rme 0.1.16 → 0.1.17
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 +7 -3
- package/dist/index.mjs.map +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -450,6 +450,7 @@ declare const darkTheme: {
|
|
|
450
450
|
contextMenuBgColor: string;
|
|
451
451
|
contextMenuBgColorHover: string;
|
|
452
452
|
slashMenuBorderColor: string;
|
|
453
|
+
editorToolbarBgColor: string;
|
|
453
454
|
lineHeightBase: string;
|
|
454
455
|
titleBarHeight: string;
|
|
455
456
|
titleBarControlBtnWidth: string;
|
|
@@ -514,6 +515,7 @@ declare const lightTheme: {
|
|
|
514
515
|
contextMenuBgColor: string;
|
|
515
516
|
contextMenuBgColorHover: string;
|
|
516
517
|
slashMenuBorderColor: string;
|
|
518
|
+
editorToolbarBgColor: string;
|
|
517
519
|
lineHeightBase: string;
|
|
518
520
|
titleBarHeight: string;
|
|
519
521
|
titleBarControlBtnWidth: string;
|
package/dist/index.mjs
CHANGED
|
@@ -4467,7 +4467,8 @@ var styledDarkTheme = {
|
|
|
4467
4467
|
// components
|
|
4468
4468
|
contextMenuBgColor: "#1E1F20",
|
|
4469
4469
|
contextMenuBgColorHover: "#2D3134",
|
|
4470
|
-
slashMenuBorderColor: "rgb(38 38 38 / 1)"
|
|
4470
|
+
slashMenuBorderColor: "rgb(38 38 38 / 1)",
|
|
4471
|
+
editorToolbarBgColor: "#1b1b1b"
|
|
4471
4472
|
};
|
|
4472
4473
|
|
|
4473
4474
|
// src/editor/theme/light.ts
|
|
@@ -4512,7 +4513,8 @@ var styledLightTheme = {
|
|
|
4512
4513
|
// components
|
|
4513
4514
|
contextMenuBgColor: "#f6f7f9",
|
|
4514
4515
|
contextMenuBgColorHover: "#E8E8EC",
|
|
4515
|
-
slashMenuBorderColor: "rgb(229 229 229 / 1)"
|
|
4516
|
+
slashMenuBorderColor: "rgb(229 229 229 / 1)",
|
|
4517
|
+
editorToolbarBgColor: "#EBEBEC"
|
|
4516
4518
|
};
|
|
4517
4519
|
|
|
4518
4520
|
// src/editor/theme/WysiwygThemeWrapper.tsx
|
|
@@ -20317,6 +20319,7 @@ var Container5 = styled12(AriaKit.ToolbarItem)`
|
|
|
20317
20319
|
padding: 6px;
|
|
20318
20320
|
border: none;
|
|
20319
20321
|
font-size: 1em;
|
|
20322
|
+
color: ${(props) => props.disabled ? props.theme.labelFontColor : props.theme.primaryFontColor};
|
|
20320
20323
|
background-color: transparent;
|
|
20321
20324
|
|
|
20322
20325
|
&:hover {
|
|
@@ -20701,7 +20704,8 @@ var ToolBar = styled13(AriaKit2.Toolbar)`
|
|
|
20701
20704
|
align-items: center;
|
|
20702
20705
|
gap: 0.25rem;
|
|
20703
20706
|
font-size: ${(props) => props.theme.fontSize};
|
|
20704
|
-
|
|
20707
|
+
color: ${(props) => props.theme.primaryFontColor};
|
|
20708
|
+
background-color: ${(props) => props.theme.editorToolbarBgColor};
|
|
20705
20709
|
`;
|
|
20706
20710
|
var ToolbarSeparator = styled13(AriaKit2.ToolbarSeparator)`
|
|
20707
20711
|
height: 0.5em;
|