Skip to content
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

chore: unified textfield and textarea api #140

Merged
merged 2 commits into from
Jan 15, 2025

Conversation

vkaltyrin
Copy link
Collaborator

No description provided.

@vkaltyrin vkaltyrin requested a review from malilex as a code owner January 9, 2025 14:38
@vkaltyrin vkaltyrin force-pushed the feature/vakaltyrin/textfield-unification branch from fee6c78 to bf4ee15 Compare January 13, 2025 12:50
@vkaltyrin vkaltyrin force-pushed the feature/vakaltyrin/textfield-unification branch from 5791fd0 to bf4ee15 Compare January 13, 2025 12:52
@vkaltyrin vkaltyrin force-pushed the feature/vakaltyrin/textfield-unification branch from 85a103f to 859f40a Compare January 13, 2025 12:58
endContentColor: .surfaceInverseSolidPrimary.withOpacity(0.96),
textColorReadOnly: .surfaceInverseSolidPrimary.withOpacity(0.96),
captionColorReadOnly: .surfaceInverseSolidPrimary.withOpacity(0.56),
counterColorReadOnly: .surfaceInverseSolidPrimary.withOpacity(0.56),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Токены не корректные. В sdds-serv readOnly цвета отличаются только для backgroundColor и endContentColor.
И альфа уже есть в самих токенах. Только backgroundColorReadOnly и endContentColorReadOnly накладывают дополнительную альфу в 0.4.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@malilex планировал настроить уже из конфига, но тогда сделаю уже здесь

startContentColor: .surfaceInverseSolidPrimary.withOpacity(0.96),
endContentColor: .surfaceInverseSolidPrimary.withOpacity(0.96),
textColorReadOnly: .surfaceInverseSolidPrimary.withOpacity(0.96),
captionColorReadOnly: .surfaceInverseSolidPrimary.withOpacity(0.56),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

и тут

@vkaltyrin vkaltyrin force-pushed the feature/vakaltyrin/textfield-unification branch from 42ac85d to aa2c2cc Compare January 15, 2025 15:21
@vkaltyrin vkaltyrin merged commit 82b147d into develop Jan 15, 2025
3 checks passed
@vkaltyrin vkaltyrin deleted the feature/vakaltyrin/textfield-unification branch January 15, 2025 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants