summaryrefslogtreecommitdiff
path: root/doc/ui_guidelines.md
diff options
context:
space:
mode:
authorRiku Isokoski <riksu9000@gmail.com>2021-08-15 10:35:15 (GMT)
committerRiku Isokoski <riksu9000@gmail.com>2021-08-15 10:35:15 (GMT)
commit3cef05b7451fca3b2bbd5e96714c0262d52ac4d1 (patch)
tree119c4017bfd5bbe798e025d0ba2299b044fb821e /doc/ui_guidelines.md
parentc3d8ee14fe7b0e00627e1f12d4c6654c60fc3b72 (diff)
parentee44b6ff4998d6f4d0672c05c1f65c0a9692dc0d (diff)
Merge branch 'develop' into refresh_rework
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)