Open
Conversation
AndrewShkrob
commented
Nov 2, 2025
Signed-off-by: Andrei Shkrob <github@shkrob.dev>
Signed-off-by: Andrei Shkrob <github@shkrob.dev>
Signed-off-by: Andrei Shkrob <github@shkrob.dev>
Signed-off-by: Andrei Shkrob <github@shkrob.dev>
Signed-off-by: Andrei Shkrob <github@shkrob.dev>
5295651 to
f274273
Compare
Signed-off-by: Andrei Shkrob <github@shkrob.dev>
efb6a9f to
d7a383a
Compare
Signed-off-by: Andrei Shkrob <github@shkrob.dev>
Signed-off-by: Andrei Shkrob <github@shkrob.dev>
Signed-off-by: Andrei Shkrob <github@shkrob.dev>
Signed-off-by: Andrei Shkrob <github@shkrob.dev>
b7891c7 to
bc58e21
Compare
Signed-off-by: Andrei Shkrob <github@shkrob.dev>
bc58e21 to
5d8576a
Compare
Member
Author
|
@vng @biodranik Are you interested in this feature? |
Member
|
Member
Author
Then why do we have map style in the core? I did not add anything new. I only changed the interface Now |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A little step towards dynamic styles support
Style:
Style is a folder that contains all required resources.
Folder can be considered as a
style folderwhen it containsstyle.jsonin its rootstyle.json:{ "name": "default", "light": { "drulesPath": "light/drules.bin", "symbolsPath": "light/symbols" }, "dark": { "drulesPath": "dark/drules.bin", "symbolsPath": "dark/symbols" }, "colorsPath": "colors.txt", "transitColorsPath": "transit_colors.txt", "patternsPath": "patterns.txt" }All paths in
style.jsonare relative. A path to the file outside the style folder can be declared as../../whatever.txt. Example:{ "name": "outdoors", "light": { "drulesPath": "light/drules.bin", "symbolsPath": "../default/light/symbols" }, "dark": { "drulesPath": "dark/drules.bin", "symbolsPath": "../default/dark/symbols" }, "colorsPath": "../default/colors.txt", "transitColorsPath": "../default/transit_colors.txt", "patternsPath": "../default/patterns.txt" }Data:
stylesdir for compiled styles. This folder (or its subfolders) will be bundled into the appstyles-raw. This folder won't be bundled into the app. Do you have a better name forstyles-raw?Libs:
styleslibTools:
Android:
iOS:
Limitations: