diff options
| author | Michael Howell <michael@notriddle.com> | 2022-11-10 16:51:14 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2022-11-10 17:22:37 -0700 |
| commit | 0f3ae6218ef1d9e9b14bf983b463785b14abc205 (patch) | |
| tree | 859e2435f19e5e188d5b006690aa266746d3dddf /compiler/rustc_interface/src | |
| parent | a3c0a023611fcaf5ae3ec242d7d60e356041d25f (diff) | |
| download | rust-0f3ae6218ef1d9e9b14bf983b463785b14abc205.tar.gz rust-0f3ae6218ef1d9e9b14bf983b463785b14abc205.zip | |
rustdoc: use checkbox instead of switch for settings toggles
The switch is designed to give the application a "physical" feel, but nothing else in here really followed through. They didn't support the "flick" gesture that real iOS switches support, and the radio buttons that were also used in Rustdoc Settings were a more "classic" form element anyway. Also, while "switches" are the exclusive toggle design on iOS (since [Apple HIG] reserves checkboxes for Mac only), the [Google Material] guidelines say that lists of switches are bad, and you should just use check boxes. [Apple HIG]: https://developer.apple.com/design/human-interface-guidelines/components/selection-and-input/toggles [Google Material]: https://m3.material.io/components/checkbox/guidelines#6902f23d-ceba-4b19-ae3b-b78b9b01d185
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions
