Skip to content

Commit

Permalink
feat: rem border widths
Browse files Browse the repository at this point in the history
  • Loading branch information
diegomura committed Nov 18, 2024
1 parent a83d44f commit f6465bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/stylesheet/src/expand/borders.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const BORDER_SHORTHAND_REGEX =
/(-?\d+(\.\d+)?(px|in|mm|cm|pt|vw|vh|px)?)\s(\S+)\s(.+)/;
/(-?\d+(\.\d+)?(in|mm|cm|pt|vw|vh|px|rem)?)\s(\S+)\s(.+)/;

const matchBorderShorthand = (value) =>
value.match(BORDER_SHORTHAND_REGEX) || [];
Expand Down

0 comments on commit f6465bb

Please sign in to comment.