-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(input): add the readonly styles for the ionic theme #29483
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -7,6 +7,8 @@ | |||
// -------------------------------------------------- | |||
|
|||
:host { | |||
// TODO(ROU-5477): use design token here when it is added | |||
--color: #121212; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was it verified that it's going to be added? Else we might need to reach out to the designers to verify that this hex is the correct value. Figma has inconsistency for the value, it says #121212 / Neutral/Neutrals 900
but --ionic-color-neutral-900
value does not match.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes I have verified that the design tokens for state have yet to be added. I actually asked about this specific hex before because I ran into it in other components. They are planned in ROU-4870 which is linked as a blocker to the ticket I added here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Issue number: internal
What is the current behavior?
There are no custom styles when readonly is added to an input.
What is the new behavior?
input-readonly
class when thereadonly
property istrue
ionic
theme to match the design requirements for readonly inputsfill
and"outline"
fillDoes this introduce a breaking change?
Other information
Preview