blog post

This commit is contained in:
Will McGugan
2022-11-08 17:34:55 +00:00
parent 249b0d366e
commit 2e02975274
6 changed files with 7 additions and 6 deletions

View File

@@ -1,3 +1,3 @@
# Textual Blog # Textual Blog
Welcome to the Textual blog, where we post about the latest releases and developments in the Textual world. New blog

View File

@@ -15,7 +15,6 @@
<meta property="og:url" content="{{ page.canonical_url | url }}"> <meta property="og:url" content="{{ page.canonical_url | url }}">
<meta property="og:site_name" content="Textual Documentation"> <meta property="og:site_name" content="Textual Documentation">
<meta property="og:description" content="Textual is a TUI framework for Python, inspired by modern web development."> <meta property="og:description" content="Textual is a TUI framework for Python, inspired by modern web development.">
<meta property="og:image" content="https://raw.githubusercontent.com/Textualize/textual/main/imgs/textual.png"> <meta property="og:image" content="https://raw.githubusercontent.com/Textualize/textual/main/imgs/textual.png">
{% endblock %} {% endblock %}

View File

@@ -13,11 +13,11 @@ h3 .doc-heading code {
monospace; monospace;
} }
body[data-md-color-primary="indigo"] .excalidraw svg { body[data-md-color-primary="black"] .excalidraw svg {
filter: invert(100%) hue-rotate(180deg); filter: invert(100%) hue-rotate(180deg);
} }
body[data-md-color-primary="indigo"] .excalidraw svg rect { body[data-md-color-primary="black"] .excalidraw svg rect {
fill: transparent; fill: transparent;
} }

View File

@@ -175,7 +175,7 @@ theme:
name: Switch to dark mode name: Switch to dark mode
- media: "(prefers-color-scheme: dark)" - media: "(prefers-color-scheme: dark)"
scheme: slate scheme: slate
primary: indigo primary: black
toggle: toggle:
icon: material/weather-night icon: material/weather-night
name: Switch to light mode name: Switch to light mode
@@ -189,6 +189,7 @@ plugins:
as_creation: date as_creation: date
categories: categories:
- categories - categories
- release
- tags - tags
- search: - search:
- autorefs: - autorefs:

View File

@@ -32,7 +32,7 @@ class Pilot:
"""Simulate key-presses. """Simulate key-presses.
Args: Args:
*key: Keys to press. *keys: Keys to press.
""" """
if keys: if keys:

View File

@@ -68,6 +68,7 @@ class Reactive(Generic[ReactiveType]):
layout (bool, optional): Perform a layout on change. Defaults to False. layout (bool, optional): Perform a layout on change. Defaults to False.
repaint (bool, optional): Perform a repaint on change. Defaults to True. repaint (bool, optional): Perform a repaint on change. Defaults to True.
always_update(bool, optional): Call watchers even when the new value equals the old value. Defaults to False. always_update(bool, optional): Call watchers even when the new value equals the old value. Defaults to False.
Returns: Returns:
Reactive: A Reactive instance which calls watchers or initialize. Reactive: A Reactive instance which calls watchers or initialize.
""" """