Skip to content

Commit

Permalink
Add smaller radii
Browse files Browse the repository at this point in the history
  • Loading branch information
jameskoster committed Jul 11, 2024
1 parent c4c5142 commit 864bde1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/base-styles/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ $radius-20: $radius * 2;
$radius-30: $radius * 3;
$radius-full: $radius * 999;

$radius-atom: $radius / 2;
$radius-primitive: $radius-10;
$radius-small-container: $radius-20;
$radius-large-container: $radius-30;
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/dropdown-menu/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
color: $white;
background: $gray-900;
box-shadow: 0 0 0 $border-width $gray-900;
border-radius: $radius-primitive;
border-radius: $radius-atom;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ const isIconStyles = ( {

export const backdropView = css`
background: ${ COLORS.gray[ 900 ] };
border-radius: ${ CONFIG.radiusPrimitive };
border-radius: ${ CONFIG.radiusAtom };
position: absolute;
inset: 0;
z-index: 1;
Expand Down
1 change: 1 addition & 0 deletions packages/components/src/utils/config-values.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export default Object.assign( {}, CONTROL_PROPS, TOGGLE_GROUP_CONTROL_PROPS, {
colorScrollbarTrack: 'rgba(0, 0, 0, 0.04)',
elevationIntensity: 1,
radiusBlockUi: '2px',
radiusAtom: '2px',
radiusPrimitive: '4px',
radiusSmallContainer: '8px',
radiusLargeContainer: '12px',
Expand Down

0 comments on commit 864bde1

Please sign in to comment.