@dxos/react-ui-editor 0.6.3-next.4424131 → 0.6.3-staging.75e3813

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.
@@ -1488,39 +1488,42 @@ var styles3 = EditorView7.baseTheme({
1488
1488
  borderRadius: "2px",
1489
1489
  transition: "background-color 0.1s ease"
1490
1490
  },
1491
- "&light .cm-comment, &light .cm-comment-current": {
1491
+ // Light theme.
1492
+ "&light .cm-comment": {
1493
+ backgroundColor: getToken("extend.colors.yellow.50"),
1492
1494
  mixBlendMode: "darken",
1493
1495
  borderColor: getToken("extend.colors.yellow.100")
1494
1496
  },
1495
- "&dark .cm-comment, &dark .cm-comment-current": {
1496
- mixBlendMode: "plus-lighter",
1497
- borderColor: getToken("extend.colors.yellow.900")
1498
- },
1499
- "&light .cm-comment": {
1500
- backgroundColor: getToken("extend.colors.yellow.50")
1501
- },
1502
1497
  "&light .cm-comment:hover": {
1503
1498
  backgroundColor: getToken("extend.colors.yellow.100")
1504
1499
  },
1505
1500
  "&light .cm-comment-current": {
1506
- backgroundColor: getToken("extend.colors.yellow.100")
1501
+ backgroundColor: getToken("extend.colors.primary.100"),
1502
+ borderColor: getToken("extend.colors.primary.200")
1507
1503
  },
1508
1504
  "&light .cm-comment-current:hover": {
1509
- backgroundColor: getToken("extend.colors.yellow.150")
1505
+ backgroundColor: getToken("extend.colors.primary.150"),
1506
+ borderColor: getToken("extend.colors.primary.250")
1510
1507
  },
1508
+ // Dark theme.
1511
1509
  "&dark .cm-comment": {
1512
1510
  color: getToken("extend.colors.yellow.50"),
1513
- backgroundColor: getToken("extend.colors.yellow.900")
1511
+ backgroundColor: getToken("extend.colors.yellow.800"),
1512
+ borderColor: getToken("extend.colors.yellow.700"),
1513
+ mixBlendMode: "plus-lighter"
1514
1514
  },
1515
1515
  "&dark .cm-comment:hover": {
1516
- backgroundColor: getToken("extend.colors.yellow.800")
1516
+ backgroundColor: getToken("extend.colors.yellow.700"),
1517
+ borderColor: getToken("extend.colors.yellow.650")
1517
1518
  },
1518
1519
  "&dark .cm-comment-current": {
1519
- color: getToken("extend.colors.yellow.100"),
1520
- backgroundColor: getToken("extend.colors.yellow.950")
1520
+ color: getToken("extend.colors.primary.50"),
1521
+ backgroundColor: getToken("extend.colors.primary.800"),
1522
+ borderColor: getToken("extend.colors.primary.700")
1521
1523
  },
1522
1524
  "&dark .cm-comment-current:hover": {
1523
- backgroundColor: getToken("extend.colors.yellow.900")
1525
+ backgroundColor: getToken("extend.colors.primary.700"),
1526
+ borderColor: getToken("extend.colors.primary.650")
1524
1527
  }
1525
1528
  });
1526
1529
  var createCommentMark = (id, isCurrent) => Decoration4.mark({
@@ -1539,7 +1542,7 @@ var commentsDecorations = EditorView7.decorations.compute([
1539
1542
  if (!range) {
1540
1543
  log4.warn("Invalid range:", range, {
1541
1544
  F: __dxlog_file6,
1542
- L: 169,
1545
+ L: 181,
1543
1546
  S: void 0,
1544
1547
  C: (f, a) => f(...a)
1545
1548
  });