Skip to content
Open
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
2 changes: 1 addition & 1 deletion src/components/Footer/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const footerLinkClasses =

const Footer = () => (
<footer className="w-full flex-[0_0_auto] print:hidden">
<Container className="mx-auto max-w-[900px] px-5 pb-[30px] pt-[40px] text-center [&_a]:text-[#3b7eb5]">
<Container className="mx-auto max-w-[900px] px-5 pb-[30px] pt-[40px] text-center [&_a]:text-[#1d78c1] dark:[&_a]:text-[#8dd6f9]">
<div className="mb-[24px] flex justify-center">
<a href="https://openjsf.org" target="_blank" rel="noopener noreferrer">
<img
Expand Down
30 changes: 26 additions & 4 deletions src/components/Markdown/Markdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -362,10 +362,32 @@ $topHeightMobileWithBanner: $bannerHeight + $topHeightMobile;
a code {
color: $text-color-highlight;
}
a {
text-decoration: underline;
text-underline-offset: 2px;
text-decoration-thickness: 1px;
p a,
li a {
color: #1d78c1;
text-decoration: none;
font-weight: 600;
}

p a:hover,
li a:hover {
color: #465e69;
}

.dark p a,
.dark li a {
color: #8dd6f9;
}

.dark p a:hover,
.dark li a:hover {
color: #ffffff;
}

p a:focus-visible,
li a:focus-visible {
outline: 2px solid currentColor;
outline-offset: 2px;
}
pre {
background-color: #2d3748;
Expand Down
2 changes: 1 addition & 1 deletion src/components/Navigation/Navigation.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ function Navigation({ links, pathname, hash = "", toggleSidebar }) {
>
{link.children.map((child) => {
const classNames =
"text-blue-400 dark:text-[#69a8ee] py-5 text-sm capitalize hover:text-black dark:hover:text-white";
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think this set set using our design palettes

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am a bit confused, should i use main(original) colors for text or are you suggesting something else?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use the color palette from https://github.com/webpack/media

"text-[#1d78c1] dark:text-[#8dd6f9] py-5 text-sm capitalize hover:text-[#465E69] dark:hover:text-white";
const isActive = location.pathname.startsWith(child.url);
return (
<NavLink
Expand Down