Text input component #30

Open
stne3960 wants to merge 26 commits from text_input into main
Owner

Addresses issue #17

Note: TheSans is a commercial font I don't have access to.

Addresses issue #17 Note: TheSans is a commercial font I don't have access to.
stne3960 added the
Design Review
Code Review
labels 2025-11-30 17:47:50 +01:00
stne3960 added 8 commits 2025-11-30 17:47:50 +01:00
stne3960 removed the
Code Review
label 2025-11-30 17:56:13 +01:00
stne3960 added 1 commit 2025-12-01 10:48:23 +01:00
Merge branch 'main' into text_input
All checks were successful
Deploy to branch.dsv.su.se / deploy (pull_request) Successful in 3m25s
3d93230d9a
stne3960 added 1 commit 2025-12-01 13:27:15 +01:00
Add component library to index, until routing is fixed
All checks were successful
Deploy to branch.dsv.su.se / deploy (pull_request) Successful in 3m32s
67f45746ca
Author
Owner
Can be viewed on: https://studentportalen-textinput.branch.dsv.su.se/
Owner
  • Wrong placeholder color (or not set)
  • Wrong text input color (or not set)
  • When focusing on an input with an error state, the error-styling should be replaced by focus-styling.
  • Make sure the component have the option for an instance to not have any placeholder text (there is no example of this in the example)
- [x] Wrong placeholder color (or not set) - [x] Wrong text input color (or not set) - [x] When focusing on an input with an error state, the error-styling should be replaced by focus-styling. - [x] Make sure the component have the option for an instance to not have any placeholder text (there is no example of this in the example)
stne3960 added 13 commits 2025-12-02 15:19:51 +01:00
Merge branch 'main' into button-component
All checks were successful
Deploy to branch.dsv.su.se / deploy (pull_request) Successful in 5m26s
617492a87f
Add component library to index, until routing is fixed
Some checks failed
Deploy to branch.dsv.su.se / deploy (pull_request) Failing after 33s
f2a5cd9d26
Remove import
All checks were successful
Deploy to branch.dsv.su.se / deploy (pull_request) Successful in 4m4s
32376bf9ac
Add correct font
All checks were successful
Deploy to branch.dsv.su.se / deploy (pull_request) Successful in 4m9s
5f9e62569d
Add text styles
All checks were successful
Deploy to branch.dsv.su.se / deploy (pull_request) Successful in 5m42s
69cb86d417
Reconverted fonts
All checks were successful
Deploy to branch.dsv.su.se / deploy (pull_request) Successful in 3m30s
f37e55f34d
Fix borders and text style, run prettier
All checks were successful
Deploy to branch.dsv.su.se / deploy (pull_request) Successful in 3m27s
ed7fb36745
Fix merge conflict
All checks were successful
Deploy to branch.dsv.su.se / deploy (pull_request) Successful in 3m32s
91f694b1c3
stne3960 added 2 commits 2025-12-02 21:44:30 +01:00
Add no placeholder example
All checks were successful
Deploy to branch.dsv.su.se / deploy (pull_request) Successful in 3m35s
2f9dbc08aa
stne3960 requested review from jare2473 2025-12-03 10:32:08 +01:00
jare2473 requested changes 2025-12-03 10:59:26 +01:00
Dismissed
jare2473 left a comment
Owner

Perfect! The input text color did not feel right to me (not enough contrast to the placeholder), so I looked at the SU website and saw that they are using black (#FFFFFF) in (some) text input fields.

So I say, let us also "break the rules" of the SU graphic profile and add this to the color palette. I have updated the text input overview and the color overview in figma.

In short, change the text input color from Base/Ink/Strong to Base/Ink/Max.

Perfect! The input text color did not feel right to me (not enough contrast to the placeholder), so I looked at the SU website and saw that they are using black (#FFFFFF) in (some) text input fields. So I say, let us also "break the rules" of the SU graphic profile and add this to the color palette. I have updated the text input overview and the color overview in figma. In short, change the text input color from Base/Ink/Strong to Base/Ink/Max.
stne3960 added 1 commit 2025-12-03 13:00:22 +01:00
Use base-ink-max for text input
All checks were successful
Deploy to branch.dsv.su.se / deploy (pull_request) Successful in 4m4s
bf5a7dc9aa
stne3960 requested review from jare2473 2025-12-04 09:07:26 +01:00
jare2473 approved these changes 2025-12-04 11:06:47 +01:00
jare2473 added
Code Review
and removed
Design Review
labels 2025-12-04 11:07:40 +01:00
All checks were successful
Deploy to branch.dsv.su.se / deploy (pull_request) Successful in 4m4s
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin text_input:text_input
git checkout text_input
Sign in to join this conversation.
No Reviewers
No Milestone
No project
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DMC/studentportalen#30
No description provided.