Skip to content

Commit

Permalink
🎨 border-radius
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-gn committed Mar 11, 2022
1 parent 07f20ca commit 6e77622
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mprisma/components",
"version": "13.0.5",
"version": "13.0.6",
"repository": {
"type": "git",
"url": "https://github.com/gabriel-gn/prisma-components.git"
Expand Down
14 changes: 14 additions & 0 deletions src/styles/default/_borders.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
@import 'variables';

.rad-0 {
border-radius: 0px !important;
}

@each $key, $val in $border-radiuss {
.rad-#{$key} {
border-radius: var(--border-radius-#{$key}) !important;
Expand All @@ -14,4 +18,14 @@
border-bottom-left-radius: var(--border-radius-#{$key}) !important;
border-bottom-right-radius: var(--border-radius-#{$key}) !important;
}

.rad-#{$key}-right {
border-top-right-radius: var(--border-radius-#{$key}) !important;
border-bottom-right-radius: var(--border-radius-#{$key}) !important;
}

.rad-#{$key}-left {
border-top-left-radius: var(--border-radius-#{$key}) !important;
border-bottom-left-radius: var(--border-radius-#{$key}) !important;
}
}

1 comment on commit 6e77622

@vercel
Copy link

@vercel vercel bot commented on 6e77622 Mar 11, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.