@dxos/react-ui-editor 0.3.11-main.ea1c9ce → 0.3.11-main.ee2b64c
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.
|
@@ -1074,11 +1074,25 @@ var logChanges = (trs) => {
|
|
|
1074
1074
|
|
|
1075
1075
|
// packages/ui/react-ui-editor/src/extensions/comments.ts
|
|
1076
1076
|
var styles2 = EditorView5.baseTheme({
|
|
1077
|
-
"& .cm-comment": {
|
|
1077
|
+
"&light .cm-comment, &light .cm-comment-current": {
|
|
1078
|
+
mixBlendMode: "darken"
|
|
1079
|
+
},
|
|
1080
|
+
"&dark .cm-comment, &dark .cm-comment-current": {
|
|
1081
|
+
mixBlendMode: "plus-lighter"
|
|
1082
|
+
},
|
|
1083
|
+
"&light .cm-comment": {
|
|
1078
1084
|
backgroundColor: getToken("extend.colors.yellow.50")
|
|
1079
1085
|
},
|
|
1080
|
-
"& .cm-comment-current": {
|
|
1086
|
+
"&light .cm-comment-current": {
|
|
1081
1087
|
backgroundColor: getToken("extend.colors.yellow.100")
|
|
1088
|
+
},
|
|
1089
|
+
"&dark .cm-comment": {
|
|
1090
|
+
color: getToken("extend.colors.yellow.50"),
|
|
1091
|
+
backgroundColor: getToken("extend.colors.yellow.900")
|
|
1092
|
+
},
|
|
1093
|
+
"&dark .cm-comment-current": {
|
|
1094
|
+
color: getToken("extend.colors.yellow.100"),
|
|
1095
|
+
backgroundColor: getToken("extend.colors.yellow.950")
|
|
1082
1096
|
}
|
|
1083
1097
|
});
|
|
1084
1098
|
var commentMark = Decoration2.mark({
|
|
@@ -2591,11 +2605,11 @@ var defaultTheme = {
|
|
|
2591
2605
|
fontSize: "16px"
|
|
2592
2606
|
},
|
|
2593
2607
|
"&light .cm-content": {
|
|
2594
|
-
color: get3(tokens, "extend.
|
|
2608
|
+
color: get3(tokens, "extend.semanticColors.base.fg.light", "black"),
|
|
2595
2609
|
caretColor: "black"
|
|
2596
2610
|
},
|
|
2597
2611
|
"&dark .cm-content": {
|
|
2598
|
-
color: get3(tokens, "extend.
|
|
2612
|
+
color: get3(tokens, "extend.semanticColors.base.fg.dark", "white"),
|
|
2599
2613
|
caretColor: "white"
|
|
2600
2614
|
},
|
|
2601
2615
|
//
|