Skip to content

Commit 5368e80

Browse files
committed
Fix REPL colors
1 parent 09557d8 commit 5368e80

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

docs/.vitepress/theme/custom.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@
2323
hsl(358 58% 47% / 80%)
2424
);
2525
--vp-home-hero-image-filter: blur(40px);
26+
27+
--vp-c-gray-light-3: #d1d1d1;
28+
--vp-c-gray-light-5: #f2f2f2;
29+
--vp-c-gray-dark-2: #484848;
30+
--vp-c-gray-dark-3: #3a3a3a;
31+
2632
}
2733

2834
@media (min-width: 640px) {

docs/repl/components/BundleOptions.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ const getLinkForOption = (option: string) =>
8181
--bg-inactive: var(--vp-c-gray-light-3);
8282
--bg-active: var(--vp-c-bg);
8383
--bg-default: var(--vp-c-gray-light-5);
84-
border: 1px solid var(--vp-c-divider-light);
84+
border: 1px solid var(--vp-c-divider);
8585
line-height: 2rem;
8686
background-color: var(--bg-default);
8787
border-radius: 8px;
@@ -90,7 +90,6 @@ const getLinkForOption = (option: string) =>
9090
.dark .options {
9191
--bg-inactive: var(--vp-c-gray-dark-3);
9292
--bg-default: var(--vp-c-bg);
93-
background-color: var(--bg-default);
9493
}
9594
9695
h3 {

docs/repl/helpers/editor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const theme = EditorView.baseTheme({
6666
backgroundColor: 'var(--vp-code-block-bg)',
6767
border: 'none',
6868
borderBottomLeftRadius: '8px',
69-
borderRight: '1px solid var(--vp-c-divider-dark-2)',
69+
borderRight: '1px solid var(--vp-code-block-divider-color)',
7070
borderTopLeftRadius: '8px',
7171
color: 'var(--vp-code-line-number-color)',
7272
minWidth: '32px'

0 commit comments

Comments
 (0)