Skip to content

Conversation

@sonnyp
Copy link
Contributor

@sonnyp sonnyp commented Feb 3, 2022

Closes #1

Did not not use csstree because it stringifies to something like

box > label {color: #e66100}

for which Gtk complains with Theme parser warning: <data>... Expected ';' at end of block. Would be fine with box > label {color: #e66100;}

Since it also doesn't support indentation in output - I would need to support sourcemaps right now for meaningful error messages.

Given how small the syntax surface is for Gtk CSS, I might endup writing my own parser if I feel like it.

@sonnyp sonnyp merged commit c2a41c5 into main Feb 3, 2022
@sonnyp sonnyp deleted the scope-css branch February 3, 2022 01:39
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.

Scope CSS to the preview

2 participants