Skip to content

Commit

Permalink
docs: improve the docs repl appearance in the light mode (#5145)
Browse files Browse the repository at this point in the history
Improve the docs repl appearance in the light mode
  • Loading branch information
TrickyPi committed Sep 21, 2023
1 parent 5950fc8 commit 1e8355b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions docs/repl/components/ReplModule.vue
Expand Up @@ -60,7 +60,7 @@ const selectName = (event: FocusEvent) => {
header {
width: 100%;
color: var(--vp-c-text-dark-1);
color: var(--vp-c-text-1);
position: relative;
font-weight: 600;
}
Expand Down Expand Up @@ -96,13 +96,13 @@ input {
}
input:hover {
border-color: var(--vp-c-gray-dark-2);
background-color: var(--vp-c-gray-dark-3);
border-color: var(--vp-c-gray-2);
background-color: var(--vp-c-gray-3);
}
input:focus {
border-color: var(--vp-c-gray-dark-2);
background-color: var(--vp-c-gray-dark-2);
border-color: var(--vp-c-gray-2);
background-color: var(--vp-c-gray-2);
}
.entry-module input {
Expand Down
2 changes: 1 addition & 1 deletion docs/repl/helpers/editor.ts
Expand Up @@ -54,7 +54,7 @@ const theme = EditorView.baseTheme({
outline: 'none'
},
'.cm-content': {
caretColor: '#fff',
caretColor: 'var(--vp-c-neutral)',
color: '#A6ACCD',
fontFamily: 'var(--vp-font-family-mono)',
fontSize: '14px',
Expand Down

1 comment on commit 1e8355b

@vercel
Copy link

@vercel vercel bot commented on 1e8355b Sep 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.