Skip to content

Commit

Permalink
GitBook: [#34] No subject
Browse files Browse the repository at this point in the history
  • Loading branch information
booploops authored and gitbook-bot committed May 10, 2022
1 parent 259ba63 commit 1ed5da6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
3 changes: 2 additions & 1 deletion SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

* [Creating a theme](themes/theme-stylesheets.md)
* [Theme definitions (theme.json)](themes/theme-definitions-theme.json.md)
* [Available Attributes](themes/available-attributes.md)
* [Using Resources in Themes](themes/using-resources-in-themes.md)
* [Publishing to GitHub](themes/publishing-to-github.md)

Expand All @@ -37,4 +38,4 @@
## ✋ Support

* [Troubleshooting](support/troubleshooting.md)
* [FAQ](support/faqs.md)
* [FAQ](support/faqs.md)
10 changes: 10 additions & 0 deletions themes/available-attributes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Available Attributes

Attributes are applied to elements to expose app state information to CSS

| Attribute Pattern | Values | Description |
| --------------------- | ------------------------------------------------------------------------------------------ | ------------------------- |
| body\[video-playing] | | Is a music video playing? |
| body\[focus-state] | <ul><li><code>focused</code></li><li><code>blurred</code></li></ul> | Focus state of the window |
| body\[playback-state] | <ul><li><code>playing</code></li><li><code>paused</code></li></ul> | Current playback state |
| #app\[window-style] | <ul><li><code>default</code> - Cupertino</li><li><code>twopanel</code> - Redmond</li></ul> | Window Layout Style |

0 comments on commit 1ed5da6

Please sign in to comment.