Skip to content

Commit 7b89c98

Browse files
authored
fix(docs theme): fix docs brand color (#40)
1 parent 4ffa065 commit 7b89c98

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

docs/.vitepress/theme/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import './style.css';
44
import 'virtual:group-icons.css';
5-
import './style.css';
65

76
import Trito from 'vitepress-theme-trito';
87
export default Trito;

docs/.vitepress/theme/style.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
--vp-c-orange-2: #ff9626;
44
--vp-c-orange-1: #ff6f0f;
55
--vp-c-orange-soft: rgba(255, 191, 0, 0.16);
6+
7+
--vp-c-brand-1: var(--vp-c-orange-1) !important;
8+
--vp-c-brand-2: var(--vp-c-orange-2) !important;
9+
--vp-c-brand-3: var(--vp-c-orange-3) !important;
10+
--vp-c-brand-soft: var(--vp-c-orange-soft) !important;
611
}
712

813
html.dark {

0 commit comments

Comments
 (0)