Create a monospace font family stack

This commit is contained in:
Eryn Wells 2022-10-03 19:54:55 -07:00
parent d862251a8f
commit d0f1100682
3 changed files with 7 additions and 6 deletions

View file

@ -20,12 +20,12 @@ export default funcs;
export const Options = {
DEBUG: false, // if true, writes some debug information into attributes
VS: 8, // minimum vertical separation between things. For a 3px stroke, must be at least 4
AR: 10, // radius of arcs
VS: 11, // minimum vertical separation between things. For a 3px stroke, must be at least 4
AR: 11, // radius of arcs
DIAGRAM_CLASS: 'railroad-diagram', // class to put on the root <svg>
STROKE_ODD_PIXEL_LENGTH: false, // is the stroke width an odd (1px, 3px, etc) pixel length?
INTERNAL_ALIGNMENT: 'center', // how to align items when they have extra space. left/right/center
CHAR_WIDTH: 8.5, // width of each monospace character. play until you find the right value for your font
CHAR_WIDTH: 11, // width of each monospace character. play until you find the right value for your font
COMMENT_CHAR_WIDTH: 7, // comments are in smaller text by default
};