Closed WalkingOS closed 1 year ago
Hi @WalkingOS
This is probably not well documented, but wherever you set the dark background in styles, you should set `--sbb-focus-outline-color: var(--sbb-focus-outline-color-dark); With that, all arbitrary usage of the focus outline will be changed.
@WalkingOS : My answer was wrong!
For the sbb-form-field we don't use normal focus outline, so we need to create a special solution here for negative context. @mcilurzo, Can you think about a solution?
@jeripeierSBB at least you can give the delete-button the focus style.
I'm not sure if this the scope of this. But it seems that the cursor of the input field is not visible when the background is negative
hmm I see the cursor. In which browser you don't see the cursor?
Fix for cases like the delete button: https://github.com/lyne-design-system/lyne-components/pull/1947
@jeripeierSBB True.. in Macos Chrome/safari its working. In Windows chrome i dont see the cursor :D
@jeripeierSBB True.. in Macos Chrome/safari its working. In Windows chrome i dont see the cursor :D
At least with a remote connection to a windows computer I couldn't reproduce this. I'll have to try later. Did you also test with https://lyne-components-preview-pr1815.app.sbb.ch/iframe.html?args=&id=pages-search-overlay--search-instant-results&viewMode=story ?
Preflight Checklist
Bug type
Accessibility
It affects the following packages
Design Tokens
Which version of Lyne Components are you using
0.33.10
Operating system
No response
Browser / Browser version
No response
Input mode
None
Additional settings
No response
What happened?
If we have a dark background and want to use a form-field, we should have a light focus style when tabbing to the field.
use case (search-overlay with a negative sbb-dialog)
Steps to reproduce the issue
Relevant log output
No response