You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/backgroundlayers/README.md
+17-1Lines changed: 17 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,22 @@
1
1
# @spectrum-css/backgroundlayers
2
2
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
+
Make note of the context when determing the correct class to use.
5
+
6
+
Editing Context Classes:
7
+
-`spectrum-BackgroundLayers-edit-elevated`
8
+
-`spectrum-BackgroundLayers-edit-layer2`
9
+
-`spectrum-BackgroundLayers-edit-layer1`
10
+
-`spectrum-BackgroundLayers-edit-pasteboard`
11
+
12
+
Browsing Context Classes:
13
+
-`spectrum-BackgroundLayers-browse-elevated`
14
+
-`spectrum-BackgroundLayers-browse-layer1`
15
+
-`spectrum-BackgroundLayers-browse-base`
16
+
17
+
To used these classes:
18
+
- add background layers as a dependency
19
+
- Use appropraite class on the element which should display the background layer
4
20
5
21
This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
0 commit comments