-
-
Notifications
You must be signed in to change notification settings - Fork 93
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
Theme builder #583
Comments
Please share screenshots or codes, Tweakpane version, the browser version, etc. to reproduce the issue. |
SvelteKit application with TypeScript Builder example (here shown much larger than on https://cocopon.github.io/tweakpane/theming/#builder): My final result (here shown much larger than the
|
I'm not a Svelte user and cannot run the code. Can you create an minimum code example without Svelte, or share the code with an executable environment like CodeSandbox? |
I'm fairly new to programming, haven't used/no experience/no account with CodeSandbox. I created a minimum code example with SvelteKit. Would appreciate if you could run in a node.js (18.16.0) environment. Then I can temporarily share my repository, if that's oke with you. |
Ah I understood your situation. Here is an example of the minimum environment to reproduce the issue using CodeSandbox: It seems that this comes from a stacking context. Inactive tabs has a translucent text and is drawn in front, but a text on the active tab is completely opaque and it's drawn behind the pseudo-element I believe that you are a good person, but there are inherent risks such as potential exposure to computer viruses or malware while running a project on a local machine. Sharing a small code that can be executed independently or using a sandboxed online code editor like CodeSandbox is very helpful for OSS maintainers. |
I'll fix this bug later, but for now here is a workaround: .tp-tbiv_t {
position: relative;
} You'll be able to fix the invisible text by adding this CSS to the page. |
Fixed in #585. Please wait for releasing the next version. |
Released in 4.0.2. |
I used the Theme builder https://cocopon.github.io/tweakpane/theming/#builder
The (text) foreground color for Tabs doesn't change.
How to change font-family and font-size for the UI?
The example shows more contrast than my final result, especially text for slider input.
The text was updated successfully, but these errors were encountered: