Docs: Kivy Style (#5425)

Co-authored-by: Silvris <[email protected]>
Co-authored-by: black-sliver <[email protected]>
This commit is contained in:
Fabian Dill
2025-09-09 19:33:31 +02:00
committed by GitHub
co-authored by Silvris black-sliver
parent 18ac9210cb
commit 287bb638a0
+6
View File
@@ -60,3 +60,9 @@
* Indent `case` inside `switch ` with 2 spaces.
* Use single quotes.
* Semicolons are required after every statement.
## KV
* Style should be defined in `.kv` as much as possible, only Python when unavailable.
* Should follow [our Python style](#python-code) where appropriate (quotation marks, indentation).
* When escaping a line break, add a space between code and backslash.