diff --git a/jekyll/_components/doorhangers.md b/jekyll/_components/doorhangers.md index f57e1fdf3..2354114e9 100644 --- a/jekyll/_components/doorhangers.md +++ b/jekyll/_components/doorhangers.md @@ -15,6 +15,15 @@ Doorhangers provide a way to present decisions to users which is less intrusive Doorhangers are used for prompt and notification; they are used for full featured UI; or they are used for list and menu as in the example on the left. +
+![Doorhangers as menu overflow containers](../images/components/doorhangers/doorhanger-overflow.png) + +
+A doorhanger should be used to provide access to overflowing menu items as seen in the DevTools main toolbar. +
+
+ + ## Structure ### Directional Arrow @@ -87,6 +96,22 @@ Maximum Width: `320px` +### Dark mode + +
+![Doorhanger appearance in dark mode](../images/components/doorhangers/doorhanger-darkmode.png) + +
+Occurrences of the doorhanger component in DevTools should adapt to the users' selected theme. + +Background: Grey 60 `#4a4a4f` + +Text: Grey 10 `#f9f9fa` + +Background Hover: `rgba(249,249,250,.1)` *Photon color needed* +
+
+ ## Behavior Clicking outside of the active area dismiss doorhangers. diff --git a/jekyll/images/components/doorhangers/doorhanger-darkmode.png b/jekyll/images/components/doorhangers/doorhanger-darkmode.png new file mode 100644 index 000000000..374f67606 Binary files /dev/null and b/jekyll/images/components/doorhangers/doorhanger-darkmode.png differ diff --git a/jekyll/images/components/doorhangers/doorhanger-overflow.png b/jekyll/images/components/doorhangers/doorhanger-overflow.png new file mode 100644 index 000000000..22d88f77a Binary files /dev/null and b/jekyll/images/components/doorhangers/doorhanger-overflow.png differ