Add a button-style for subtle highlighting

and use it to subtly highlight commonly used symbols in the
accent-views of the German layouts.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/637>
This commit is contained in:
MoonlightWave-12
2024-04-02 18:24:05 +02:00
parent e0092bd860
commit 5ac85d21b9
6 changed files with 122 additions and 38 deletions

View File

@ -1,11 +1,12 @@
---
outlines:
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
change-view: { width: 52.67, height: 52 }
wide: { width: 62, height: 52 }
spaceline: { width: 89.3, height: 52 }
special: { width: 35.33, height: 52 }
default: { width: 35.33, height: 52 }
subtle-highlight: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
change-view: { width: 52.67, height: 52 }
wide: { width: 62, height: 52 }
spaceline: { width: 89.3, height: 52 }
special: { width: 35.33, height: 52 }
views:
base:
@ -31,7 +32,7 @@ views:
eschars:
- "ä è é ö ü Ä È É Ö Ü"
- "à â ê î ô À Â È Î Ô"
- "show_numbers « » ç Ç æ œ ß BackSpace"
- "show_numbers « » ç Ç æ œ ß-subtle-highlight BackSpace"
- "show_letters show_eschars preferences space „ “ Return"
buttons:
@ -79,3 +80,18 @@ buttons:
outline: "altline"
icon: "key-enter"
keysym: "Return"
ä:
outline: "subtle-highlight"
ö:
outline: "subtle-highlight"
ü:
outline: "subtle-highlight"
Ä:
outline: "subtle-highlight"
Ö:
outline: "subtle-highlight"
Ü:
outline: "subtle-highlight"
ß-subtle-highlight:
outline: "subtle-highlight"
text: "ß"