@uiw/codemirror-themes 4.14.0 → 4.14.1

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.
Files changed (2) hide show
  1. package/README.md +8 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -236,19 +236,21 @@ export interface Settings {
236
236
  /** Default text color. */
237
237
  foreground: string;
238
238
  /** Caret color. */
239
- caret: string;
239
+ caret?: string;
240
240
  /** Selection background. */
241
- selection: string;
241
+ selection?: string;
242
242
  /** Selection match background. */
243
243
  selectionMatch?: string;
244
244
  /** Background of highlighted lines. */
245
- lineHighlight: string;
245
+ lineHighlight?: string;
246
246
  /** Gutter background. */
247
- gutterBackground: string;
247
+ gutterBackground?: string;
248
248
  /** Text color inside gutter. */
249
- gutterForeground: string;
249
+ gutterForeground?: string;
250
+ /** Text active color inside gutter. */
251
+ gutterActiveForeground?: string;
250
252
  /** Gutter right border color. */
251
- gutterBorder: string;
253
+ gutterBorder?: string;
252
254
  }
253
255
  declare const createTheme: ({ dark, settings, styles }: CreateThemeOptions) => Extension;
254
256
  export default createTheme;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uiw/codemirror-themes",
3
- "version": "4.14.0",
3
+ "version": "4.14.1",
4
4
  "description": "Themes for CodeMirror.",
5
5
  "homepage": "https://uiwjs.github.io/react-codemirror/#/theme/doc",
6
6
  "author": "kenny wong <wowohoo@qq.com>",