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
+15-1Lines changed: 15 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,20 @@
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
+
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
+
4
18
5
19
This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
0 commit comments