Skip to content

Commit eda6f1a

Browse files
committed
Fix Edge button color in light mode
1 parent cc99aff commit eda6f1a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/components/Button.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ import React from "react";
88
import { Link } from "gatsby";
99
import AnchorLink from 'react-anchor-link-smooth-scroll-v2'
1010
import rippleFn from "../libs/ripple";
11+
import classNames from "classnames";
1112

1213
const ButtonInner = ({ icon, text, className }) => (
13-
<div role="button" tabIndex={0} className={"button relative overflow-hidden " + className} onMouseDown={rippleFn} onTouchStart={rippleFn}>
14+
<div role="button" tabIndex={0} className={classNames("button relative overflow-hidden", className)} onMouseDown={rippleFn} onTouchStart={rippleFn}>
1415
{icon ? <span style={{ paddingLeft: 15, paddingRight: 10, margin: "auto" }}>{icon}</span> : <span style={{ paddingLeft: 20, margin: "auto" }}></span>}
1516
<span style={{ paddingRight: 20 }}>{text}</span>
1617
</div>

src/sections/Landing.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const Landing = () => {
3131
</div>
3232
<ul className="flex flex-wrap items-center justify-center md:justify-start font-roboto">
3333
<span className="flex space-x-2 justify-center m-2">
34-
<Button className="text-[#a88c5c] dark:text-[#BBA171]" href="https://www.patreon.com/skyline_emu" icon={<FaStar />} text="Get Skyline Edge" />
34+
<Button className="!text-[#A88C5C] !dark:text-[#BBA171]" href="https://www.patreon.com/skyline_emu" icon={<FaStar />} text="Get Skyline Edge" />
3535
</span>
3636
<span className="flex space-x-2 justify-center m-2">
3737
<Button href="/download" icon={<FaDownload />} text="Get Skyline" />

0 commit comments

Comments
 (0)