bsc

Comprehensive codebase and cou...
Log | Files | Refs | Activity | README | LICENSE

commit e8a59f1746661a6b8c6b78cebfceb286275f9625
parent 5e579070274c0d5e8414923cdddae7e38b0dec49
Author: Amit Dutta <mail@amit.is-a.dev>
Date:   Tue,  4 Aug 2026 08:24:52 +0530

Merge pull request #23 from notamitgamer/edit-20260804-082420

updated the ui
Diffstat:
Mdocs/.vitepress/theme/components/Banner.vue | 7++++++-
Mdocs/.vitepress/theme/style.css | 18+++++++++++++++++-
2 files changed, 23 insertions(+), 2 deletions(-)

diff --git a/docs/.vitepress/theme/components/Banner.vue b/docs/.vitepress/theme/components/Banner.vue @@ -114,6 +114,10 @@ const acceptTerms = () => { transform: scale(1.02); } +.banner-btn { + color: #fe640b; +} + @media (max-width: 640px) { .terms-banner { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)) 16px; @@ -139,4 +143,4 @@ const acceptTerms = () => { transform: translateY(100%); opacity: 0; } -</style> +</style>+ \ No newline at end of file diff --git a/docs/.vitepress/theme/style.css b/docs/.vitepress/theme/style.css @@ -291,6 +291,13 @@ background-color: var(--vp-c-brand-3); } +/* Dark mode: peach (#fab387) is too light for white text (~1.8:1 contrast). + Use near-black text instead for proper AA contrast (~13:1). */ +.dark .bsc-btn-primary, +.dark .bsc-btn-primary:hover { + color: var(--vp-c-bg-elv) !important; /* #11111b */ +} + /* ========================================================================== VITEPRESS UI TWEAKS @@ -417,6 +424,14 @@ --vp-button-brand-active-bg: var(--vp-c-brand-1); } +/* Dark mode: peach (#fab387) is too light for white button text (~1.8:1 + contrast). Override VitePress's default brand-button text var. */ +.dark { + --vp-button-brand-text: var(--vp-c-bg-elv); /* #11111b */ + --vp-button-brand-hover-text: var(--vp-c-bg-elv); + --vp-button-brand-active-text: var(--vp-c-bg-elv); +} + /* ========================================================================== FORCE FONT ON DOCSEARCH & AI MODALS ========================================================================== */ @@ -467,4 +482,4 @@ /* Fallback just in case standard container is used */ .DocSearch-Container * { font-family: var(--vp-font-family-base) !important; -} +}+ \ No newline at end of file
© notamitgamer • Site Built: 2026-09-05 01:53:16 UTC • git-mirror commit: c170d72 [view raw info]
Originally created with stagit • modified by notamitgamer
Forked from github.com/notamitgamer/git-mirror