Skip to content

Commit

Permalink
updated naavbar styling colors.
Browse files Browse the repository at this point in the history
  • Loading branch information
swedishfrenchpress committed Dec 12, 2024
1 parent 43a6227 commit da3510f
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 9 deletions.
14 changes: 7 additions & 7 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ const config: Config = {
},
],
},
// announcementBar: {
// id: "wip",
// content: "These docs are a WORK IN PROGRESS.",
// backgroundColor: "#18181b",
// textColor: "#fafafa",
// isCloseable: false,
// },
announcementBar: {
id: "wip",
content: "We’re actively building these docs—check back for updates.",
backgroundColor: "#18181b",
textColor: "#fafafa",
isCloseable: false,
},
prism: {
theme: prismThemes.oneLight,
darkTheme: prismThemes.oneDark,
Expand Down
26 changes: 26 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
--ifm-color-primary-lightest: #c084fc;
--ifm-code-font-size: 95%;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
--ifm-navbar-background-color: #ffffff;
--ifm-navbar-link-color: #581c87;
--ifm-navbar-link-hover-color: #9333ea;
--ifm-navbar-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

/* For readability concerns, you should choose a lighter palette in dark mode. */
Expand All @@ -28,6 +32,28 @@
--ifm-color-primary-lighter: #e879f9;
--ifm-color-primary-lightest: #e879f9;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
--ifm-navbar-background-color: #1e1b4b;
--ifm-navbar-link-color: #FFFFFF;
--ifm-navbar-link-hover-color: #c026d3;
}

/* Keep any non-navbar related utility classes you need */

/* Add custom navbar styling */
.navbar {
border-bottom: 1px solid rgba(147, 51, 234, 0.1);
}

[data-theme="dark"] .navbar {
border-bottom: 1px solid rgba(232, 121, 249, 0.1);
}

.navbar__link {
font-weight: 500;
transition: color 0.2s ease;
}

.navbar__link--active {
font-weight: 600;
color: var(--ifm-color-primary);
}
5 changes: 3 additions & 2 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import tsLogo from '@site/static/img/tslogo.png';
import npubcashLogo from '@site/static/img/npubcash.png';
import bwcLogo from '@site/static/img/bwc.png';
import vpnstrLogo from '@site/static/img/vpnstr.png';
import ndklogo from '@site/static/img/ndk.png';

export default function Home(): JSX.Element {
const { siteConfig } = useDocusaurusContext();
Expand Down Expand Up @@ -339,7 +340,7 @@ export default function Home(): JSX.Element {
Made with Cashu TS
</span>
<span className="text-2xl text-zinc-400 block max-w-3xl mx-auto">
Simplifying the process of building Cashuapps.
Simplifying the process of building Cashu applications.
</span>
</h2>

Expand Down Expand Up @@ -386,7 +387,7 @@ export default function Home(): JSX.Element {
>
<div className="flex items-center gap-4 mb-4">
<div className="w-10 h-10 flex items-center justify-center">
<img src={cashuLogo} alt="NDK logo" className="w-8 h-8 object-contain" />
<img src={ndklogo} alt="NDK logo" className="w-8 h-8 object-contain" />
</div>
<h3 className="text-xl font-semibold text-white">NostrDevKit (NDK)</h3>
</div>
Expand Down

0 comments on commit da3510f

Please sign in to comment.