Skip to content

Commit

Permalink
enhance(css): add line clamp plugin to tailwind
Browse files Browse the repository at this point in the history
  • Loading branch information
xyhp915 authored and tiensonqin committed Oct 13, 2022
1 parent e40646c commit 31f6375
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"@tailwindcss/forms": "0.5.3",
"@tailwindcss/typography": "0.5.7",
"@tailwindcss/aspect-ratio": "0.4.2",
"@tailwindcss/line-clamp": "0.4.2",
"@types/gulp": "^4.0.7",
"cross-env": "^7.0.3",
"cssnano": "^5.1.13",
Expand Down
1 change: 1 addition & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ module.exports = {
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
require('@tailwindcss/aspect-ratio'),
require('@tailwindcss/line-clamp'),
exposeColorsToCssVars
],
theme: {
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -840,6 +840,11 @@
dependencies:
mini-svg-data-uri "^1.2.3"

"@tailwindcss/[email protected]":
version "0.4.2"
resolved "https://registry.yarnpkg.com/@tailwindcss/line-clamp/-/line-clamp-0.4.2.tgz#f353c5a8ab2c939c6267ac5b907f012e5ee130f9"
integrity sha512-HFzAQuqYCjyy/SX9sLGB1lroPzmcnWv1FHkIpmypte10hptf4oPUfucryMKovZh2u0uiS9U5Ty3GghWfEJGwVw==

"@tailwindcss/[email protected]":
version "0.5.7"
resolved "https://registry.yarnpkg.com/@tailwindcss/typography/-/typography-0.5.7.tgz#e0b95bea787ee14c5a34a74fc824e6fe86ea8855"
Expand Down

0 comments on commit 31f6375

Please sign in to comment.