Skip to content

Fix theme parser errors#170

Open
siddhpant wants to merge 5 commits intodaniruiz:masterfrom
siddhpant:fix-parser-errors
Open

Fix theme parser errors#170
siddhpant wants to merge 5 commits intodaniruiz:masterfrom
siddhpant:fix-parser-errors

Conversation

@siddhpant
Copy link
Copy Markdown

Thanks to @nullorigin for fixing them in his fork, but he replaced in files directly. In this PR I fix it in the generator files and regenerate the themes.

Fixes the following warnings:
	Theme parser error: gtk.css:5050:12-15: "mix" is not a valid color name.
	Theme parser error: gtk.css:5054:12-15: "mix" is not a valid color name.

Apparently there should be no space between function name and the
opening parentheses.

The fix was originally done by Matthew Fay in his fork:
https://github.com/nullorigin/flat-remix-gtk

We will fix the main file and regenerate the themes later.

Suggested-by: Matthew Fay <mattfay@pm.me>
Signed-off-by: Siddh Raman Pant <25429745+siddhpant@users.noreply.github.com>
Fixes the following warnings:
	Theme parser error: gtk.css:4963:12-17: "shade" is not a valid color name.
	Theme parser error: gtk.css:5023:12-17: "shade" is not a valid color name.

Apparently there should be no space between function name and the
opening parentheses.

The fix was originally done by Matthew Fay in his fork:
https://github.com/nullorigin/flat-remix-gtk

We will fix the main files and regenerate the themes later.

Suggested-by: Matthew Fay <mattfay@pm.me>
Signed-off-by: Siddh Raman Pant <25429745+siddhpant@users.noreply.github.com>
@nullorigin
Copy link
Copy Markdown

nullorigin commented Apr 10, 2025 via email

@siddhpant siddhpant force-pushed the fix-parser-errors branch 2 times, most recently from 1b460da to beb963b Compare April 14, 2025 09:25
Fixes the following warning:
	Theme parser error: gtk.css:5286:3-19: No property named "-gtk-icon-effect"

Let's complete the TODO mentioned.

The fix was originally done by Matthew Fay in his fork:
https://github.com/nullorigin/flat-remix-gtk

We will be more exact, and fix the main file by doing a sed hack in the
sass Makefile, and regenerate the themes later.

Suggested-by: Matthew Fay <mattfay@pm.me>
Signed-off-by: Siddh Raman Pant <25429745+siddhpant@users.noreply.github.com>
Fixes the following warning:
        Theme parser warning: gtk.css:5255:3-5256:1: Expected ';' at end of block

We will fix the main file and regenerate the themes later.

Signed-off-by: Siddh Raman Pant <25429745+siddhpant@users.noreply.github.com>
Signed-off-by: Siddh Raman Pant <25429745+siddhpant@users.noreply.github.com>
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

Successfully merging this pull request may close these issues.

2 participants