Skip to content

Commit 47bc8d4

Browse files
committed
fix:#258: modified backtick css in light mode
1 parent 45cafd0 commit 47bc8d4

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

docs/.vitepress/theme/style.css

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -685,16 +685,16 @@ code:hover {
685685

686686
/* Markdown Labels like NODE_ENV */
687687
:not(pre) > code {
688-
background-color: rgba(40, 44, 52, 0.95) !important;
689-
color: #f0f0f0 !important;
690-
-webkit-text-fill-color: #f0f0f0 !important;
691-
font-weight: 500 !important;
692-
padding: 4px 8px !important;
688+
background-color: rgba(40, 44, 52, 0) !important;
689+
color: rgba(185, 185, 185, 0.795) !important;
690+
-webkit-text-fill-color: rgba(95, 95, 95, 0.795) !important;
691+
font-weight: 600 !important;
692+
padding: 4px 4px !important;
693693
border-radius: 6px !important;
694694
font-size: 0.7em !important;
695-
border: 1px solid rgba(255, 255, 255, 0.15) !important;
696-
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2),
697-
0 0 2px rgba(255, 255, 255, 0.05) !important;
695+
border: 1px solid rgba(185, 185, 185, 0.795) !important;
696+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1),
697+
0 0 1px rgba(255, 255, 255, 0.05) !important;
698698
margin: 0 3px !important;
699699
/* text-transform: uppercase !important; */
700700
letter-spacing: 0.02em !important;
@@ -703,7 +703,7 @@ code:hover {
703703

704704
/* Dark mode adjustments */
705705
.dark :not(pre) > code {
706-
background-color: rgba(50, 50, 60, 0.95) !important;
706+
background-color: rgb(50, 50, 60) !important;
707707
color: #ffffff !important;
708708
-webkit-text-fill-color: #ffffff !important;
709709
border-color: rgba(255, 255, 255, 0.2) !important;

0 commit comments

Comments
 (0)