Skip to content

Commit

Permalink
doc/parameters/Color: add colors to each class atribute
Browse files Browse the repository at this point in the history
This makes it much easier to pick the right color.
  • Loading branch information
laurensvalk committed Aug 12, 2020
1 parent 282e34b commit c6c14af
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions doc/api/parameters.rst
Original file line number Diff line number Diff line change
Expand Up @@ -90,20 +90,51 @@
.. rubric:: Saturated colors

.. autoattribute:: RED

.. pybricks-color:: RED

.. autoattribute:: ORANGE

.. pybricks-color:: ORANGE

.. autoattribute:: YELLOW

.. pybricks-color:: YELLOW

.. autoattribute:: GREEN

.. pybricks-color:: GREEN

.. autoattribute:: CYAN

.. pybricks-color:: CYAN

.. autoattribute:: BLUE

.. pybricks-color:: BLUE

.. autoattribute:: VIOLET

.. pybricks-color:: VIOLET

.. autoattribute:: MAGENTA

.. pybricks-color:: MAGENTA

.. rubric:: Unsaturated colors

.. autoattribute:: BLACK

.. pybricks-color:: BLACK

.. autoattribute:: GRAY

.. pybricks-color:: GRAY

.. autoattribute:: WHITE

.. pybricks-color:: WHITE

.. autoclass:: pybricks.parameters.Button
:no-members:

Expand Down

0 comments on commit c6c14af

Please sign in to comment.