Skip to content

Commit

Permalink
feat: Improve snippet: border-radius
Browse files Browse the repository at this point in the history
  • Loading branch information
ruedap committed Mar 27, 2018
1 parent ddce598 commit 65f2506
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# CHANGELOG

## master (unreleased)
* Nothing
* Improve snippet:
* `bdrs` (`border-radius`)

## 0.11.0
* Add snippets:
Expand Down
2 changes: 1 addition & 1 deletion emma.css
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@
.bdrs5 { border-radius: 5px !important; }
.bdrs6 { border-radius: 6px !important; }
.bdrs9999 { border-radius: 9999px !important; }
.bdrs100p { border-radius: 100% !important; }
.bdrs50p { border-radius: 50% !important; }
.c-ih { color: inherit !important; }
.c-white { color: #ffffff !important; }
.c-silver { color: #dddddd !important; }
Expand Down
4 changes: 2 additions & 2 deletions sass/rules/_border-radius.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@
border-radius: 9999px #{emma-important($emma-important)};
}

.#{$emma-prefix}bdrs100p {
border-radius: 100% #{emma-important($emma-important)};
.#{$emma-prefix}bdrs50p {
border-radius: 50% #{emma-important($emma-important)};
}
4 changes: 2 additions & 2 deletions src/emma-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1605,8 +1605,8 @@ rules:
name: 9999px
abbr: '9999'
-
name: 100%
abbr: 100p
name: 50%
abbr: 50p
-
name: background
abbr: bg
Expand Down

0 comments on commit 65f2506

Please sign in to comment.