Skip to content

Commit d233183

Browse files
committed
style(theme): modify abcdef/abyss/androidstudio/andromeda/atomone/aura/basic selection color. (#609)
1 parent eb3af94 commit d233183

File tree

18 files changed

+30
-16
lines changed

18 files changed

+30
-16
lines changed

core/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
# react-codemirror
88

99
[![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor)
10-
[![jsdelivr CDN](https://data.jsdelivr.com/v1/package/npm/@uiw/react-codemirror/badge)](https://www.jsdelivr.com/package/npm/@uiw/react-codemirror)
1110
[![NPM Downloads](https://img.shields.io/npm/dm/@uiw/react-codemirror.svg?style=flat)](https://www.npmjs.com/package/@uiw/react-codemirror)
1211
[![Build & Deploy](https://github.com/uiwjs/react-codemirror/actions/workflows/ci.yml/badge.svg)](https://github.com/uiwjs/react-codemirror/actions)
1312
[![Open in unpkg](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@uiw/react-codemirror/file/README.md)

themes/abcdef/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "4.21.20",
44
"description": "Theme abcdef for CodeMirror.",
55
"homepage": "https://uiwjs.github.io/react-codemirror/#/theme/data/abcdef",
6+
"funding": "https://jaywcjlove.github.io/#/sponsor",
67
"author": "kenny wong <[email protected]>",
78
"license": "MIT",
89
"main": "./cjs/index.js",

themes/abcdef/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const defaultSettingsAbcdef: CreateThemeOptions['settings'] = {
1414
selectionMatch: '#515151',
1515
gutterBackground: '#555',
1616
gutterForeground: '#FFFFFF',
17-
lineHighlight: '#314151',
17+
lineHighlight: '#0a6bcb3d',
1818
};
1919

2020
export const abcdefInit = (options?: Partial<CreateThemeOptions>) => {

themes/abyss/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "4.21.20",
44
"description": "Theme abyss for CodeMirror.",
55
"homepage": "https://uiwjs.github.io/react-codemirror/#/theme/data/abyss",
6+
"funding": "https://jaywcjlove.github.io/#/sponsor",
67
"author": "kenny wong <[email protected]>",
78
"license": "MIT",
89
"main": "./cjs/index.js",

themes/abyss/src/color.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export const config = {
55
selectionMatch: '#770811',
66
cursor: '#ddbb88',
77
dropdownBackground: '#181f2f',
8-
activeLine: '#082050',
8+
activeLine: '#0055ff30',
99
matchingBracket: '#082050',
1010
keyword: '#225588',
1111
storage: '#225588',

themes/all/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "4.21.20",
44
"description": "Themes all for CodeMirror 6.",
55
"homepage": "https://uiwjs.github.io/react-codemirror/#/theme/data/abcdef",
6+
"funding": "https://jaywcjlove.github.io/#/sponsor",
67
"author": "kenny wong <[email protected]>",
78
"license": "MIT",
89
"main": "./cjs/index.js",

themes/androidstudio/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "4.21.20",
44
"description": "Theme androidstudio for CodeMirror.",
55
"homepage": "https://uiwjs.github.io/react-codemirror/#/theme/data/androidstudio",
6+
"funding": "https://jaywcjlove.github.io/#/sponsor",
67
"author": "kenny wong <[email protected]>",
78
"license": "MIT",
89
"main": "./cjs/index.js",

themes/androidstudio/src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ export const defaultSettingsAndroidstudio: CreateThemeOptions['settings'] = {
88
background: '#282b2e',
99
foreground: '#a9b7c6',
1010
caret: '#00FF00',
11-
selection: '#343739',
12-
selectionMatch: '#343739',
13-
lineHighlight: '#343739',
11+
selection: '#4e5254',
12+
selectionMatch: '#4e5254',
13+
lineHighlight: '#7f85891f',
1414
};
1515

1616
export const androidstudioInit = (options?: Partial<CreateThemeOptions>) => {

themes/andromeda/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "4.21.20",
44
"description": "Theme andromeda for CodeMirror.",
55
"homepage": "https://uiwjs.github.io/react-codemirror/#/theme/data/andromeda",
6+
"funding": "https://jaywcjlove.github.io/#/sponsor",
67
"author": "kenny wong <[email protected]>",
78
"license": "MIT",
89
"main": "./cjs/index.js",

themes/andromeda/src/color.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
export const config = {
22
background: '#23262E',
33
foreground: '#D5CED9',
4-
selection: '#4F4355',
4+
selection: '#db45a280',
55
selectionMatch: '#db45a280',
66
cursor: '#FFF',
77
dropdownBackground: '#2b303b',
88
dropdownBorder: '#363c49',
9-
activeLine: '#2e323d',
9+
activeLine: '#596a992e',
1010
matchingBracket: '#746f77',
1111
keyword: '#c74ded',
1212
storage: '#c74ded',

0 commit comments

Comments
 (0)