Skip to content

Commit

Permalink
chore: add eleganceui-tailwind-utilities to project dependencies
Browse files Browse the repository at this point in the history
This commit adds the eleganceui-tailwind-utilities package to the project's devDependencies in the package.json file. It also updates the yarn.lock file with the new package. Moreover, the package is imported and added as custom utilities in the tailwind.config.ts file.
  • Loading branch information
everton-dgn committed Mar 25, 2024
1 parent 0b3da4b commit 50d7394
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"devDependencies": {
"dotenv": "^16.3.1",
"@commitlint/cli": "^18.4.4",
"eleganceui-tailwind-utilities": "^2.1.0",
"@commitlint/config-conventional": "^18.4.4",
"@playwright/test": "^1.41.0",
"@testing-library/dom": "^9.3.4",
Expand Down
3 changes: 2 additions & 1 deletion tailwind.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import defaultTheme from 'tailwindcss/defaultTheme'
import type { Config } from 'tailwindcss'
import * as customUtilities from 'eleganceui-tailwind-utilities'

import {
colors,
Expand Down Expand Up @@ -44,7 +45,7 @@ const config: Config = {
}
}
},
plugins: [...components, ...utilities]
plugins: [...components, ...utilities, ...Object.values(customUtilities)]
}

export default config
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3687,6 +3687,11 @@ electron-to-chromium@^1.4.668:
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.673.tgz#1f077d9a095761804aec7ec6346c3f4b69b56534"
integrity sha512-zjqzx4N7xGdl5468G+vcgzDhaHkaYgVcf9MqgexcTqsl2UHSCmOj/Bi3HAprg4BZCpC7HyD8a6nZl6QAZf72gw==

eleganceui-tailwind-utilities@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/eleganceui-tailwind-utilities/-/eleganceui-tailwind-utilities-2.1.0.tgz#4bccbd3656c1faea2163e94420d2a52182f0e5f6"
integrity sha512-8TqlVgXjrkydIoCyQfA4n1SdP7SQP4rwNLCHGYgoi4oxxEyLrua2yNhyAv4HCD+mJZAFFRC1wBRTqXs4A6Lb4w==

emoji-regex@^10.3.0:
version "10.3.0"
resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-10.3.0.tgz#76998b9268409eb3dae3de989254d456e70cfe23"
Expand Down

0 comments on commit 50d7394

Please sign in to comment.