summaryrefslogtreecommitdiff
path: root/doc/ui_guidelines.md
diff options
context:
space:
mode:
authorRiku Isokoski <riksu9000@gmail.com>2021-08-18 19:07:02 (GMT)
committerRiku Isokoski <riksu9000@gmail.com>2021-08-18 19:07:02 (GMT)
commit85c99797dad39348976d92ecf935536f362ee2c5 (patch)
tree820a3bbe74993ff6ce6b7f430d187a397a46f363 /doc/ui_guidelines.md
parentfe33c756b7326cbf0a6c70822b70cff4dc2e3401 (diff)
parentdf8ea7fe523bb9ec0ac3e24f0b1bebe5743d90cc (diff)
Merge branch 'develop' into new_touch_handler
Diffstat (limited to 'doc/ui_guidelines.md')
-rw-r--r--doc/ui_guidelines.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/ui_guidelines.md b/doc/ui_guidelines.md
new file mode 100644
index 0000000..c267b79
--- /dev/null
+++ b/doc/ui_guidelines.md
@@ -0,0 +1,16 @@
+# UI design guidelines
+
+- Align objects all the way to the edge or corner
+- Buttons should generally be at least 50px high
+- Buttons should generally be on the bottom edge
+- Make interactable objects **big**
+- Recommendations for inner padding, aka distance between buttons:
+ - When aligning 4 objects: 4px, e.g. Settings
+ - When aligning 3 objects: 6px, e.g. App list
+ - When aligning 2 objects: 10px, e.g. Quick settings
+- When using a page indicator, leave 8px for it on the right side
+ - It is acceptable to leave 8px on the left side as well to center the content
+- Top bar takes at least 20px + padding
+ - Top bar right icons move 8px to the left when using a page indicator
+
+![example layouts](./ui/example.png)