Skip to content

Commit

Permalink
feat(utils): add border style utility classnames
Browse files Browse the repository at this point in the history
  • Loading branch information
joneff committed Feb 15, 2021
1 parent 2568bd2 commit 7bbef55
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions packages/default/scss/utils/_border.scss
Expand Up @@ -11,6 +11,14 @@
"border-left",
) !default;

$utils-border-style: (
solid,
dashed,
dotted,
double,
none
) !default;

$utils-border-width: (
0: 0,
1: 1px
Expand All @@ -34,6 +42,14 @@
}
}

@if $utils-border-style {
@each $style in $utils-border-style {
.k-border-#{$style} {
border-style: $style !important;
}
}
}

@if $utils-border-color {
@each $name, $color in $utils-border-color {
.k-border-#{$name} {
Expand Down

0 comments on commit 7bbef55

Please sign in to comment.