@scalar/use-codemirror 0.11.34 → 0.11.35

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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @scalar/use-codemirror
2
2
 
3
+ ## 0.11.35
4
+
5
+ ### Patch Changes
6
+
7
+ - 0c07766: fix: sets selection style properly"
8
+ - Updated dependencies [b5c1982]
9
+ - Updated dependencies [7f1bd17]
10
+ - @scalar/components@0.12.68
11
+
3
12
  ## 0.11.34
4
13
 
5
14
  ### Patch Changes
@@ -161,10 +161,6 @@ function x({
161
161
  background: "var(--scalar-background-1)",
162
162
  border: "none",
163
163
  fontFamily: "var(--scalar-font)"
164
- },
165
- ".cm-line::selection": {
166
- background: "var(--scalar-selection-background) !important",
167
- color: "var(--scalar-selection-color)"
168
164
  }
169
165
  }),
170
166
  // Listen to updates
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/themes/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW,uCAsFtB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/themes/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW,uCAqFtB,CAAA"}
@@ -7,7 +7,6 @@ const c = r({
7
7
  foreground: "var(--scalar-color-1)",
8
8
  caret: "var(--scalar-color-1)",
9
9
  // Selection likely needs a hardcoded color due to it not accepting variables
10
- selection: "rgba(151, 183, 205, 0.2)",
11
10
  selectionMatch: "#e3dcce",
12
11
  gutterBackground: "var(--scalar-background-2)",
13
12
  gutterForeground: "var(--scalar-color-3)",
package/package.json CHANGED
@@ -16,7 +16,7 @@
16
16
  "vue",
17
17
  "vue3"
18
18
  ],
19
- "version": "0.11.34",
19
+ "version": "0.11.35",
20
20
  "engines": {
21
21
  "node": ">=18"
22
22
  },
@@ -53,7 +53,7 @@
53
53
  "@uiw/codemirror-themes": "^4.21.21",
54
54
  "codemirror": "^6.0.0",
55
55
  "vue": "^3.5.12",
56
- "@scalar/components": "0.12.67"
56
+ "@scalar/components": "0.12.68"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@vitejs/plugin-vue": "^5.0.4",