Skip to content

Commit

Permalink
feat: border-radius in px
Browse files Browse the repository at this point in the history
  • Loading branch information
pedroportella committed Dec 18, 2024
1 parent 9efe25a commit bd6fa33
Show file tree
Hide file tree
Showing 25 changed files with 79 additions and 79 deletions.
2 changes: 1 addition & 1 deletion dist/android/button/button.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
Do not edit directly, this file was auto-generated.
-->
<resources>
<string name="buttonBorderRadius">32</string>
<string name="buttonBorderRadius">32px</string>
<string name="buttonBorderWidth">8px</string>
</resources>
2 changes: 1 addition & 1 deletion dist/android/card/card.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
Do not edit directly, this file was auto-generated.
-->
<resources>
<string name="cardBorderRadius">12</string>
<string name="cardBorderRadius">12px</string>
<dimen name="cardPadding">16px</dimen>
</resources>
14 changes: 7 additions & 7 deletions dist/android/styles/primitive.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@
<string name="spacing14">96</string>
<string name="spacing15">128</string>
<string name="spacing16">160</string>
<string name="borderRadiusNone">0</string>
<string name="borderRadiusXs">4</string>
<string name="borderRadiusSm">12</string>
<string name="borderRadiusMd">16</string>
<string name="borderRadiusLg">32</string>
<string name="borderRadiusXl">40</string>
<string name="borderRadiusXxl">64</string>
<string name="borderRadiusNone">0px</string>
<string name="borderRadiusXs">4px</string>
<string name="borderRadiusSm">12px</string>
<string name="borderRadiusMd">16px</string>
<string name="borderRadiusLg">32px</string>
<string name="borderRadiusXl">40px</string>
<string name="borderRadiusXxl">64px</string>
<string name="borderWidthNone">0</string>
<string name="borderWidthThin">1px</string>
<string name="borderWidthDefault">2px</string>
Expand Down
2 changes: 1 addition & 1 deletion dist/css/button/button.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
*/

:root {
--button-border-radius: 32;
--button-border-radius: 32px;
--button-border-width: 8px;
}
2 changes: 1 addition & 1 deletion dist/css/card/card.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
*/

:root {
--card-border-radius: 12;
--card-border-radius: 12px;
--card-padding: 16px;
}
14 changes: 7 additions & 7 deletions dist/css/styles/primitive.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@
--spacing-14: 96;
--spacing-15: 128;
--spacing-16: 160;
--border-radius-none: 0;
--border-radius-xs: 4;
--border-radius-sm: 12;
--border-radius-md: 16;
--border-radius-lg: 32;
--border-radius-xl: 40;
--border-radius-xxl: 64;
--border-radius-none: 0px;
--border-radius-xs: 4px;
--border-radius-sm: 12px;
--border-radius-md: 16px;
--border-radius-lg: 32px;
--border-radius-xl: 40px;
--border-radius-xxl: 64px;
--border-width-none: 0;
--border-width-thin: 1px;
--border-width-default: 2px;
Expand Down
2 changes: 1 addition & 1 deletion dist/js/button/button.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
* Do not edit directly, this file was auto-generated.
*/

export const buttonBorderRadius = "32";
export const buttonBorderRadius = "32px";
export const buttonBorderWidth = "8px";
2 changes: 1 addition & 1 deletion dist/js/card/card.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
* Do not edit directly, this file was auto-generated.
*/

export const cardBorderRadius = "12";
export const cardBorderRadius = "12px";
export const cardPadding = "16px";
14 changes: 7 additions & 7 deletions dist/js/styles/primitive.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ export const spacing13 = "80";
export const spacing14 = "96";
export const spacing15 = "128";
export const spacing16 = "160";
export const borderRadiusNone = "0";
export const borderRadiusXs = "4";
export const borderRadiusSm = "12";
export const borderRadiusMd = "16";
export const borderRadiusLg = "32";
export const borderRadiusXl = "40";
export const borderRadiusXxl = "64";
export const borderRadiusNone = "0px";
export const borderRadiusXs = "4px";
export const borderRadiusSm = "12px";
export const borderRadiusMd = "16px";
export const borderRadiusLg = "32px";
export const borderRadiusXl = "40px";
export const borderRadiusXxl = "64px";
export const borderWidthNone = "0";
export const borderWidthThin = "1px";
export const borderWidthDefault = "2px";
Expand Down
2 changes: 1 addition & 1 deletion dist/scss/button/button.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

