Skip to content

Commit 8c10bb5

Browse files
committed
fix: clean button fixes
1 parent 77b16de commit 8c10bb5

File tree

5 files changed

+8
-38
lines changed

5 files changed

+8
-38
lines changed

src/components/LandingPage/HeroSection.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ export default function HeroSection() {
1212
<Link to={"/themes"}>
1313
<button
1414
className="
15-
bg-accent-900 hover:bg-gradient-to-r hover:from-secondary-900 px-2 py-1 text-[14px] hover:to-primary-600
15+
bg-accent-100 text-accent-700 hover:bg-gradient-to-r
16+
hover:from-secondary-900 px-2 py-1 text-[14px] hover:to-primary-600
1617
transition-colors duration-300 hover:text-accent-900 sm:px-4 sm:py-2 sm:text-lg rounded-lg
1718
"
1819
>
@@ -22,7 +23,8 @@ export default function HeroSection() {
2223
<Link to={"/plugins"}>
2324
<button
2425
className="
25-
bg-accent-900 hover:bg-gradient-to-r hover:from-secondary-900 px-2 py-1 text-[14px] hover:to-primary-600
26+
bg-accent-100 text-accent-700 hover:bg-gradient-to-r
27+
hover:from-secondary-900 px-2 py-1 text-[14px] hover:to-primary-600
2628
transition-colors duration-300 hover:text-accent-900 sm:px-4 sm:py-2 sm:text-lg rounded-lg
2729
"
2830
>
@@ -32,7 +34,8 @@ export default function HeroSection() {
3234
<Link to={"https://react-chatbotify.com"}>
3335
<button
3436
className="
35-
bg-accent-900 hover:bg-gradient-to-r hover:from-secondary-900 px-2 py-1 text-[14px] hover:to-primary-600
37+
bg-accent-100 text-accent-700 hover:bg-gradient-to-r hover:from-secondary-900 px-2 py-1 text-[14px]
38+
hover:to-primary-600
3639
transition-colors duration-300 hover:text-accent-900 sm:px-4 sm:py-2 sm:text-lg rounded-lg
3740
"
3841
>

src/components/NavigationBar/AppThemeToggle.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const AppThemeToggle = () => {
1717
return <DarkModeSwitch
1818
checked={isDark}
1919
onChange={handleClick}
20-
size={30}
20+
size={20}
2121
moonColor="hsl(198,90%,15%)"
2222
sunColor="hsl(48,90%,55%)"
2323

src/components/NavigationBar/NavigationBar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ const NavigationBar = () => {
360360
</button>
361361
</li>
362362
)}
363-
<li>
363+
<li className='grid items-center'>
364364
<AppThemeToggle />
365365
</li>
366366
</ul>

src/components/NavigationBar/ToggleButton.tsx

Lines changed: 0 additions & 27 deletions
This file was deleted.

src/styles/index.css

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,6 @@
1212
0px 8.5px 17.9px rgba(0, 0, 0, 0.042),
1313
0px 15.9px 33.4px rgba(0, 0, 0, 0.05),
1414
0px 38px 80px rgba(0, 0, 0, 0.07);
15-
--hue: 223;
16-
--bg: hsl(var(--hue), 10%, 100%);
17-
--fg: hsl(var(--hue), 10%, 0%);
18-
--primary: hsl(var(--hue), 90%, 55%);
19-
--primaryT: hsla(var(--hue), 90%, 55%, 0);
20-
--transDur: 0.3s;
2115
}
2216

2317
:root[app-theme="light"] {

0 commit comments

Comments
 (0)