You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bottom underline implementation draws similarity to that of
`Spoiler`'s. We could have used `UnderlineInputBorder` on
`InputDecoration`, but that also comes with other input state styles
that we do not need (e.g.: focused, disabled, etc.).
This also adds a new helper on `ColorExtension` following a similar
naming and documentation style as other method like `withValues`. The
motivation for this is to support a faded effect applies to colors
that are possibly already transparent (i.e. have a non-one alpha
channel value).
Note that we use `withFadedAlpha` on `designVariables.textInput` because
the color is already transparent in dark mode, and the helper allows us
to multiply, instead of to override, the alpha channel of the color with
a factor.
See also:
- https://www.figma.com/design/1JTNtYo9memgW7vV6d0ygq/Zulip-Mobile?node-id=3954-13395
- https://www.figma.com/design/1JTNtYo9memgW7vV6d0ygq/Zulip-Mobile?node-id=3862-14350
- zulip#928 (comment)
Signed-off-by: Zixuan James Li <[email protected]>
0 commit comments