Skip to content

Commit 3b65a44

Browse files
committed
docs(backgroundlayers): add to readme
1 parent 51d3566 commit 3b65a44

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

components/backgroundlayers/README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
# @spectrum-css/backgroundlayers
22

3-
> The Spectrum CSS background layers component
3+
> The Spectrum CSS background layers is a set of utility classes used to apply Spectrum 2 app framing. Consult design documentation for further usage and infomation.
4+
5+
To use these classes add the approproate layers and contexts class to the element that the background styling should be applied. Make note of the context when determing the correct class to use.
6+
7+
Editing Context Classes:
8+
- `spectrum-BackgroundLayers--elevated`
9+
- `spectrum-BackgroundLayers--layer2`
10+
- `spectrum-BackgroundLayers--layer1`
11+
- `spectrum-BackgroundLayers--pasteboard`
12+
13+
Browsing Context Classes:
14+
- `spectrum-BackgroundLayers--elevated`
15+
- `spectrum-BackgroundLayers--layer1`
16+
- `spectrum-BackgroundLayers--base`
17+
418

519
This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
620

0 commit comments

Comments
 (0)