Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/nice-bats-sleep.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"socialify": patch
---

Upgraded tailwindcss and daisyui
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you make sure the input background colors match up?

Copy link
Author

@aleguy02 aleguy02 Jul 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not quite sure how to test/address this. It looks like the input background color is white on all the tests but on local testing its a dark gray. I checked on Chrome and Brave, both based on Chromium. Will look deeper into this soon.

Copy link
Author

@aleguy02 aleguy02 Aug 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've been able to dedicate some more time now that my classes are over. I'm running into a new issue where the e2e font tests are failing with the error "Failed to fetch font". It's not just in the tests; I tried reaching wei/socialify/image?description=1&font=Raleway&language=1&name=1&owner=1&pattern=Diagonal%20Stripes&theme=Dark through the dev server and got the error message. When I remove "image" from the slug it also give the same error message in the logs but the page renders fine.
I tried this in a Codespace and locally and got the error both times. Unfortunately, this is bottlenecking my update because I can't update the test snapshots.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please make sure the border radius of the config container matches, and the width of the inputs should be the same~

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed this, but I'm waiting to fix the above issue before making the commit to avoid too many commits

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
71 changes: 54 additions & 17 deletions app/globals.css
Original file line number Diff line number Diff line change
@@ -1,17 +1,64 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@import 'tailwindcss';
@plugin 'daisyui';

@layer components {
.socialify-bg {
@apply bg-gradient-to-r from-[#231e43] via-[#191630] to-[#15103e]
/*
The default border color has changed to `currentcolor` in Tailwind CSS v4,
so we've added these compatibility styles to make sure everything still
looks the same as it did with Tailwind CSS v3.
If we ever want to remove these styles, we need to add an explicit border
color utility to any element that depends on these defaults.
*/
@layer base {
*,
::after,
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentcolor);
}
}

@utility socialify-bg {
@apply bg-linear-to-r from-[#231e43] via-[#191630] to-[#15103e];
}

@utility github-svg {
/* GitHub corner. */
.github-svg:hover .octo-arm {
&:hover .octo-arm {
animation: octocat-wave 560ms ease-in-out;
}

@media (max-width: 500px) {
&:hover .octo-arm {
animation: none;
}

& .octo-arm {
animation: octocat-wave 560ms ease-in-out;
}
}
}

@utility octo-arm {
/* GitHub corner. */
.github-svg:hover & {
animation: octocat-wave 560ms ease-in-out;
}

@media (max-width: 500px) {
.github-svg:hover & {
animation: none;
}

.github-svg & {
animation: octocat-wave 560ms ease-in-out;
}
}
}

@layer components {

@keyframes octocat-wave {
0%,
100% {
Expand All @@ -28,14 +75,4 @@
transform: rotate(10deg);
}
}

@media (max-width: 500px) {
.github-svg:hover .octo-arm {
animation: none;
}

.github-svg .octo-arm {
animation: octocat-wave 560ms ease-in-out;
}
}
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,18 @@
"@changesets/cli": "^2.29.5",
"@jest/types": "^30.0.1",
"@playwright/test": "^1.53.1",
"@tailwindcss/postcss": "^4.1.11",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@types/jest": "^30.0.0",
"@types/react": "^19.1.8",
"autoprefixer": "^10.4.21",
"daisyui": "^4.12.24",
"daisyui": "^5.0.43",
"husky": "^9.1.7",
"jest": "^30.0.3",
"jest-environment-jsdom": "^30.0.2",
"postcss": "^8.5.6",
"tailwindcss": "^3.4.17",
"tailwindcss": "^4.1.11",
"ts-jest": "^29.4.0",
"typescript": "^5.8.3"
},
Expand Down
Loading