-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Draft: Add Export Skin option in editor
- Loading branch information
1 parent
07d318b
commit 047cd13
Showing
8 changed files
with
167 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Skins | ||
|
||
Skins allow customization of font sizes, colors, dimensions, paddings and | ||
spacings. Skins are created with a JSON that can contain any subset of the | ||
assemble and render options. | ||
|
||
A [template skin | ||
file](https://github.com/coastalwhite/wavedrom-rs/tree/main/skins/template.json5) | ||
can be found in the repository. Skins can also be previewed, edited and exported | ||
from the editor by opening the `Render Settings`. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
{ | ||
"assemble": { | ||
"signal_height": 24, | ||
"cycle_width": 48, | ||
"transition_offset": 4 | ||
}, | ||
"render": { | ||
"background": "#FFF", | ||
"padding": { | ||
"figure_top": 8, | ||
"figure_bottom": 8, | ||
"figure_left": 8, | ||
"figure_right": 8, | ||
"schema_top": 8, | ||
"schema_bottom": 8 | ||
}, | ||
"spacing": { | ||
"textbox_to_schema": 8, | ||
"groupbox_to_textbox": 8, | ||
"line_to_line": 8 | ||
}, | ||
"header": { | ||
"font_size": 24, | ||
"height": 32, | ||
"color": "#000", | ||
"cycle_marker_height": 12, | ||
"cycle_marker_fontsize": 12, | ||
"cycle_marker_color": "#000" | ||
}, | ||
"footer": { | ||
"font_size": 24, | ||
"height": 32, | ||
"color": "#000", | ||
"cycle_marker_height": 12, | ||
"cycle_marker_fontsize": 12, | ||
"cycle_marker_color": "#000" | ||
}, | ||
"signal": { | ||
"marker_font_size": 14, | ||
"marker_color": "#000", | ||
"name_font_size": 14, | ||
"name_color": "#000", | ||
"gap_color": "#000", | ||
"gap_background_color": "#FFF", | ||
"path_color": "#000", | ||
"hint_line_color": "#CCC", | ||
"undefined_color": "#000", | ||
"undefined_background": null, | ||
"backgrounds": [ | ||
{ "red": 255, "green": 255, "blue": 255 }, | ||
{ "red": 247, "green": 247, "blue": 161 }, | ||
{ "red": 249, "green": 212, "blue": 159 }, | ||
{ "red": 173, "green": 222, "blue": 255 }, | ||
{ "red": 172, "green": 213, "blue": 182 }, | ||
{ "red": 164, "green": 171, "blue": 225 }, | ||
{ "red": 232, "green": 168, "blue": 240 }, | ||
{ "red": 251, "green": 218, "blue": 218 } | ||
] | ||
}, | ||
"group_indicator": { | ||
"width": 4, | ||
"spacing": 4, | ||
"color": "#000", | ||
"label_spacing": 4, | ||
"label_fontsize": 14, | ||
"label_color": "#000" | ||
}, | ||
"edge": { | ||
"node_font_size": 14, | ||
"node_text_color": "#000", | ||
"node_background_color": "#FFF", | ||
"edge_text_font_size": 14, | ||
"edge_text_color": "#000", | ||
"edge_text_background_color": "#FFF", | ||
"edge_color": "#00F", | ||
"edge_arrow_color": "#000", | ||
"edge_arrow_size": 8 | ||
} | ||
} | ||
} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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