@designbycode/tailwindcss-text-stroke
Advanced tools
Comparing version
{ | ||
"name": "@designbycode/tailwindcss-text-stroke", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Tailwindcss utilities for text stroke", | ||
@@ -40,2 +40,10 @@ "license": "MIT", | ||
}, | ||
"scripts": { | ||
"build": "tsc && vite build", | ||
"dev": "pnpm build --watch", | ||
"clean": "rd /s /q esm dist lib build .cache>nul 2>&1|echo.>nul", | ||
"prebuild": "pnpm clean", | ||
"postbuild": "tsc --emitDeclarationOnly", | ||
"prepublishOnly": "pnpm build" | ||
}, | ||
"authors": [ | ||
@@ -69,10 +77,3 @@ { | ||
"vite-plugin-dts": "^3.5.1" | ||
}, | ||
"scripts": { | ||
"build": "tsc && vite build", | ||
"dev": "pnpm build --watch", | ||
"clean": "rd /s /q esm dist lib build .cache>nul 2>&1|echo.>nul", | ||
"prebuild": "pnpm clean", | ||
"postbuild": "tsc --emitDeclarationOnly" | ||
} | ||
} | ||
} |
@@ -99,4 +99,6 @@ <a href="#installation" width="100%"> | ||
Use modifiers to change text width and color. Use predefined setting ```this```, ```medium```, ```thick``` or arbitrary values. | ||
```html | ||
<h1 class="text-7xl font-black text-stroke text-stroke-indigo-200 text-stroke-fill-indigo-600"> | ||
<h1 class="text-stroke text-stroke-indigo-200 text-stroke-fill-indigo-600"> | ||
Hello, TailwindCSS | ||
@@ -106,2 +108,13 @@ </h1> | ||
```html | ||
<!-- default --> | ||
<h1 class="text-stroke"></h1> | ||
<!-- thin, medium, and thick --> | ||
<h1 class="text-stroke-{value}"></h1> | ||
<!-- 1, 2, or 3 --> | ||
<h1 class="text-stroke-[number]"></h1> | ||
<!-- [2px] --> | ||
<h1 class="text-stroke-[value]"></h1> | ||
``` | ||
## Contributing | ||
@@ -108,0 +121,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
149
9.56%12522
-11.53%5
-16.67%18
-30.77%