mirror of
https://github.com/primer/css.git
synced 2024-09-19 20:57:37 +03:00
Add .color-bg-transparent (#1985)
* Add .color-bg-transparent * Create ninety-phones-run.md Co-authored-by: Jon Rohan <rohan@github.com>
This commit is contained in:
parent
d3792211df
commit
c2bd6bc9bf
5
.changeset/ninety-phones-run.md
Normal file
5
.changeset/ninety-phones-run.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@primer/css": patch
|
||||
---
|
||||
|
||||
Adding .color-bg-transparent utility class
|
@ -75,6 +75,8 @@ Background colors are most commonly used for filling large blocks of content or
|
||||
|
||||
<div class="color-bg-sponsors p-2 rounded mb-2">.color-bg-sponsors</div>
|
||||
<div class="color-bg-sponsors-emphasis color-fg-on-emphasis p-2 rounded">.color-bg-sponsors-emphasis</div>
|
||||
|
||||
<div class="color-bg-transparent p-2 rounded mb-2">.color-bg-transparent</div>
|
||||
```
|
||||
|
||||
## Border
|
||||
|
@ -53,6 +53,8 @@
|
||||
.color-bg-sponsors { background-color: var(--color-sponsors-subtle) !important; }
|
||||
.color-bg-sponsors-emphasis { background-color: var(--color-sponsors-emphasis) !important; }
|
||||
|
||||
.color-bg-transparent { background-color: transparent !important; }
|
||||
|
||||
// Border
|
||||
|
||||
.color-border-default { border-color: var(--color-border-default) !important; }
|
||||
|
Loading…
Reference in New Issue
Block a user