From 114f445e033552a96addab75ac2905b8d3c56a80 Mon Sep 17 00:00:00 2001 From: Clyde Stubbs <2366188+clydebarrow@users.noreply.github.com> Date: Thu, 19 Sep 2024 14:17:08 +1000 Subject: [PATCH] [lvgl] Enhancements (#4253) --- components/lvgl/index.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/components/lvgl/index.rst b/components/lvgl/index.rst index 86a0a5651..1a88404a9 100644 --- a/components/lvgl/index.rst +++ b/components/lvgl/index.rst @@ -18,6 +18,13 @@ For interactivity, a :doc:`Touchscreen ` (capacit Check out the detailed examples in :ref:`the Cookbook ` which demonstrate a number of ways you can integrate your environment with LVGL and ESPHome. +To get started, it is sufficient to add a display and an empty LVGL configuration. If neither ``pages`` nor ``widgets`` is specified, then a default "hello world" page will be shown. + +.. code-block:: yaml + + # Example minimal configuration entry + lvgl: + Basics ------ @@ -156,6 +163,8 @@ Colors Colors can be specified anywhere in the LVGL configuration either by referencing a preconfigured :ref:`ESPHome color ` ID or by representing the color in the common hexadecimal notation. For example, ``0xFF0000`` would be red. +You may also use any of the `standard CSS color names `__, e.g. ``springgreen``. + .. _lvgl-opacity: Opacity