// Do not edit directly, this file was auto-generated.

$buttonBorderRadius: 32;
$buttonBorderRadius: 32px;
$buttonBorderWidth: 8px;
2 changes: 1 addition & 1 deletion dist/scss/card/card.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

// Do not edit directly, this file was auto-generated.

$cardBorderRadius: 12;
$cardBorderRadius: 12px;
$cardPadding: 16px;
14 changes: 7 additions & 7 deletions dist/scss/styles/primitive.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ $spacing13: 80;
$spacing14: 96;
$spacing15: 128;
$spacing16: 160;
$borderRadiusNone: 0;
$borderRadiusXs: 4;
$borderRadiusSm: 12;
$borderRadiusMd: 16;
$borderRadiusLg: 32;
$borderRadiusXl: 40;
$borderRadiusXxl: 64;
$borderRadiusNone: 0px;
$borderRadiusXs: 4px;
$borderRadiusSm: 12px;
$borderRadiusMd: 16px;
$borderRadiusLg: 32px;
$borderRadiusXl: 40px;
$borderRadiusXxl: 64px;
$borderWidthNone: 0;
$borderWidthThin: 1px;
$borderWidthDefault: 2px;
Expand Down
2 changes: 1 addition & 1 deletion src/android/button/button.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
Do not edit directly, this file was auto-generated.
-->
<resources>
<string name="buttonBorderRadius">32</string>
<string name="buttonBorderRadius">32px</string>
<string name="buttonBorderWidth">8px</string>
</resources>
2 changes: 1 addition & 1 deletion src/android/card/card.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
Do not edit directly, this file was auto-generated.
-->
<resources>
<string name="cardBorderRadius">12</string>
<string name="cardBorderRadius">12px</string>
<dimen name="cardPadding">16px</dimen>
</resources>
14 changes: 7 additions & 7 deletions src/android/styles/primitive.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@
<string name="spacing14">96</string>
<string name="spacing15">128</string>
<string name="spacing16">160</string>
<string name="borderRadiusNone">0</string>
<string name="borderRadiusXs">4</string>
<string name="borderRadiusSm">12</string>
<string name="borderRadiusMd">16</string>
<string name="borderRadiusLg">32</string>
<string name="borderRadiusXl">40</string>
<string name="borderRadiusXxl">64</string>
<string name="borderRadiusNone">0px</string>
<string name="borderRadiusXs">4px</string>
<string name="borderRadiusSm">12px</string>
<string name="borderRadiusMd">16px</string>
<string name="borderRadiusLg">32px</string>
<string name="borderRadiusXl">40px</string>
<string name="borderRadiusXxl">64px</string>
<string name="borderWidthNone">0</string>
<string name="borderWidthThin">1px</string>
<string name="borderWidthDefault">2px</string>
Expand Down
2 changes: 1 addition & 1 deletion src/css/button/button.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
*/

:root {
--button-border-radius: 32;
--button-border-radius: 32px;
--button-border-width: 8px;
}
2 changes: 1 addition & 1 deletion src/css/card/card.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
*/

:root {
--card-border-radius: 12;
--card-border-radius: 12px;
--card-padding: 16px;
}
14 changes: 7 additions & 7 deletions src/css/styles/primitive.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@
--spacing-14: 96;
--spacing-15: 128;
--spacing-16: 160;
--border-radius-none: 0;
--border-radius-xs: 4;
--border-radius-sm: 12;
--border-radius-md: 16;
--border-radius-lg: 32;
--border-radius-xl: 40;
--border-radius-xxl: 64;
--border-radius-none: 0px;
--border-radius-xs: 4px;
--border-radius-sm: 12px;
--border-radius-md: 16px;
--border-radius-lg: 32px;
--border-radius-xl: 40px;
--border-radius-xxl: 64px;
--border-width-none: 0;
--border-width-thin: 1px;
--border-width-default: 2px;
Expand Down
2 changes: 1 addition & 1 deletion src/js/button/button.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
* Do not edit directly, this file was auto-generated.
*/

