Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -629,6 +629,10 @@ html[data-theme="dark"] article blockquote {
--ifm-background-surface-color: #FAFAF8;
--ifm-navbar-background-color: #FAFAF8;
--ifm-footer-background-color: #FAFAF8;
--ifm-font-color-base: #111827;
--ifm-font-color-base-inverse: #FAFAF8;
--ifm-color-content: #111827;
--ifm-color-content-secondary: #4B5563;
--ifm-color-primary: #2e8555;
--ifm-color-primary-dark: #29784c;
--ifm-color-primary-darker: #277148;
Expand Down
36 changes: 36 additions & 0 deletions src/pages/dashboard/dashboard.css
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,10 @@
margin-right: auto;
}

.dashboard-sign-in-prompt {
color: #111827;
}

.dashboard-stats-section {
margin-bottom: 60px;
}
Expand Down Expand Up @@ -815,6 +819,38 @@ html[data-theme='dark'] .dashboard-main-content .border-gray-300 {
border-color: #0f172a !important;
}

[data-theme='light'] .dashboard-layout {
background: #fafaf8;
color: #111827;
}

[data-theme='light'] .dashboard-main-content .bg-white {
background-color: #fafaf8 !important;
border-color: #e5e7eb !important;
color: #111827 !important;
}

[data-theme='light'] .dashboard-main-content .bg-gray-50 {
background-color: #f3f4f6 !important;
}

[data-theme='light'] .dashboard-main-content .text-gray-900,
[data-theme='light'] .dashboard-main-content .dashboard-sign-in-prompt {
color: #111827 !important;
}

[data-theme='light'] .dashboard-main-content .text-gray-600 {
color: #4b5563 !important;
}

[data-theme='light'] .dashboard-main-content .text-gray-500 {
color: #6b7280 !important;
}

[data-theme='light'] .dashboard-main-content .border-gray-300 {
border-color: #e5e7eb !important;
}

[data-theme='dark'] .dashboard-layout{
background: black;
}
4 changes: 3 additions & 1 deletion src/pages/dashboard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,9 @@ const DashboardContent: React.FC = () => {
Welcome to the Recode Hive community hub! Explore our stats,
engage in discussions, and connect with fellow contributors.
</p>
<p className="text-xl font-bold text-black">Sign in to view your stats</p>
<p className="dashboard-sign-in-prompt text-xl font-bold">
Sign in to view your stats
</p>
<Show when="signed-out">
<SignInButton mode="modal">
<button
Expand Down
Loading