Skip to content

Commit

Permalink
style(theme): modify basic/copilot/bespin selection color. (#609)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Nov 26, 2023
1 parent 399d127 commit eb3af94
Show file tree
Hide file tree
Showing 46 changed files with 46 additions and 58 deletions.
1 change: 1 addition & 0 deletions core/package.json
Expand Up @@ -3,6 +3,7 @@
"version": "4.21.20",
"description": "CodeMirror component for React.",
"homepage": "https://uiwjs.github.io/react-codemirror",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions extensions/basic-setup/package.json
Expand Up @@ -3,6 +3,7 @@
"version": "4.21.20",
"description": "Basic configuration for the CodeMirror6 code editor.",
"homepage": "https://uiwjs.github.io/react-codemirror/#/extensions/basic-setup",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions extensions/classname/package.json
Expand Up @@ -3,6 +3,7 @@
"version": "4.21.20",
"description": "Adding a class for a specific line for CodeMirror6.",
"homepage": "https://uiwjs.github.io/react-codemirror/#/extensions/classname",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions extensions/color/package.json
Expand Up @@ -3,6 +3,7 @@
"version": "4.21.20",
"description": "Color Extensions for CodeMirror6.",
"homepage": "https://uiwjs.github.io/react-codemirror/#/extensions/color",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions extensions/events/package.json
Expand Up @@ -3,6 +3,7 @@
"version": "4.21.20",
"description": "Events Extensions for CodeMirror6.",
"homepage": "https://uiwjs.github.io/react-codemirror/#/extensions/events",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions extensions/hyper-link/package.json
Expand Up @@ -3,6 +3,7 @@
"version": "4.21.20",
"description": "Hyper link Extensions for CodeMirror6.",
"homepage": "https://uiwjs.github.io/react-codemirror/#/extensions/hyper-link",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions extensions/langs/package.json
Expand Up @@ -3,6 +3,7 @@
"version": "4.21.20",
"description": "Load languages Extensions for CodeMirror6.",
"homepage": "https://uiwjs.github.io/react-codemirror/#/extensions/languages",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions extensions/line-numbers-relative/package.json
Expand Up @@ -3,6 +3,7 @@
"version": "4.21.20",
"description": "Relative line numbers Extensions for CodeMirror6.",
"homepage": "https://uiwjs.github.io/react-codemirror/#/extensions/line-numbers-relative",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions extensions/mentions/package.json
Expand Up @@ -3,6 +3,7 @@
"version": "4.21.20",
"description": "Relative line numbers Extensions for CodeMirror6.",
"homepage": "https://uiwjs.github.io/react-codemirror/#/extensions/mentions",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions extensions/zebra-stripes/package.json
Expand Up @@ -3,6 +3,7 @@
"version": "4.21.20",
"description": "Styles alternating lines for CodeMirror6.",
"homepage": "https://uiwjs.github.io/react-codemirror/#/extensions/zebra-stripes",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions merge/package.json
Expand Up @@ -3,6 +3,7 @@
"version": "4.21.20",
"description": "CodeMirror merge view for React.",
"homepage": "https://uiwjs.github.io/react-codemirror",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions themes/basic/package.json
Expand Up @@ -7,6 +7,7 @@
"license": "MIT",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"exports": {
"./README.md": "./README.md",
".": {
Expand Down
2 changes: 1 addition & 1 deletion themes/basic/src/dark.ts
Expand Up @@ -6,7 +6,7 @@ export const defaultSettingsBasicDark: CreateThemeOptions['settings'] = {
foreground: '#DDDDDD',
caret: '#DDDDDD',
selection: '#202325',
selectionMatch: '#B9D2FF30',
selectionMatch: '#202325',
gutterBackground: '#292d30',
gutterForeground: '#808080',
gutterBorder: '1px solid #ffffff10',
Expand Down
2 changes: 1 addition & 1 deletion themes/basic/src/light.ts
Expand Up @@ -10,7 +10,7 @@ export const defaultSettingsBasicLight: CreateThemeOptions['settings'] = {
gutterBackground: '#eceff4',
gutterForeground: '#2e3440',
gutterBorder: 'none',
lineHighlight: '#eceff4',
lineHighlight: '#02255f11',
};

export const basicLightInit = (options?: Partial<CreateThemeOptions>) => {
Expand Down
1 change: 1 addition & 0 deletions themes/bbedit/package.json
Expand Up @@ -3,6 +3,7 @@
"version": "4.21.20",
"description": "Theme bbedit for CodeMirror.",
"homepage": "https://uiwjs.github.io/react-codemirror/#/theme/data/bbedit",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions themes/bespin/package.json
Expand Up @@ -3,6 +3,7 @@
"version": "4.21.20",
"description": "Theme bespin for CodeMirror.",
"homepage": "https://uiwjs.github.io/react-codemirror/#/theme/data/bespin",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
4 changes: 2 additions & 2 deletions themes/bespin/src/index.ts
Expand Up @@ -12,11 +12,11 @@ export const defaultSettingsBespin: CreateThemeOptions['settings'] = {
background: '#28211c',
foreground: '#9d9b97',
caret: '#797977',
selection: '#36312e',
selection: '#4f382b',
selectionMatch: '#4f382b',
gutterBackground: '#28211c',
gutterForeground: '#666666',
lineHighlight: 'rgba(255, 255, 255, 0.1)',
lineHighlight: '#ffffff1a',
};

export const bespinInit = (options?: Partial<CreateThemeOptions>) => {
Expand Down
1 change: 1 addition & 0 deletions themes/copilot/package.json
Expand Up @@ -3,6 +3,7 @@
"version": "4.21.20",
"description": "Theme copilot for CodeMirror.",
"homepage": "https://uiwjs.github.io/react-codemirror/#/theme/data/copilot",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
4 changes: 2 additions & 2 deletions themes/copilot/src/color.ts
@@ -1,11 +1,11 @@
export const config = {
background: '#232a2f',
foreground: '#939da5',
selection: '#939da530',
selection: '#204062',
selectionMatch: '#204062',
cursor: '#939da5',
dropdownBackground: '#1a2023',
activeLine: '#232a2f',
activeLine: '#4469832b',
matchingBracket: '#204062',
keyword: '#ba8ef7',
storage: '#ba8ef7',
Expand Down
26 changes: 0 additions & 26 deletions themes/copilot/src/dark-color.ts

This file was deleted.

26 changes: 0 additions & 26 deletions themes/copilot/src/light-color.ts

This file was deleted.

1 change: 1 addition & 0 deletions themes/darcula/package.json
Expand Up @@ -3,6 +3,7 @@
"version": "4.21.20",
"description": "Theme darcula for CodeMirror.",
"homepage": "https://uiwjs.github.io/react-codemirror/#/theme/data/darcula",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions themes/dracula/package.json
Expand Up @@ -3,6 +3,7 @@
"version": "4.21.20",
"description": "Theme dracula for CodeMirror.",
"homepage": "https://uiwjs.github.io/react-codemirror/#/theme/data/dracula",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions themes/duotone/package.json
Expand Up @@ -3,6 +3,7 @@
"version": "4.21.20",
"description": "Theme duotone for CodeMirror.",
"homepage": "https://uiwjs.github.io/react-codemirror/#/theme/data/duotone/light",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions themes/eclipse/package.json
Expand Up @@ -3,6 +3,7 @@
"version": "4.21.20",
"description": "Theme eclipse for CodeMirror.",
"homepage": "https://uiwjs.github.io/react-codemirror/#/theme/data/eclipse",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions themes/github/package.json
Expand Up @@ -3,6 +3,7 @@
"version": "4.21.20",
"description": "Theme github for CodeMirror.",
"homepage": "https://uiwjs.github.io/react-codemirror/#/theme/data/github/light",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions themes/gruvbox/package.json
Expand Up @@ -3,6 +3,7 @@
"version": "4.21.20",
"description": "Theme gruvbox-dark for CodeMirror.",
"homepage": "https://uiwjs.github.io/react-codemirror/#/theme/data/gruvbox/dark",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions themes/kimbie/package.json
Expand Up @@ -3,6 +3,7 @@
"version": "4.21.20",
"description": "Theme kimbie for CodeMirror.",
"homepage": "https://uiwjs.github.io/react-codemirror/#/theme/data/kimbie",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions themes/material/package.json
Expand Up @@ -3,6 +3,7 @@
"version": "4.21.20",
"description": "Theme material for CodeMirror.",
"homepage": "https://uiwjs.github.io/react-codemirror/#/theme/data/material",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions themes/monokai-dimmed/package.json
Expand Up @@ -3,6 +3,7 @@
"version": "4.21.20",
"description": "Theme monokai-dimmed for CodeMirror.",
"homepage": "https://uiwjs.github.io/react-codemirror/#/theme/data/monokai-dimmed",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions themes/monokai/package.json
Expand Up @@ -3,6 +3,7 @@
"version": "4.21.20",
"description": "Theme monokai for CodeMirror.",
"homepage": "https://uiwjs.github.io/react-codemirror/#/theme/data/monokai",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions themes/noctis-lilac/package.json
Expand Up @@ -3,6 +3,7 @@
"version": "4.21.20",
"description": "Theme noctis-lilac for CodeMirror.",
"homepage": "https://uiwjs.github.io/react-codemirror/#/theme/data/noctis-lilac",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions themes/nord/package.json
Expand Up @@ -3,6 +3,7 @@
"version": "4.21.20",
"description": "Theme nord for CodeMirror.",
"homepage": "https://uiwjs.github.io/react-codemirror/#/theme/data/nord",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions themes/okaidia/package.json
Expand Up @@ -3,6 +3,7 @@
"version": "4.21.20",
"description": "Theme okaidia for CodeMirror.",
"homepage": "https://uiwjs.github.io/react-codemirror/#/theme/data/okaidia",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions themes/quietlight/package.json
Expand Up @@ -3,6 +3,7 @@
"version": "4.21.20",
"description": "Theme quietlight for CodeMirror.",
"homepage": "https://uiwjs.github.io/react-codemirror/#/theme/data/quietlight",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions themes/red/package.json
Expand Up @@ -3,6 +3,7 @@
"version": "4.21.20",
"description": "Theme red for CodeMirror.",
"homepage": "https://uiwjs.github.io/react-codemirror/#/theme/data/red",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions themes/solarized/package.json
Expand Up @@ -3,6 +3,7 @@
"version": "4.21.20",
"description": "Theme solarized for CodeMirror.",
"homepage": "https://uiwjs.github.io/react-codemirror/#/theme/data/solarized",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions themes/sublime/package.json
Expand Up @@ -3,6 +3,7 @@
"version": "4.21.20",
"description": "Theme sublime for CodeMirror.",
"homepage": "https://uiwjs.github.io/react-codemirror/#/theme/data/sublime",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions themes/theme/package.json
Expand Up @@ -3,6 +3,7 @@
"version": "4.21.20",
"description": "Themes for CodeMirror.",
"homepage": "https://uiwjs.github.io/react-codemirror/#/theme/doc",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions themes/tokyo-night-day/package.json
Expand Up @@ -3,6 +3,7 @@
"version": "4.21.20",
"description": "Theme tokyo-night-day for CodeMirror.",
"homepage": "https://uiwjs.github.io/react-codemirror/#/theme/data/tokyo-night-day",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions themes/tokyo-night-storm/package.json
Expand Up @@ -3,6 +3,7 @@
"version": "4.21.20",
"description": "Theme tokyo-night-storm for CodeMirror.",
"homepage": "https://uiwjs.github.io/react-codemirror/#/theme/data/tokyo-night-storm",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions themes/tokyo-night/package.json
Expand Up @@ -3,6 +3,7 @@
"version": "4.21.20",
"description": "Theme tokyo-night for CodeMirror.",
"homepage": "https://uiwjs.github.io/react-codemirror/#/theme/data/tokyo-night",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions themes/tomorrow-night-blue/package.json
Expand Up @@ -3,6 +3,7 @@
"version": "4.21.20",
"description": "Theme tomorrow-night-blue for CodeMirror.",
"homepage": "https://uiwjs.github.io/react-codemirror/#/theme/data/tomorrow-night-blue",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down

0 comments on commit eb3af94

Please sign in to comment.