fix scroll indicator and download button

This commit is contained in:
dong.nguyen committed 2026-10-13 10:22:10 +07:00
1 parent a783791513
commit f1d249061e
2 files changed
+8 -7

No files matched your search

+7 -6
View File
@@ -208,6 +208,7 @@
.btn-primary {
background: linear-gradient(135deg, #1d4ed8, #2563eb, #60a5fa);
color: #ffffff;
border: 1px solid transparent;
box-shadow: 0 4px 20px rgba(96, 165, 250, 0.3);
}
@@ -641,24 +642,24 @@
.scroll-indicator {
position: absolute;
bottom: 20px;
left: 50%;
left: 40px;
transform: translateX(-50%);
z-index: 10;
color: #ffffff;
color: var(--text-primary);
}
.scroll-mouse {
border-color: rgba(255, 255, 255, 0.5);
border-color: var(--text-muted);
}
.hero .scroll-indicator span {
display: block !important;
color: #ffffff !important;
color: var(--text-primary) !important;
opacity: 1 !important;
}
.social-links {
justify-content: center;
}
.social-link {
color: #ffffff;
color: var(--text-primary);
}
}
@@ -697,7 +698,7 @@
display: flex;
align-items: center;
gap: 8px;
padding: 12px 24px;
padding: 14px 24px;
font-size: 16px;
font-weight: 500;
font-family: inherit;
+1 -1
View File
@@ -14,7 +14,7 @@ const ThemeContext = createContext<ThemeContextValue | undefined>(undefined)
const STORAGE_KEY = 'portfolio-theme'
function getSystemTheme(): 'dark' | 'light' {
return window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light'
return window.matchMedia('(prefers-color-scheme: light)').matches ? 'dark' : 'light'
}
function getStoredTheme(): Theme {