svelteuidev / svelteui

SvelteUI Monorepo
https://svelteui.dev
MIT License
1.28k stars 64 forks source link

Wrong CSS selector in `Input` styles #370

Closed longnguyen2004 closed 1 year ago

longnguyen2004 commented 1 year ago

What package has an issue

@svelteuidev/core

A clear and concise description of what the bug is

https://github.com/svelteuidev/svelteui/blob/83b3fb34a1445fa3a4ca6f06601c036d4c2d6320/packages/svelteui-core/src/components/Input/Input.styles.ts#L43-L45

This should be input, and not .input. This causes the text input to stay black when dark mode is enabled.

image image

In which browser(s) did the problem occur?

Firefox, Chrome, Microsoft Edge

Steps To Reproduce

Make a TextInput, and turn on dark mode.

Do you know how to fix the issue

Yes

Are you willing to participate in fixing this issue and create a pull request with the fix

Yes

Relevant Assets

No response