Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

bump ui version

Steven Tey63ca3072928a
diff --git a/packages/ui/package.json b/packages/ui/package.json
index 228979dae3..3685090e6a 100644
--- a/packages/ui/package.json
+++ b/packages/ui/package.json
@@ -1,7 +1,7 @@
{
"name": "@dub/ui",
"description": "UI components for Dub.co",
- "version": "0.1.7",
+ "version": "0.1.8",
"sideEffects": false,
"main": "./dist/index.js",
"module": "./dist/index.mjs",
diff --git a/packages/ui/src/footer.tsx b/packages/ui/src/footer.tsx
index dc0af450a4..3cd5e09357 100644
--- a/packages/ui/src/footer.tsx
+++ b/packages/ui/src/footer.tsx
@@ -81,34 +81,34 @@ export function Footer() {
className="group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100"
>
<span className="sr-only">Twitter</span>
- <Twitter className="h-4 w-4 text-gray-600" />
+ <Twitter className="h-4 w-4 text-gray-600 transition-colors group-hover:text-black" />
</a>
<a
href="https://github.com/dubinc/dub"
target="_blank"
rel="noreferrer"
- className="rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100"
+ className="group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100"
>
<span className="sr-only">Github</span>
- <Github className="h-4 w-4 text-gray-600" />
+ <Github className="h-4 w-4 text-gray-600 transition-colors group-hover:text-black" />
</a>
<a
href="https://www.linkedin.com/company/dubinc"
target="_blank"
rel="noreferrer"
- className="rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100"
+ className="group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100"
>
<span className="sr-only">LinkedIn</span>
- <LinkedIn className="h-4 w-4 text-gray-600" />
+ <LinkedIn className="h-4 w-4 text-gray-600 transition-colors group-hover:text-[#0077b5]" />
</a>
<a
href="https://www.youtube.com/@dubdotco"
target="_blank"
rel="noreferrer"
- className="rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100"
+ className="group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100"
>
<span className="sr-only">YouTube</span>
- <YouTube className="h-4 w-4 text-gray-600" />
+ <YouTube className="h-4 w-4 text-gray-600 transition-colors group-hover:text-[#ff0000]" />
</a>
</div>
<StatusBadge />
diff --git a/packages/ui/src/icons/youtube.tsx b/packages/ui/src/icons/youtube.tsx
index c7cec70cb5..a59efd1cad 100644
--- a/packages/ui/src/icons/youtube.tsx
+++ b/packages/ui/src/icons/youtube.tsx
@@ -1,3 +1,5 @@
+import { cn } from "@dub/utils";
+
export default function YouTube({ className }: { className?: string }) {
return (
<svg
@@ -6,7 +8,7 @@ export default function YouTube({ className }: { className?: string }) {
width="256"
height="256"
viewBox="0 0 256 256"
- className={className}
+ className={cn("text-[#ff0000]", className)}
>
<defs></defs>
<g
@@ -17,7 +19,7 @@ export default function YouTube({ className }: { className?: string }) {
strokeLinecap: "butt",
strokeLinejoin: "miter",
strokeMiterlimit: 10,
- fill: "none",
+ fill: "#ff0000",
fillRule: "nonzero",
opacity: 1,
}}
@@ -32,7 +34,7 @@ export default function YouTube({ className }: { className?: string }) {
strokeLinecap: "butt",
strokeLinejoin: "miter",
strokeMiterlimit: 10,
- fill: "rgb(0,0,0)",
+ fill: "currentColor",
fillRule: "nonzero",
opacity: 1,
}}