Skip to content

Commit

Permalink
fix: buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjozork committed Oct 31, 2024
1 parent c1eacef commit 01a2f04
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/components/Downloads/DownloadLinks.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import Link from 'next/link';
import Button from '../Button/Button';

type DownloadProps = {
Expand All @@ -13,8 +14,12 @@ const downloadLinks = ({ stableLink, devLink, aircraft }: DownloadProps) => (
{stableLink && devLink ? (
<>
<span className="flex gap-x-2.5">
<Button label="Stable" />
<Button theme="secondary" label="Development" />
<Link href={stableLink}>
<Button>Stable</Button>
</Link>
<Link href={devLink}>
<Button theme="secondary">Development</Button>
</Link>
</span>
</>
) : (
Expand Down
7 changes: 7 additions & 0 deletions src/styles/fbw.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
* v1.0 - CoherentGT compatible - made for TailwindCSS v3.0 with @flybywiresim/tailwind-config v(TBD)
*/

/*
* Website mods
* - Buttons modified to fit light background
*/

:root {
--color-brand-cyan-main: rgb(0, 224, 254);
--color-brand-cyan-dark: rgb(0, 202, 229);
Expand Down Expand Up @@ -62,6 +67,8 @@
border-color: $borderColorHoverValue;
@if $textColorHover {
color: $background;
} @else {
color: $borderColorHoverValue;
}
}
}
Expand Down

0 comments on commit 01a2f04

Please sign in to comment.