|
Hi! Address and question of the Flow user and not only.. How do you customize themes? Are there any tools for this? It looks like the VSCode themes are taken as the template, but.. When I see this: That's horrible. What is id 67? A keyword or a parenthesis? And what is this color, FF16B0? You can't think of a worse interface.. I'm not surprised it's VSCode. A cursory internet search did not yield results regarding the tools for editing theme files. GUI must be needed here.. Do rare sages live in the world that will help to cope with this beast? |
Replies: 5 comments 2 replies
|
Looks like I found something that might be useful: |
|
As you kind of noticed, the themes are really more like compiler output than something designed for users to edit. Now that we have user customization support, we really need to add a more user friendly format. At very least a format that uses scope strings instead of |
|
What was discovered through experimentation about the
111 - function/method definition/invoking
Rust: fn
Some notes:
Overall, I just wanted to be more intentional about setting up the theme (after reading Tonsky). A helpful note in the sense that I found on the site:
In line with Tonsky's observation, in my opinion, the most successful (dark) theme is And the actual (light) theme is |
|
I think this is a very valuable observation, which can be boiled down to a more general concept: the categories of functionality and usefulness. The syntax tree, I believe, contains quite a few elements. Many theme templates seem to use it as a basis for setting colors, and this is quite natural: they seem to be related. At this point, something like this is created: Functional, complete, but probably useless for someone looking at the screen or trying to customize the theme. Obviously, we need Something like this, a connection to the syntax tree for coloring the corresponding tokens. But from the perspective of a theme developer/user, such a functional model is useless (or very complex). But, for example, what is: And the intermediate one, as a technical implementation detail: Just some thoughts... |
|
Great news! Flow theme configuration files (at least since the master version: v0.7.2-593-g130bb713) now have a |
Great news! Flow theme configuration files (at least since the master version: v0.7.2-593-g130bb713) now have a
scopeproperty (instead of obscureid) that points to the corresponding syntax element like this: