Skip to content

Commit

Permalink
chore(ui): fix tailwind style on the web app
Browse files Browse the repository at this point in the history
  • Loading branch information
tericcabrel committed Jul 4, 2022
1 parent 8f674de commit 37f30e7
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 58 deletions.
8 changes: 4 additions & 4 deletions apps/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
},
"dependencies": {
"@graphql-tools/schema": "^8.5.0",
"@sharingan/database": "1.0.0",
"@sharingan/domain": "1.0.0",
"@sharingan/logger": "1.0.0",
"@sharingan/utils": "1.0.0",
"@sharingan/database": "*",
"@sharingan/domain": "*",
"@sharingan/logger": "*",
"@sharingan/utils": "*",
"apollo-server-core": "^3.8.2",
"apollo-server-express": "^3.8.2",
"axios": "^0.27.2",
Expand Down
4 changes: 2 additions & 2 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@graphql-codegen/cli": "^2.6.2",
"@graphql-codegen/typescript": "^2.4.8",
"@graphql-codegen/typescript-operations": "^2.3.5",
"@tailwindcss/forms": "^0.5.0",
"@tailwindcss/forms": "^0.5.2",
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^12.1.4",
"@testing-library/user-event": "^13.5.0",
Expand All @@ -54,7 +54,7 @@
"next-sitemap": "^3.0.5",
"next-transpile-modules": "^9.0.0",
"postcss": "^8.4.12",
"tailwindcss": "^3.0.24",
"tailwindcss": "^3.1.4",
"typescript": "4.6.2"
}
}
2 changes: 1 addition & 1 deletion apps/web/src/components/layout/public/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const PublicFooter = () => {
href={socialIcon.link}
target={socialIcon.target}
title={socialIcon.name}
className="inline-flex items-center justify-center w-6 h-6 text-gray-900 transition-all duration-200 rounded-full hover:bg-gray-100 focus:outline-none focus:bg-gray-200 focus:ring-2 focus:ring-offset-2 focus:ring-gray-200"
className="inline-flex items-center justify-center text-gray-900 transition-all duration-200 rounded-full hover:bg-gray-100 focus:outline-none focus:bg-gray-200 focus:ring-2 focus:ring-offset-2 focus:ring-gray-200"
rel="noopener noreferrer"
>
{socialIcon.icon}
Expand Down
1 change: 1 addition & 0 deletions apps/web/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ module.exports = {
"./src/pages/**/*.{js,ts,jsx,tsx}",
"./src/components/**/*.{js,ts,jsx,tsx}",
"./src/containers/**/*.{js,ts,jsx,tsx}",
"../../packages/ui/src/**/*.{js,ts,jsx,tsx}",
],
darkMode: 'class',
theme: {
Expand Down
6 changes: 4 additions & 2 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@
"license": "MIT",
"devDependencies": {
"@tailwindcss/forms": "^0.5.2",
"@types/react": "18.0.14",
"@types/react": "17.0.40",
"autoprefixer": "^10.4.7",
"postcss": "^8.4.14",
"tailwindcss": "^3.1.4"
},
"dependencies": {
"classnames": "^2.3.1"
"classnames": "^2.3.1",
"react": "17.0.2",
"react-dom": "17.0.2"
}
}
49 changes: 0 additions & 49 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2442,13 +2442,6 @@
dependencies:
defer-to-connect "^1.0.1"

"@tailwindcss/forms@^0.5.0":
version "0.5.0"
resolved "https://registry.yarnpkg.com/@tailwindcss/forms/-/forms-0.5.0.tgz#d4bea2560a10aac642573e72d3b4d62a88960449"
integrity sha512-KzWugryEBFkmoaYcBE18rs6gthWCFHHO7cAZm2/hv3hwD67AzwP7udSCa22E7R1+CEJL/FfhYsJWrc0b1aeSzw==
dependencies:
mini-svg-data-uri "^1.2.3"

"@tailwindcss/forms@^0.5.2":
version "0.5.2"
resolved "https://registry.yarnpkg.com/@tailwindcss/forms/-/forms-0.5.2.tgz#4ef45f9916dcb37838cbe7fecdcc4ba7a7c2ab59"
Expand Down Expand Up @@ -2806,15 +2799,6 @@
"@types/scheduler" "*"
csstype "^3.0.2"

"@types/[email protected]":
version "18.0.14"
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.0.14.tgz#e016616ffff51dba01b04945610fe3671fdbe06d"
integrity sha512-x4gGuASSiWmo0xjDLpm5mPb52syZHJx02VKbqUKdLmKtAwIh63XClGsiTI1K6DO5q7ox4xAsQrU+Gl3+gGXF9Q==
dependencies:
"@types/prop-types" "*"
"@types/scheduler" "*"
csstype "^3.0.2"

"@types/scheduler@*":
version "0.16.2"
resolved "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.2.tgz"
Expand Down Expand Up @@ -3261,11 +3245,6 @@ arg@^4.1.0:
resolved "https://registry.yarnpkg.com/arg/-/arg-4.1.3.tgz#269fc7ad5b8e42cb63c896d5666017261c144089"
integrity sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==

arg@^5.0.1:
version "5.0.1"
resolved "https://registry.yarnpkg.com/arg/-/arg-5.0.1.tgz#eb0c9a8f77786cad2af8ff2b862899842d7b6adb"
integrity sha512-e0hDa9H2Z9AwFkk2qDlwhoMYE4eToKarchkQHovNdLTCYMHZHeRjI71crOh+dio4K6u1IcwubQqo79Ga4CyAQA==

arg@^5.0.2:
version "5.0.2"
resolved "https://registry.yarnpkg.com/arg/-/arg-5.0.2.tgz#c81433cc427c92c4dcf4865142dbca6f15acd59c"
Expand Down Expand Up @@ -9494,34 +9473,6 @@ [email protected], sync-fetch@^0.3.1:
buffer "^5.7.0"
node-fetch "^2.6.1"

tailwindcss@^3.0.24:
version "3.1.2"
resolved "https://registry.yarnpkg.com/tailwindcss/-/tailwindcss-3.1.2.tgz#b5607d17adb6cbb11a13738cc5fdf3e5527dcd7a"
integrity sha512-yJ6L5s1U5AeS5g7HHy212zdQfjwD426FBfm59pet/JsyneuZuD4C2W7PpJEg4ppisiB21uLqtNagv8KXury3+Q==
dependencies:
arg "^5.0.1"
chokidar "^3.5.3"
color-name "^1.1.4"
detective "^5.2.1"
didyoumean "^1.2.2"
dlv "^1.1.3"
fast-glob "^3.2.11"
glob-parent "^6.0.2"
is-glob "^4.0.3"
lilconfig "^2.0.5"
normalize-path "^3.0.0"
object-hash "^3.0.0"
picocolors "^1.0.0"
postcss "^8.4.14"
postcss-import "^14.1.0"
postcss-js "^4.0.0"
postcss-load-config "^3.1.4"
postcss-nested "5.0.6"
postcss-selector-parser "^6.0.10"
postcss-value-parser "^4.2.0"
quick-lru "^5.1.1"
resolve "^1.22.0"

tailwindcss@^3.1.4:
version "3.1.4"
resolved "https://registry.yarnpkg.com/tailwindcss/-/tailwindcss-3.1.4.tgz#64b09059805505902139fa805d97046080bd90b9"
Expand Down

0 comments on commit 37f30e7

Please sign in to comment.