Skip to content

Commit 3e1f3b2

Browse files
committed
readme list improvement and package json wrong keywords
1 parent 90527b9 commit 3e1f3b2

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@ As [Tobias](https://tobiasahlin.com/blog/layered-smooth-box-shadows/) already po
1111
Many great people tackled the issue from Tobias Sahlin, to Philipp Brumm and Josh W Comeau, but none of them offered their solution as OSS-code. The previous attempts at libraries of other folks give you lots of settings like direct alpha, blur and spread settings, but on the flipside that means and you have to find good values for small and large shadows yourself.
1212

1313
`smooth-shadow` is largely opinionated in what makes a great smooth shadow and only offers you relevant options for your usecase:
14-
a) Distance (basically the elevation/size of the shadow)
15-
b) Intensity (which should vary depending on environment color)
16-
c) Sharpness (which - although largely opinionated - leaves a little room for the projects style)
17-
d) Color (as real cast shadows pick up the color of reflected light from the surface they are cast on)
14+
15+
- Distance (basically the elevation/size of the shadow)
16+
- Intensity (which should vary depending on environment color)
17+
- Sharpness (which - although largely opinionated - leaves a little room for the projects style)
18+
- Color (as real cast shadows pick up the color of reflected light from the surface they are cast on)
1819

1920
- *zero* dependencies
2021
- *fully typed* in typescript

package.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,11 @@
2828
"url": "git+https://github.com/tom2strobl/smooth-shadow.git"
2929
},
3030
"keywords": [
31-
"font-weight",
32-
"font-style",
33-
"fonts",
34-
"typefaces",
35-
"font",
36-
"typeface",
37-
"typed"
31+
"css",
32+
"box-shadow",
33+
"shadow",
34+
"smooth",
35+
"easing"
3836
],
3937
"license": "MIT",
4038
"np": {

0 commit comments

Comments
 (0)