Skip to content

Commit

Permalink
css: highlight comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ice1000 committed Dec 10, 2024
1 parent 35f1783 commit 636079b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/.vitepress/theme/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
--Aya-Field: #a021ef;
--Aya-PlainText: var(--vp-c-text-1);
--Aya-HoverBg: #edebfc;
--Aya-Comment: #6f6f6f;
}

.dark {
Expand All @@ -36,6 +37,7 @@
--Aya-Field: #d2a8ff;
--Aya-PlainText: var(--vp-c-text-1);
--Aya-HoverBg: #344134;
--Aya-Comment: #8f8f8f;
}

/* Overwrite the hover background for dark mode */
Expand Down Expand Up @@ -70,6 +72,9 @@
.Aya .Field {
color: var(--Aya-Field);
}
.Aya .Comment {
color: var(--Aya-Comment);
}

/**
* Colors
Expand Down

0 comments on commit 636079b

Please sign in to comment.