Skip to content

Commit

Permalink
change border-widths to measures
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisburnell committed Aug 25, 2020
1 parent fecefd0 commit 7705d33
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 23 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chrisburnell/bowhead",
"version": "0.1.4",
"version": "0.1.5",
"description": "Memorable and maintainable design tokens in SCSS",
"main": "bowhead.scss",
"scripts": {
Expand Down
45 changes: 23 additions & 22 deletions src/_config.scss
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,28 @@ $bowhead-property-map: map-merge((
bottom: measure,
left: measure,
right: measure,
border-block: measure,
border-inline: measure,
border-top-width: measure,
border-block-start-width: measure,
border-right-width: measure,
border-inline-start-width: measure,
border-bottom-width: measure,
border-block-end-width: measure,
border-left-width: measure,
border-inline-end-width: measure,
outline-width: measure,
text-decoration-thickness: measure,
text-underline-offset: measure,
border-width: measure,
border-top-left-radius: measure,
border-start-start-radius: measure,
border-top-right-radius: measure,
border-start-end-radius: measure,
border-bottom-right-radius: measure,
border-end-end-radius: measure,
border-bottom-left-radius: measure,
border-end-start-radius: measure,
background-color: color,
caret-color: color,
border-color: color,
Expand Down Expand Up @@ -100,26 +122,5 @@ $bowhead-property-map: map-merge((
border-block-end-style: border-style,
border-left-style: border-style,
border-inline-end-style: border-style,
outline-style: border-style,
border-block: border-width,
border-inline: border-width,
border-top-width: border-width,
border-block-start-width: border-width,
border-right-width: border-width,
border-inline-start-width: border-width,
border-bottom-width: border-width,
border-block-end-width: border-width,
border-left-width: border-width,
border-inline-end-width: border-width,
outline-width: border-width,
text-decoration-thickness: border-width,
text-underline-offset: border-width,
border-top-left-radius: border-radius,
border-start-start-radius: border-radius,
border-top-right-radius: border-radius,
border-start-end-radius: border-radius,
border-bottom-right-radius: border-radius,
border-end-end-radius: border-radius,
border-bottom-left-radius: border-radius,
border-end-start-radius: border-radius
outline-style: border-style
), $bowhead-property-map);

0 comments on commit 7705d33

Please sign in to comment.