Skip to content

Commit

Permalink
feat: rem border widths (#2960)
Browse files Browse the repository at this point in the history
  • Loading branch information
diegomura authored Nov 18, 2024
1 parent f6e9e11 commit 609336c
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 609336c

Please sign in to comment.