Last active
November 10, 2024 18:46
-
-
Save Sansui233/a7f5b88e35194f82b1a76a7e05df4f5c to your computer and use it in GitHub Desktop.
draw.io text style, color presets, vertex and edge style custom configuration (modern design)
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
| { | |
| "defaultGridEnabled": false, | |
| "defaultPageVisible": false, | |
| "customFonts": [ | |
| "Inter", | |
| "pingfang sc" | |
| ], | |
| "defaultVertexStyle": { | |
| "strokeWidth": 2, | |
| "fontSize": 16, | |
| "fontFamily": "Inter", | |
| "fontColor": "#1f1f1f", | |
| "strokeColor": "#295FF3", | |
| "fillColor": "#dae8fc", | |
| "rounded": 1, | |
| "fontStyle": "1" | |
| }, | |
| "defaultEdgeStyle": { | |
| "strokeWidth": 2, | |
| "fontSize": 13, | |
| "fontFamily": "Inter", | |
| "fontColor": "#1f1f1f", | |
| "strokeColor": "#1f1f1f", | |
| "rounded": 1, | |
| "curved": 1, | |
| "fontStyle": "1" | |
| }, | |
| "customPresetColors": [ | |
| "1F1F1F", | |
| "BFBFBF", | |
| "FFD1E1", | |
| "EB539E", | |
| "FED9D7", | |
| "EA4D3E", | |
| "FFE6CC", | |
| "F08C00", | |
| "FFF2CC", | |
| "F5CE45", | |
| "E1FEFD", | |
| "6DE4D0", | |
| "DFF7DE", | |
| "65C466", | |
| "DAE8FC", | |
| "295FF3", | |
| "F6E0FF", | |
| "792CF6" | |
| ], | |
| "customColorSchemes": [ | |
| [ | |
| { | |
| "fill": "#DAE8FC", | |
| "stroke": "#295FF3", | |
| "font": "#1f1f1f" | |
| }, | |
| { | |
| "fill": "#295FF3", | |
| "stroke": "none", | |
| "font": "#ffffff" | |
| }, | |
| { | |
| "fill": "#FFF2CC", | |
| "stroke": "#F5CE45", | |
| "font": "#1f1f1f" | |
| }, | |
| { | |
| "fill": "#F5CE45", | |
| "stroke": "none", | |
| "font": "#1f1f1f" | |
| }, | |
| { | |
| "fill": "#ffffff", | |
| "stroke": "#1F1F1F", | |
| "font": "#1f1f1f" | |
| }, | |
| { | |
| "fill": "#1F1F1F", | |
| "stroke": "none", | |
| "font": "#ffffff" | |
| }, | |
| { | |
| "fill": "#EEEEEE", | |
| "stroke": "#BFBFBF", | |
| "font": "#1f1f1f" | |
| }, | |
| { | |
| "fill": "#BFBFBF", | |
| "stroke": "none", | |
| "font": "#ffffff" | |
| } | |
| ], | |
| [ | |
| { | |
| "fill": "#F6E0FF", | |
| "stroke": "#792CF6", | |
| "font": "#1f1f1f" | |
| }, | |
| { | |
| "fill": "#792CF6", | |
| "stroke": "none", | |
| "font": "#ffffff" | |
| }, | |
| { | |
| "fill": "#FFD1E1", | |
| "stroke": "#EB539E", | |
| "font": "#1f1f1f" | |
| }, | |
| { | |
| "fill": "#EB539E", | |
| "stroke": "none", | |
| "font": "#ffffff" | |
| }, | |
| { | |
| "fill": "#FED9D7", | |
| "stroke": "#EA4D3E", | |
| "font": "#1f1f1f" | |
| }, | |
| { | |
| "fill": "#EA4D3E", | |
| "stroke": "none", | |
| "font": "#ffffff" | |
| }, | |
| { | |
| "fill": "#FFE6CC", | |
| "stroke": "#F08C00", | |
| "font": "#1f1f1f" | |
| }, | |
| { | |
| "fill": "#F08C00", | |
| "stroke": "none", | |
| "font": "#1f1f1f" | |
| } | |
| ], | |
| [ | |
| { | |
| "fill": "#DFF7DE", | |
| "stroke": "#65C466", | |
| "font": "#1f1f1f" | |
| }, | |
| { | |
| "fill": "#65C466", | |
| "stroke": "none", | |
| "font": "#ffffff" | |
| }, | |
| { | |
| "fill": "#E1FEFD", | |
| "stroke": "#6DE4D0", | |
| "font": "#1f1f1f" | |
| }, | |
| { | |
| "fill": "#6DE4D0", | |
| "stroke": "none", | |
| "font": "#1f1f1f" | |
| } | |
| ] | |
| ] | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reference:
https://www.drawio.com/doc/faq/configure-diagram-editor
https://drawio-app.com/blog/customise-default-colours-fonts-styles-and-the-draw-io-ui-in-confluence-cloud/