export const buttonBorderRadius = "32";
export const buttonBorderRadius = "32px";
export const buttonBorderWidth = "8px";
2 changes: 1 addition & 1 deletion src/js/card/card.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
* Do not edit directly, this file was auto-generated.
*/

export const cardBorderRadius = "12";
export const cardBorderRadius = "12px";
export const cardPadding = "16px";
14 changes: 7 additions & 7 deletions src/js/styles/primitive.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ export const spacing13 = "80";
export const spacing14 = "96";
export const spacing15 = "128";
export const spacing16 = "160";
export const borderRadiusNone = "0";
export const borderRadiusXs = "4";
export const borderRadiusSm = "12";
export const borderRadiusMd = "16";
export const borderRadiusLg = "32";
export const borderRadiusXl = "40";
export const borderRadiusXxl = "64";
export const borderRadiusNone = "0px";
export const borderRadiusXs = "4px";
export const borderRadiusSm = "12px";
export const borderRadiusMd = "16px";
export const borderRadiusLg = "32px";
export const borderRadiusXl = "40px";
export const borderRadiusXxl = "64px";
export const borderWidthNone = "0";
export const borderWidthThin = "1px";
export const borderWidthDefault = "2px";
Expand Down
2 changes: 1 addition & 1 deletion src/scss/button/button.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

// Do not edit directly, this file was auto-generated.

$buttonBorderRadius: 32;
$buttonBorderRadius: 32px;
$buttonBorderWidth: 8px;
2 changes: 1 addition & 1 deletion src/scss/card/card.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

// Do not edit directly, this file was auto-generated.

$cardBorderRadius: 12;
$cardBorderRadius: 12px;
$cardPadding: 16px;
14 changes: 7 additions & 7 deletions src/scss/styles/primitive.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ $spacing13: 80;
$spacing14: 96;
$spacing15: 128;
$spacing16: 160;
$borderRadiusNone: 0;
$borderRadiusXs: 4;
$borderRadiusSm: 12;
$borderRadiusMd: 16;
$borderRadiusLg: 32;
$borderRadiusXl: 40;
$borderRadiusXxl: 64;
$borderRadiusNone: 0px;
$borderRadiusXs: 4px;
$borderRadiusSm: 12px;
$borderRadiusMd: 16px;
$borderRadiusLg: 32px;
$borderRadiusXl: 40px;
$borderRadiusXxl: 64px;
$borderWidthNone: 0;
$borderWidthThin: 1px;
$borderWidthDefault: 2px;
Expand Down
14 changes: 7 additions & 7 deletions tokens/primitive.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,31 +97,31 @@
},
"borderRadius": {
"none": {
"value": "{spacing.0}",
"value": "{spacing.0}px",
"type": "borderRadius"
},
"xs": {
"value": "{spacing.1}",
"value": "{spacing.1}px",
"type": "borderRadius"
},
"sm": {
"value": "{spacing.3}",
"value": "{spacing.3}px",
"type": "borderRadius"
},
"md": {
"value": "{spacing.4}",
"value": "{spacing.4}px",
"type": "borderRadius"
},
"lg": {
"value": "{spacing.7}",
"value": "{spacing.7}px",
"type": "borderRadius"
},
"xl": {
"value": "{spacing.9}",
"value": "{spacing.9}px",
"type": "borderRadius"
},
"xxl": {
"value": "{spacing.12}",
"value": "{spacing.12}px",
"type": "borderRadius"
}
},
Expand Down

0 comments on commit bd6fa33

Please sign in to comment.