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

Adding float position in my style.json give a value error #109

Open
thisGuyab opened this issue May 4, 2024 · 3 comments
Open

Adding float position in my style.json give a value error #109

thisGuyab opened this issue May 4, 2024 · 3 comments

Comments

@thisGuyab
Copy link

I get a ValueError: invalid literal for int() with base 16: 'wh' whenever i add float position in my style.json

@MohsenSangSefidi
Copy link

I encountered a similar problem and it gives an error like this.

@chungle1504
Copy link

I encountered a similar problem and it gave an error like this whenever the style.json file contains "color: #xxxx" or "background-color: #xxxx"

@ArmaganUyanik
Copy link

I'm copy-pasting my answer to another similar problem.

As far as I understand, this error is caused by the defauly definition of the Light theme, which uses "white" for background color. In my case, it was resolved by adding my own theme settings into the styles.json file as follow:

"QSettings": [ { "ThemeSettings": [ { "CustomTheme": [ { "Background-color": "#your-background-color-in-hex", "Text-color": "#your-text-color-in-hex", "Accent-color": "#your-accent-color-in-hex", "Theme-name": "your-theme-name", "Default-Theme": true } ] } ],

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

No branches or pull requests

4 participants