From 287bb638a09ad6ef4d0c154d915fa569da76fbd5 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Tue, 9 Sep 2025 19:33:31 +0200 Subject: [PATCH] Docs: Kivy Style (#5425) Co-authored-by: Silvris <58583688+Silvris@users.noreply.github.com> Co-authored-by: black-sliver <59490463+black-sliver@users.noreply.github.com> --- docs/style.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/style.md b/docs/style.md index 5333155d..bb1526fa 100644 --- a/docs/style.md +++ b/docs/style.md @@ -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.