Skip to content

Commit

Permalink
feat: added rounded pill token (#2361)
Browse files Browse the repository at this point in the history
  • Loading branch information
PKulkoRaccoonGang committed Aug 1, 2024
1 parent ff89afa commit c4b4dfc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion styles/css/core/variables.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* IMPORTANT: This file is the result of assembling design tokens
* Do not edit directly
* Generated on Mon, 05 Jun 2023 02:30:54 GMT
* Generated on Thu, 08 Jun 2023 07:10:04 GMT
*/

:root {
Expand Down
2 changes: 1 addition & 1 deletion styles/scss/core/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ $border-radius: var(--pgn-size-border-radius-base) !default;
$border-radius-lg: var(--pgn-size-border-radius-lg) !default;
$border-radius-sm: var(--pgn-size-border-radius-sm) !default;

$rounded-pill: 50rem !default;
$rounded-pill: var(--pgn-size-rounded-pill) !default;

$level-1-box-shadow: var(--pgn-elevation-box-shadow-level-1) !default;
$level-2-box-shadow: var(--pgn-elevation-box-shadow-level-2) !default;
Expand Down
3 changes: 3 additions & 0 deletions tokens/src/core/alias/size.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"lg": { "value": "7px", "type": "dimension", "source": "$border-radius-lg", "description": "Large border radius." },
"sm": { "value": "4px", "type": "dimension", "source": "$border-radius-sm", "description": "Small border radius." }
}
},
"rounded": {
"pill": { "value": "50rem", "type": "dimension", "source": "$rounded-pill", "description": "Pill border radius." }
}
}
}

0 comments on commit c4b4dfc

Please sign in to comment.