Skip to content

Commit

Permalink
Update css type for Line Width (#85)
Browse files Browse the repository at this point in the history
Co-authored-by: Rogin Farrer <rogin@roginfarrer.com>
  • Loading branch information
kbondanza and roginfarrer committed Oct 27, 2022
1 parent 5f76e1a commit ce5d3ab
Show file tree
Hide file tree
Showing 5 changed files with 251 additions and 35 deletions.
5 changes: 5 additions & 0 deletions .changeset/sixty-points-double.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'rainbow-sprinkles': patch
---

Updated CSS type for Line Width to support strings
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ node_modules
dist
.pnpm-debug.log
.DS_Store
.vscode
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ Then the following scripts are available:
We welcome anyone that wants to contribute to Rainbow Sprinkles to triage and reply to open issues to help troubleshoot
and fix existing bugs. Here is what you can do:

- Help ensure that existing issues follows the recommendations from the _[Reporting Issues](#reporting-issues)_ section,
providing feedback to the issue's author on what might be missing.
- Help ensure that existing issues follow the recommendations from the _[Reporting Issues](#reporting-issues)_ section,
providing feedback to the issue's author on what might be missing,
instructions and code samples.
- Review existing pull requests, and testing patches against real existing applications that use Rainbow Sprinkles.
- Write a test, or add a missing test case to an existing test.
Expand Down
2 changes: 1 addition & 1 deletion packages/rainbow-sprinkles/src/css.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9601,7 +9601,7 @@ declare namespace DataType {

type LineStyle = "dashed" | "dotted" | "double" | "groove" | "hidden" | "inset" | "none" | "outset" | "ridge" | "solid";

type LineWidth = number | "medium" | "thick" | "thin";
type LineWidth = number | OnlyString | "medium" | "thick" | "thin";

type MaskLayer = Position | RepeatStyle | GeometryBox | CompositingOperator | MaskingMode | "no-clip" | "none" | OnlyString;

Expand Down

0 comments on commit ce5d3ab

Please sign in to comment.