Skip to content

Commit 72f9d17

Browse files
committed
chore: update colors and icons
1 parent 54114eb commit 72f9d17

17 files changed

+269
-174
lines changed

package-lock.json

Lines changed: 129 additions & 51 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
},
1414
"dependencies": {
1515
"@fontsource/montserrat": "^5.1.1",
16+
"@fortawesome/fontawesome-svg-core": "^6.7.2",
17+
"@fortawesome/free-solid-svg-icons": "^6.7.2",
18+
"@fortawesome/react-fontawesome": "^0.2.2",
1619
"@number-flow/react": "^0.5.5",
1720
"react": "^19.0.0",
1821
"react-dom": "^19.0.0",
@@ -31,7 +34,7 @@
3134
"postcss": "^8.5.1",
3235
"tailwindcss": "^4.0.0",
3336
"typescript": "~5.7.3",
34-
"typescript-eslint": "^8.21.0",
37+
"typescript-eslint": "^8.22.0",
3538
"vite": "^6.0.11",
3639
"vite-plugin-pwa": "^0.21.1"
3740
}

src/components/BitButton.component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { forwardRef, useImperativeHandle, useState } from "react";
33
import NumberFlow from "@number-flow/react";
44

55
import "@fontsource/montserrat/400.css";
6-
import styles from "./BitButton.component.module.css";
6+
import styles from "./BitButton.module.css";
77

88
const BitButton = forwardRef(
99
(

src/components/BitButton.component.module.css renamed to src/components/BitButton.module.css

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@
1212
font-family: 'Montserrat', sans-serif;
1313
overflow: hidden;
1414
transition: .2s linear;
15+
}
1516

16-
&>.text {
17-
display: inline-block;
18-
}
17+
.hovered,
18+
.selected {
19+
background-color: var(--primary-color);
1920
}
2021

2122
.button:nth-child(1),
@@ -28,9 +29,4 @@
2829
.button:nth-child(8),
2930
.button:nth-child(12) {
3031
margin-right: .75rem;
31-
}
32-
33-
.hovered,
34-
.selected {
35-
background-color: var(--primary-color);
3632
}

0 commit comments

Comments
 (0)