Add GIF to show all scrollbar colors.

This commit is contained in:
Rodrigo Girão Serrão
2023-01-06 10:28:54 +00:00
parent 710697121d
commit 7743feadff
7 changed files with 36 additions and 6 deletions

View File

@@ -23,7 +23,12 @@ The `scrollbar-background` sets the background color of the scrollbar.
=== "Output"
Awaits resolution of [issue 1479](https://github.com/textualize/textual/issues/1479).
![](scrollbar_colors_demo.gif)
!!! note
The GIF above has reduced quality to make it easier to load in the documentation.
Try running the example yourself with `textual run docs/examples/styles/scrollbars2.py`.
=== "scrollbars2.py"

View File

@@ -24,7 +24,12 @@ The `scrollbar-background-active` sets the background color of the scrollbar whe
=== "Output"
Awaits resolution of [issue 1479](https://github.com/textualize/textual/issues/1479).
![](scrollbar_colors_demo.gif)
!!! note
The GIF above has reduced quality to make it easier to load in the documentation.
Try running the example yourself with `textual run docs/examples/styles/scrollbars2.py`.
=== "scrollbars2.py"

View File

@@ -24,7 +24,12 @@ The `scrollbar-background-hover` sets the background color of the scrollbar when
=== "Output"
Awaits resolution of [issue 1479](https://github.com/textualize/textual/issues/1479).
![](scrollbar_colors_demo.gif)
!!! note
The GIF above has reduced quality to make it easier to load in the documentation.
Try running the example yourself with `textual run docs/examples/styles/scrollbars2.py`.
=== "scrollbars2.py"

View File

@@ -24,7 +24,12 @@ The `scrollbar-color` sets the color of the scrollbar.
=== "Output"
Awaits resolution of [issue 1479](https://github.com/textualize/textual/issues/1479).
![](scrollbar_colors_demo.gif)
!!! note
The GIF above has reduced quality to make it easier to load in the documentation.
Try running the example yourself with `textual run docs/examples/styles/scrollbars2.py`.
=== "scrollbars2.py"

View File

@@ -24,7 +24,12 @@ The `scrollbar-color-active` sets the color of the scrollbar when the thumb is b
=== "Output"
Awaits resolution of [issue 1479](https://github.com/textualize/textual/issues/1479).
![](scrollbar_colors_demo.gif)
!!! note
The GIF above has reduced quality to make it easier to load in the documentation.
Try running the example yourself with `textual run docs/examples/styles/scrollbars2.py`.
=== "scrollbars2.py"

View File

@@ -24,7 +24,12 @@ The `scrollbar-color-hover` sets the color of the scrollbar when the cursor is o
=== "Output"
Awaits resolution of [issue 1479](https://github.com/textualize/textual/issues/1479).
![](scrollbar_colors_demo.gif)
!!! note
The GIF above has reduced quality to make it easier to load in the documentation.
Try running the example yourself with `textual run docs/examples/styles/scrollbars2.py`.
=== "scrollbars2.py"

Binary file not shown.

After

Width:  |  Height:  |  Size: 629 KiB