Cotton code
140 lines · 8.7 KB · JSONRaw
{  "format_version": 1,  "themes": [    {      "id": "linen",      "light": {"ground": "#F8F6F1", "text": "#34312C", "heading": "#1E1C19", "secondary": "#8F8A80", "accent": "#CF4A3C", "danger": "#CF4A3C", "rule": "#E7E3DA", "highlight": "#F7E4A6", "code_ground": "#F0EDE6", "selection": "#F4D2CB", "link": "#34312C"},      "dark": {"ground": "#1F1E1C", "text": "#D8D4CC", "heading": "#F2EFE9", "secondary": "#8E897F", "accent": "#E6675A", "danger": "#E6675A", "rule": "#34322E", "highlight": "#5F4D20", "code_ground": "#292825", "selection": "#5A2E29", "link": "#D8D4CC"}    },    {      "id": "slate",      "light": {"ground": "#F3F4F6", "text": "#2F3237", "heading": "#1B1D21", "secondary": "#80858D", "accent": "#C8503F", "danger": "#C8503F", "rule": "#E0E2E6", "highlight": "#F5E5A8", "code_ground": "#E9EBEE", "selection": "#F1D3CC", "link": "#2F3237"},      "dark": {"ground": "#24262A", "text": "#CDCFD3", "heading": "#EEEFF1", "secondary": "#8A8D94", "accent": "#E26C5C", "danger": "#E26C5C", "rule": "#373A3F", "highlight": "#5B4B1F", "code_ground": "#2D3034", "selection": "#553230", "link": "#CDCFD3"}    },    {      "id": "print",      "light": {"ground": "#FFFFFF", "text": "#000000", "heading": "#000000", "secondary": "#333333", "accent": "#B3261E", "danger": "#B3261E", "rule": "#1A1A1A", "highlight": "#FFEB3B", "code_ground": "#EDEDED", "selection": "#FFC9C4", "link": "#000000"},      "dark": {"ground": "#000000", "text": "#FFFFFF", "heading": "#FFFFFF", "secondary": "#D0D0D0", "accent": "#FF6B5E", "danger": "#FF6B5E", "rule": "#E6E6E6", "highlight": "#7A6A00", "code_ground": "#1A1A1A", "selection": "#6E1F1A", "link": "#FFFFFF"}    },    {      "id": "dusk",      "light": {"ground": "#F5F3F7", "text": "#312E36", "heading": "#1D1B21", "secondary": "#8A8592", "accent": "#C24B4B", "danger": "#C24B4B", "rule": "#E3E0E8", "highlight": "#F2E2A9", "code_ground": "#ECE9F0", "selection": "#EFD0D3", "link": "#312E36"},      "dark": {"ground": "#000000", "text": "#C9C6CE", "heading": "#ECEAEF", "secondary": "#7E7A85", "accent": "#E0645C", "danger": "#E0645C", "rule": "#1E1D21", "highlight": "#4A3E18", "code_ground": "#0F0E11", "selection": "#4A1F1E", "link": "#C9C6CE"}    }  ],  "inks": [    {      "id": "blue",      "light": {"accent": "#2B4A8F", "selection": "#D9E0EF"}, "dark": {"accent": "#93ABEB", "selection": "#2B3550"},      "themes": {"print": {"light": {"accent": "#1C3A80", "selection": "#CBD6F0"}, "dark": {"accent": "#9DB8FF", "selection": "#23345C"}}}    },    {      "id": "red",      "light": {"accent": "#CF4A3C", "selection": "#F4D2CB"}, "dark": {"accent": "#E6675A", "selection": "#5A2E29"},      "themes": {"slate": {"light": {"accent": "#C8503F", "selection": "#F1D3CC"}, "dark": {"accent": "#E26C5C", "selection": "#553230"}}, "print": {"light": {"accent": "#B3261E", "selection": "#FFC9C4"}, "dark": {"accent": "#FF6B5E", "selection": "#6E1F1A"}}, "dusk": {"light": {"accent": "#C24B4B", "selection": "#EFD0D3"}, "dark": {"accent": "#E0645C", "selection": "#4A1F1E"}}}    },    {      "id": "green",      "light": {"accent": "#2E6A4F", "selection": "#D5E6DC"}, "dark": {"accent": "#7DBF98", "selection": "#22372B"},      "themes": {"print": {"light": {"accent": "#1F5A3D", "selection": "#C9E2D2"}, "dark": {"accent": "#8FD6AC", "selection": "#1D3A28"}}}    },    {      "id": "black",      "light": {"accent": "#2A2A2D", "selection": "#DDDBD6"}, "dark": {"accent": "#E6E4DF", "selection": "#3A3936"},      "themes": {"print": {"light": {"accent": "#000000", "selection": "#D6D6D6"}, "dark": {"accent": "#FFFFFF", "selection": "#3A3A3A"}}}    }  ],  "renamed": {"chalk": "linen", "graphite": "slate", "contrast": "print", "cotton": "linen"},  "defaults": {"light_theme": "linen", "dark_theme": "slate", "font": "sans", "font_size": 17, "line_height": 1.5, "line_width": 72, "paragraph_spacing": 0.4, "hide_marks": true, "ink": "blue"},  "faces": {"text": "Figtree", "code": "JetBrains Mono"},  "fonts": ["sans", "serif", "typewriter", "hyperlegible", "dyslexic"],  "font_size": {"min": 13, "max": 28, "step": 1},  "line_height": {"min": 1.2, "max": 2.0, "step": 0.1},  "line_width": {"choices": [56, 64, 72, 84, 0], "full": 0},  "paragraph_spacing": {"min": 0.0, "max": 1.0, "step": 0.1},  "scale": {"title": 1.6, "heading": [1.45, 1.25, 1.1, 1.0, 1.0, 1.0], "list_title": 1.0, "list_preview": 0.88, "list_date": 0.76},  "formatting": [    {"action": "heading", "level": 1},    {"action": "heading", "level": 2},    {"action": "heading", "level": 3},    {"action": "bold"},    {"action": "italic"},    {"action": "underline"},    {"action": "strike"},    {"action": "highlight"},    {"action": "code"},    {"action": "link"},    {"action": "bullet"},    {"action": "numbered"},    {"action": "check"},    {"action": "quote"},    {"action": "code_block"},    {"action": "table"},    {"action": "divider"},    {"action": "indent"},    {"action": "outdent"},    {"action": "move_up"},    {"action": "move_down"},    {"action": "fold"}  ],  "bar": ["undo", "redo", "tag", "note_link", "picture", "hide_keyboard", "format"],  "keyboard": {    "bar": {"left": ["undo", "redo", "tag", "hide_keyboard"], "right": ["note_link", "format"]},    "grid": [      [{"key": "move_up", "grey": true, "action": {"action": "move_up"}},       {"key": "picture", "hold": [{"key": "camera"}]},       {"key": "quote", "action": {"action": "quote"}},       {"key": "table", "action": {"action": "table"}},       {"key": "today", "action": {"action": "today"}},       {"key": "fold", "action": {"action": "fold"}}],      [{"key": "move_down", "grey": true, "action": {"action": "move_down"}},       {"key": "heading_1", "action": {"action": "heading", "level": 1}, "hold": [{"key": "heading_2", "action": {"action": "heading", "level": 2}}, {"key": "heading_3", "action": {"action": "heading", "level": 3}}]},       {"key": "bold", "action": {"action": "bold"}},       {"key": "italic", "action": {"action": "italic"}},       {"key": "underline", "action": {"action": "underline"}},       {"key": "strike", "action": {"action": "strike"}}],      [{"key": "outdent", "grey": true, "action": {"action": "outdent"}},       {"key": "bullet", "action": {"action": "bullet"}, "hold": [{"key": "numbered", "action": {"action": "numbered"}}]},       {"key": "highlight", "action": {"action": "highlight"}},       {"key": "code", "action": {"action": "code"}, "hold": [{"key": "code_block", "action": {"action": "code_block"}}]},       {"key": "link", "action": {"action": "link"}},       {"key": "delete", "grey": true}],      [{"key": "indent", "grey": true, "action": {"action": "indent"}},       {"key": "check", "action": {"action": "check"}},       {"key": "divider", "action": {"action": "divider"}},       {"key": "numbered", "action": {"action": "numbered"}},       {"key": "space", "grey": true},       {"key": "return", "grey": true, "action": {"action": "return"}}]    ],    "foot": {"left": "copy", "right": "paste"}  },  "shortcuts": [    {"keys": ["primary", "b"], "action": {"action": "bold"}},    {"keys": ["primary", "i"], "action": {"action": "italic"}},    {"keys": ["primary", "u"], "action": {"action": "underline"}},    {"keys": ["primary", "shift", "x"], "action": {"action": "strike"}},    {"keys": ["primary", "shift", "h"], "action": {"action": "highlight"}},    {"keys": ["primary", "e"], "action": {"action": "code"}},    {"keys": ["primary", "k"], "action": {"action": "link"}},    {"keys": ["primary", "1"], "action": {"action": "heading", "level": 1}},    {"keys": ["primary", "2"], "action": {"action": "heading", "level": 2}},    {"keys": ["primary", "3"], "action": {"action": "heading", "level": 3}},    {"keys": ["primary", "0"], "action": {"action": "paragraph"}},    {"keys": ["primary", "shift", "8"], "action": {"action": "bullet"}},    {"keys": ["primary", "shift", "7"], "action": {"action": "numbered"}},    {"keys": ["primary", "shift", "l"], "action": {"action": "check"}},    {"keys": ["primary", "return"], "action": {"action": "tick"}},    {"keys": ["primary", "shift", "q"], "action": {"action": "quote"}},    {"keys": ["primary", "shift", "e"], "action": {"action": "code_block"}},    {"keys": ["primary", "]"], "action": {"action": "indent"}},    {"keys": ["primary", "["], "action": {"action": "outdent"}},    {"keys": ["alt", "up"], "action": {"action": "move_up"}},    {"keys": ["alt", "down"], "action": {"action": "move_down"}},    {"keys": ["primary", "n"], "command": "new"},    {"keys": ["primary", "f"], "command": "search"},    {"keys": ["primary", "shift", "t"], "command": "tag"},    {"keys": ["primary", "shift", "i"], "command": "info"},    {"keys": ["primary", ","], "command": "settings"},    {"keys": ["escape"], "command": "done"}  ]}