hex/ios/HEXShared/FullKeyboard
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 5acb675526
iOS keyboard: Key colors (was Keyboard themes): themes colour the keys, not the background (#2778)
* iOS keyboard themes colour the keys, not the background

Ryan sent #2458 back: a theme's opaque panel is cut off where iOS's own band
meets it, above the keys (a panel inside iOS's panel) and over the globe and
microphone row below. A theme now colours the keys only.

- Removed KeyboardThemePanelView and the palette's drawsOwnBackground: the
  background is iOS's glass under every theme, so nothing meets iOS's band.
- A theme no longer forces light or dark. The palette follows the field, and
  everything on the glass (strip words and capsule, menus, the emoji grid,
  the Hex mark in the strip) is Automatic's for that appearance. White's own
  strip capsule and key shadow are gone with its white panel.
- Theme colours are key colours, the same in light and dark: every keycap,
  special keys included, pressed and held states, the key pop-up and accent
  callout, the return key's action colour, and the labels (keyText,
  keyTextMuted). Navy, Forest and Ember move to mid tones (OKLCH L 0.40) so
  keys read on light and dark glass; Black is black keys, White white keys.
- Burgundy joins as a key theme (勃艮第红, as in #2458).
- Stored choices keep their raw values, so a Navy pick becomes Navy keys.
- The dictation bar keeps the system look, as before.

KeyboardThemeTests (existing file) now checks that a theme leaves the glass
to the system in light and dark, that Automatic is unchanged, and labels at
4.5:1 on every key state, pop-up and space-bar name, light and dark.

* iOS key themes: the number pad's digits and the iPad's flick keys take the theme

Merged dev brought the number pad and iPad key flicks, which drew their labels
in the glass's ink. Under a theme that put black digits on navy keys in light
mode. The number pad's digit keys now take the key label colour; its delete
and separator stand on iOS's glass, so they keep the system's ink and, when
pressed, the system's held grey (new systemHeldFill, Automatic's own value,
so Automatic is unchanged). A flick key's label and its hint take the key
label colour too. The strip's Passwords chip was already on the glass's
colours and is unchanged.

Checked: build on the Studio, number pad in Navy light and dark on the
simulator.

* iOS: Settings › Experiments › Keyboard themes is now Key colors

Ryan's call after the key-themes sheet: the experiment says what it does now.
The switch reads Key colors (按键颜色) and its menu row Color (颜色); the old
"Keyboard themes" and "Theme" strings are removed from the catalog.
American spelling, as the app's other strings are (color, optimizing,
off-center). Only what a person reads changed: the stored keys
(experiments.keyboardThemes, settings.keyboardTheme) and the launch arguments
keep their names, so every existing choice carries over. Docs and comments
naming the setting follow.
2026-11-24 18:29:19 -05:00
..
Autocorrect iOS keyboard: Slovenčina, on Czech's keys with Apple's Slovak long presses (#2462) 2026-11-24 18:21:24 -05:00
Emoji iOS keyboard: Key colors (was Keyboard themes): themes colour the keys, not the background (#2778) 2026-11-24 18:29:19 -05:00
Engine iOS keyboard: Apple's key flicks on the docked iPad (#2549) 2026-11-24 17:48:58 -05:00
View iOS keyboard: Key colors (was Keyboard themes): themes colour the keys, not the background (#2778) 2026-11-24 18:29:19 -05:00
AccentPicker.swift iOS keyboard: Key colors (was Keyboard themes): themes colour the keys, not the background (#2778) 2026-11-24 18:29:19 -05:00
AdaptiveTouch.swift ios: add Dvorak punctuation keys experiment (#2373) 2026-11-22 09:31:25 -05:00
AdaptiveTouchLabels.swift iOS: Adaptive touch, personal key centres learned on device (Experiment, off by default) (#2146) 2026-11-21 06:13:04 +00:00
CzechTyping.swift iOS keyboard: Slovenčina, on Czech's keys with Apple's Slovak long presses (#2462) 2026-11-24 18:21:24 -05:00
DeleteWordSwipe.swift iOS keyboard: Korean two-set (두벌식) layout with Hangul composition (experiment, off by default) (#2339) 2026-11-22 04:39:53 -05:00
DictationUndo.swift iOS: Undo dictation works after the cursor moves, and goes when it can't (#2240) 2026-11-21 15:15:23 -05:00
FullKeyboardPalette.swift iOS keyboard: Key colors (was Keyboard themes): themes colour the keys, not the background (#2778) 2026-11-24 18:29:19 -05:00
FullKeyboardSettings.swift iOS keyboard: Key colors (was Keyboard themes): themes colour the keys, not the background (#2778) 2026-11-24 18:29:19 -05:00
FullKeyboardTouch.swift iOS keyboard: Apple's key flicks on the docked iPad (#2549) 2026-11-24 17:48:58 -05:00
GermanCapitals.swift iOS keyboard: French reads Hex's own word list and capitals, not the phone's dictionary (#2404) 2026-11-22 13:34:40 -05:00
GreekTyping.swift iOS keyboard: a late host echo keeps the swipe's pending space (#2273) 2026-11-21 19:14:42 -05:00
HangulComposer.swift iOS keyboard: Korean two-set (두벌식) layout with Hangul composition (experiment, off by default) (#2339) 2026-11-22 04:39:53 -05:00
HexKeyGesture.swift iOS: the keyboard starts listening on touch-down, with its capture page ready when it opens (#2089) 2026-11-20 20:04:35 +00:00
HexKeyViews.swift iOS keyboard: Key colors (was Keyboard themes): themes colour the keys, not the background (#2778) 2026-11-24 18:29:19 -05:00
KeyboardBackdropView.swift iOS keyboard: Key colors (was Keyboard themes): themes colour the keys, not the background (#2778) 2026-11-24 18:29:19 -05:00
KeyboardClipboard.swift iOS keyboard: a Passwords chip in login fields (#2542) 2026-11-24 17:48:47 -05:00
KeyboardFieldKind.swift iOS keyboard: Hex's own number pad for number fields (#2541) 2026-11-24 17:48:35 -05:00
KeyboardFlicks.swift iOS keyboard: Apple's key flicks on the docked iPad (#2549) 2026-11-24 17:48:58 -05:00
KeyboardKeyPlaneView.swift iOS keyboard: Key colors (was Keyboard themes): themes colour the keys, not the background (#2778) 2026-11-24 18:29:19 -05:00
KeyboardLanguage.swift iOS keyboard: Slovenčina, on Czech's keys with Apple's Slovak long presses (#2462) 2026-11-24 18:21:24 -05:00
KeyboardLaunchWork.swift iOS: the dictation bar can start dictating by itself (Auto-start: never, on switch, always) (#2267) 2026-11-21 17:08:50 -05:00
KeyboardLayout+CommaPeriod.swift iOS keyboard: Experiments › Comma and period keys beside the space bar (#2392) 2026-11-22 12:11:21 -05:00
KeyboardLayout.swift iOS keyboard: Apple's key flicks on the docked iPad (#2549) 2026-11-24 17:48:58 -05:00
KeyboardNumberPad.swift iOS keyboard: Hex's own number pad for number fields (#2541) 2026-11-24 17:48:35 -05:00
KeyboardPadRows.swift iOS keyboard: Apple's key flicks on the docked iPad (#2549) 2026-11-24 17:48:58 -05:00
KeyboardStripView.swift iOS keyboard: a Passwords chip in login fields (#2542) 2026-11-24 17:48:47 -05:00
KeyboardTheme.swift iOS keyboard: Key colors (was Keyboard themes): themes colour the keys, not the background (#2778) 2026-11-24 18:29:19 -05:00
LanguageLearning.swift ios: learn each language separately (experiment) (#2188) 2026-11-21 09:00:58 -05:00
never-suggest.tsv iOS: never suggest slurs, and swear words only when asked (#2093) 2026-11-20 20:17:31 +00:00
OffensiveWords.swift iOS: never suggest slurs, and swear words only when asked (#2093) 2026-11-20 20:17:31 +00:00
ReturnKeyStyle.swift iOS: Return follows the app's return key type, and the dictation bar's does too (#2200) 2026-11-21 09:54:57 -05:00
ShiftStateMachine.swift iOS keyboard: Hex's own number pad for number fields (#2541) 2026-11-24 17:48:35 -05:00
SmartPunctuation.swift iOS keyboard: Svenska, Apple's Swedish keys and long presses, the iPhone's sv dictionary (#2558) 2026-11-24 18:20:36 -05:00
SwipeDecoder.swift iOS: swipe reads the letters under the path, and the emoji bar scrubs (#2189) 2026-11-21 08:47:45 -05:00
SwipeTyping.swift iOS keyboard: Key colors (was Keyboard themes): themes colour the keys, not the background (#2778) 2026-11-24 18:29:19 -05:00
TextChecking.swift iOS keyboard: French reads Hex's own word list and capitals, not the phone's dictionary (#2404) 2026-11-22 13:34:40 -05:00
TrackpadCursor.swift iOS keyboard: the trackpad takes an unchanged context as the text's start or end (#2482) 2026-11-23 01:27:52 -05:00
TrackpadSelection.swift iOS: two-thumb selection on the space bar (experiment, off by default) (#2265) 2026-11-21 20:44:15 -05:00
TrackpadSelectionStrip.swift iOS: two-thumb selection on the space bar (experiment, off by default) (#2265) 2026-11-21 20:44:15 -05:00
TypingDecoder.swift ios keyboard: read a missed space with a slip, and run-together words (#2244) 2026-11-21 16:15:02 -05:00
TypingJournal.swift iOS: Apple's . key in web search fields (Safari's address bar) (#2460) 2026-11-22 21:58:46 -05:00
TypingJournalLearning.swift Learn how I type: a word erased and retyped teaches only when it was a slip of the new one (#2438) 2026-11-22 18:54:23 -05:00