Skip to content

Commit

Permalink
fix: highlight colors
Browse files Browse the repository at this point in the history
  • Loading branch information
notmedia committed Dec 3, 2022
1 parent c4c15a6 commit c1f8982
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/components/code-editor/code-editor.styled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const StyledCodeMirror = styled(CodeMirror, {
},

'.cm-activeLine': {
backgroundColor: '$accents1',
backgroundColor: '$activeLine',
},

'.cm-selectionMatch': {
Expand Down
3 changes: 2 additions & 1 deletion src/app/themes/dark.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ export const DarkTheme = createTheme({
colors: {
background: '#202225',
backgroundContrast: '#292b2f',
selection: 'rgb(49, 54, 62)',
selection: 'rgb(75, 75, 75)',
activeLine: 'rgba(22, 24, 26, 0.5)',
ezy: '#acc917',
gradient: 'linear-gradient(112deg, #acc917 -25%, #4f680f 90%)',
},
Expand Down
1 change: 1 addition & 0 deletions src/app/themes/light.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export const LightTheme = createTheme({
type: 'light',
theme: {
colors: {
activeLine: 'rgba(232, 232, 232, 0.5)',
ezy: '#acc917',
gradient: 'linear-gradient(112deg, #acc917 -25%, #4f680f 90%)',
},
Expand Down

0 comments on commit c1f8982

Please sign in to comment.