1
1
mirror of https://github.com/primer/css.git synced 2025-01-04 20:33:13 +03:00

Merge branch 'release-12.4.1' into update-docs

This commit is contained in:
Shawn Allen 2019-06-20 11:03:11 -07:00 committed by GitHub
commit c80310109c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 9 deletions

View File

@ -90,7 +90,6 @@ status: Stable
source: 'https://github.com/primer/css/tree/master/src/alerts'
bundle: alerts
---
```
### Documentation Anatomy

View File

@ -2,9 +2,6 @@
// stylelint-disable primer/selector-no-utility
// stylelint-disable block-opening-brace-space-before, comment-empty-line-before
/* Add a gray border on all edges */
.border { border: $border !important; }
/* Add a gray border to the left and right */
.border-x {
border-right: $border !important;
@ -17,11 +14,6 @@
border-bottom: $border !important;
}
/* Change the border style to dashed, in conjunction with another utility */
.border-dashed {
border-style: dashed !important;
}
$edges: (
top: (top-left, top-right),
right: (top-right, bottom-right),
@ -88,6 +80,11 @@ $edges: (
/* Add a 50% border-radius to make something into a circle */
.circle { border-radius: 50% !important; }
/* Change the border style to dashed, in conjunction with another utility */
.border-dashed {
border-style: dashed !important;
}
/* Use with .border to turn the border blue */
.border-blue { border-color: $border-blue !important; }
/* Use with .border to turn the border blue-light */