Cotton code
760 lines · 21.1 KB · JSONRaw
{  "paper": {    "format_version": 1,    "id": "paper",    "name": "Cotton",    "family": "paper",    "description": "A theme sets palette, type, acts, cards, objects and the tokens under scale.tokens; nothing else.",    "palette": {      "light": {        "accent": "#C6534B",        "accent_contrast": "#FFFFFF",        "chip_ground": "#F2F2F2",        "dyes": {          "cream": "#F0E5D8",          "buff": "#ECDAC7",          "blue": "#DEE5ED",          "sage": "#E1E2D4",          "pink": "#F1D8D5",          "straw": "#F5EACD",          "peach": "#F9E6E1",          "newsprint": "#E6E4DE"        },        "error": "#B0453D",        "error_light": "#F8EAE8",        "faces": {          "cream": "#F2E3CF",          "buff": "#ECD5BA",          "shadow": "#50321E",          "slip": "#E6CDBB",          "mount": "#F5EBDF",          "ornament": "#5F7590E6",          "ruling": "#C2AE9759",          "margin": "#D9918C99",          "initials": "#3E3E40",          "invitation": "#2F3A17",          "invitation_disc": "#BFC2A8",          "mark": "#C96E50D9",          "passport_ink": "color(srgb 0.13 0.12 0.09)",          "passport_red": "color(srgb 0.64 0.15 0.11)",          "passport_violet": "color(srgb 0.35 0.19 0.49)",          "passport_blue": "color(srgb 0.12 0.29 0.46)",          "passport_brown": "color(srgb 0.47 0.23 0.16)"        },        "ground": "#FFFFFF",        "ground_elevated": "#FFFFFF",        "ground_muted": "#EEE3D6",        "hairline": "#E2E2E2",        "highlight": "#D9F7A6",        "ink": "#444444",        "ink_body": "#444444",        "ink_secondary": "#888888",        "ink_tertiary": "#ABABAB",        "pace_rules": {          "late": "#C5816D",          "soon": "#A79451",          "upcoming": "#45A5AF",          "someday": "#8A9E5F",          "done": "#AE9051"        },        "paces": {          "late": "#F1D5C2",          "soon": "#E4DBBE",          "upcoming": "#BDE3E8",          "someday": "#D6E0C3",          "done": "#E0DAD3"        },        "paper": "#FFFFFF",        "pencil": 0.55,        "print": "#2E2925",        "selection": "#C6534B2E",        "shadow": "#000000",        "success": "#4F7D5C",        "success_light": "#E8F1EB",        "tags": {          "fill": "#F2F2F2",          "ink": "#444444"        },        "warning": "#A06C1C",        "warning_light": "#F7EFDC"      },      "dark": {        "accent": "#C6534B",        "accent_contrast": "#FFFFFF",        "chip_ground": "#F2F2F2",        "dyes": {          "cream": "#F0E5D8",          "buff": "#ECDAC7",          "blue": "#DEE5ED",          "sage": "#E1E2D4",          "pink": "#F1D8D5",          "straw": "#F5EACD",          "peach": "#F9E6E1",          "newsprint": "#E6E4DE"        },        "error": "#B0453D",        "error_light": "#F8EAE8",        "faces": {          "cream": "#F2E3CF",          "buff": "#ECD5BA",          "shadow": "#50321E",          "slip": "#E6CDBB",          "mount": "#F5EBDF",          "ornament": "#5F7590E6",          "ruling": "#C2AE9759",          "margin": "#D9918C99",          "initials": "#3E3E40",          "invitation": "#2F3A17",          "invitation_disc": "#BFC2A8",          "mark": "#C96E50D9",          "passport_ink": "color(srgb 0.13 0.12 0.09)",          "passport_red": "color(srgb 0.64 0.15 0.11)",          "passport_violet": "color(srgb 0.35 0.19 0.49)",          "passport_blue": "color(srgb 0.12 0.29 0.46)",          "passport_brown": "color(srgb 0.47 0.23 0.16)"        },        "ground": "#FFFFFF",        "ground_elevated": "#FFFFFF",        "ground_muted": "#EEE3D6",        "hairline": "#E2E2E2",        "highlight": "#D9F7A6",        "ink": "#444444",        "ink_body": "#444444",        "ink_secondary": "#888888",        "ink_tertiary": "#ABABAB",        "pace_rules": {          "late": "#C5816D",          "soon": "#A79451",          "upcoming": "#45A5AF",          "someday": "#8A9E5F",          "done": "#AE9051"        },        "paces": {          "late": "#F1D5C2",          "soon": "#E4DBBE",          "upcoming": "#BDE3E8",          "someday": "#D6E0C3",          "done": "#E0DAD3"        },        "paper": "#FFFFFF",        "pencil": 0.55,        "print": "#2E2925",        "selection": "#C6534B2E",        "shadow": "#000000",        "success": "#4F7D5C",        "success_light": "#E8F1EB",        "tags": {          "fill": "#F2F2F2",          "ink": "#444444"        },        "warning": "#A06C1C",        "warning_light": "#F7EFDC"      }    },    "type": {      "body": "courier",      "cap": "instrument_italic",      "display": "fraunces_title",      "figure": "courier",      "hand": "caveat",      "interface": "system",      "meta": "courier_italic",      "script": "courier_new",      "text_body": "system",      "text_caption": "system",      "text_code": "menlo",      "text_editor_title": "system_semibold",      "text_page_title": "system_bold",      "text_preview": "system",      "text_row_title": "system_medium",      "text_row_title_compact": "system_medium",      "text_screen_title": "system_semibold",      "text_section_label": "system_semibold",      "title": "fraunces_text"    },    "scale": {      "tokens": {        "body_size": 14,        "card_mottle_opacity": 0.18,        "card_rim_opacity": 1,        "card_rule_opacity": 0.9,        "card_shadow_opacity": 0.18,        "card_under_shade": 0.07,        "fan_bloom_scroll": 24,        "fan_cap_lift": 6,        "fan_cap_size": 55,        "fan_caps_faint": 0.75,        "fan_caps_gap": 14,        "fan_collapse_damping": 0.86,        "fan_collapse_response": 0.42,        "fan_collapse_scroll": 24,        "fan_collapsed_size": 44,        "fan_fling_full": 2500,        "fan_fling_min": 350,        "fan_fling_reach": 0.4,        "fan_ghost_wash": 0.45,        "fan_hold_ms": 400,        "fan_lift": 10,        "fan_open_fade_ms": 180,        "fan_overscroll": 0.6,        "fan_picture_quality": 0.7,        "fan_picture_reach": 4,        "fan_picture_scale": 2,        "fan_picture_settle_ms": 350,        "fan_poster_scale": 1.8,        "fan_radius": 430,        "fan_record_glyph": 0.42,        "fan_record_hint_size": 11,        "fan_record_pill_pad": 12,        "fan_record_pill_size": 19,        "fan_record_pulse": 18,        "fan_record_pulse_ms": 1100,        "fan_record_pulse_opacity": 0.45,        "fan_record_size": 66,        "fan_settled_scale": 1.07,        "fan_silence_ms": 1500,        "fan_snap_damping": 0.85,        "fan_snap_response": 0.45,        "fan_step_deg": 12,        "fan_swipe_lean": 0.2,        "fan_tap_slop": 6,        "fan_tile_w": 90,        "fan_top": 26,        "fan_turn_ms_max": 900,        "fan_turn_ms_min": 260,        "fan_turn_ms_per_deg": 6,        "fan_visible_deg": 76,        "hairline": 0.7,        "hand_size": 14,        "head_record_title_size": 24,        "head_title_size": 28,        "inset_fraction": 0.075,        "inset_max": 26,        "inset_min": 9,        "meta_size": 12.5,        "monogram_size": 0.36,        "nav_circle": 39,        "nav_row_air": 12,        "nav_row_top": 6,        "page_dim": 0.16,        "page_head_gap": 12,        "radius": 8,        "radius_fraction": 0.035,        "radius_min": 3,        "ring_radius": 530,        "ring_slip_gap": 8,        "ring_slip_h": 30,        "ring_slip_w": 96,        "screen_title_size": 34,        "search_page": 50,        "section_title_size": 22,        "shelf_tile_min_w": 260,        "slip_act_glyph": 22,        "slip_act_row": 48,        "slip_chevron": 7,        "slip_deckle": 0,        "slip_edge": 0.7,        "slip_gap": 8,        "slip_lift": 1.04,        "slip_list_w": 220,        "slip_pad": 10,        "slip_radius": 3,        "slip_shadow": 10,        "slip_tilt": 0,        "spacing": 12,        "stroke": 1,        "title_size": 17,        "type_body_line_height": 22,        "type_body_size": 16,        "type_caption_line_height": 18,        "type_caption_size": 13,        "type_code_line_height": 17,        "type_code_size": 12,        "type_editor_title_line_height": 37,        "type_editor_title_size": 30,        "type_page_title_line_height": 41,        "type_page_title_size": 34,        "type_preview_line_height": 20,        "type_preview_size": 15,        "type_row_title_compact_line_height": 22,        "type_row_title_compact_size": 17,        "type_row_title_line_height": 25,        "type_row_title_size": 20,        "type_screen_title_line_height": 25,        "type_screen_title_size": 20,        "type_section_label_line_height": 18,        "type_section_label_size": 13,        "type_section_label_tracking": 0.8,        "type_weight_bold": 700,        "type_weight_heavy": 800,        "type_weight_medium": 500,        "type_weight_regular": 400,        "type_weight_semibold": 600,        "voice_line_fade": 24,        "voice_line_lines": 1      }    },    "acts": {      "completes": {        "stock": "sage"      },      "default": {        "stock": "cream"      },      "default_held": {        "stock": "rose"      },      "destroys": {        "stock": "rose"      },      "moves": {        "stock": "slate"      },      "puts_away": {        "stock": "grey"      },      "times": {        "stock": "tan"      }    },    "cards": {      "destructive_rule": "red",      "details_outline_dash": [        4,        3.5      ],      "empty_outline_dash": [        4,        3.5      ],      "empty_outline_opacity": 0.6,      "empty_rule": "none",      "faint_object_opacity": 0.35,      "field_default_stock": "cream",      "filled_rule": "plain",      "hold_rule_ink": "red",      "off_object_opacity": 0.45,      "overdue_stock": "rose",      "tray_stack_stocks": [        "slate",        "sage",        "cream"      ],      "tray_stock": "cream",      "undo_stock": "cream"    },    "objects": {      "amount": "figure",      "bool": "ring",      "cap": "cap",      "check": "done",      "choice": "ring",      "date": "leaf",      "figure": "figure",      "file": "file",      "link": "link",      "linux": "linux",      "longtext": "words",      "mac": "mac",      "number": "figure",      "people": "people",      "phone": "device-phone",      "photo": "print",      "picture": "print",      "reminder": "bell",      "repeats": "repeat",      "streak": "flame",      "text": "words",      "time": "clock",      "toggle": "ring",      "url": "words"    },    "texture": {      "grain": true,      "shadow": "soft",      "tilt": true    },    "cap": {      "texture": "enamel"    }  },  "plain": {    "format_version": 1,    "id": "plain",    "name": "Plain",    "family": "plain",    "description": "A theme sets palette, type, acts, cards, objects and the tokens under scale.tokens; nothing else.",    "palette": {      "light": {        "accent": "#C6534B",        "accent_contrast": "#FFFFFF",        "chip_ground": "#F2F2F2",        "dyes": {          "cream": "#F0E5D8",          "buff": "#ECDAC7",          "blue": "#DEE5ED",          "sage": "#E1E2D4",          "pink": "#F1D8D5",          "straw": "#F5EACD",          "peach": "#F9E6E1",          "newsprint": "#E6E4DE"        },        "error": "#B0453D",        "error_light": "#F8EAE8",        "faces": {          "cream": "#F2E3CF",          "buff": "#ECD5BA",          "shadow": "#50321E",          "slip": "#E6CDBB",          "mount": "#F5EBDF",          "ornament": "#5F7590E6",          "ruling": "#C2AE9759",          "margin": "#D9918C99",          "initials": "#3E3E40",          "invitation": "#2F3A17",          "invitation_disc": "#BFC2A8",          "mark": "#C96E50D9",          "passport_ink": "color(srgb 0.13 0.12 0.09)",          "passport_red": "color(srgb 0.64 0.15 0.11)",          "passport_violet": "color(srgb 0.35 0.19 0.49)",          "passport_blue": "color(srgb 0.12 0.29 0.46)",          "passport_brown": "color(srgb 0.47 0.23 0.16)"        },        "ground": "#F2F2F2",        "ground_elevated": "#FFFFFF",        "ground_muted": "#F2F2F2",        "hairline": "#E2E2E2",        "highlight": "#D9F7A6",        "ink": "#444444",        "ink_body": "#444444",        "ink_secondary": "#888888",        "ink_tertiary": "#ABABAB",        "pace_rules": {          "late": "#C5816D",          "soon": "#A79451",          "upcoming": "#45A5AF",          "someday": "#8A9E5F",          "done": "#AE9051"        },        "paces": {          "late": "#F1D5C2",          "soon": "#E4DBBE",          "upcoming": "#BDE3E8",          "someday": "#D6E0C3",          "done": "#E0DAD3"        },        "paper": "#FFFFFF",        "pencil": 0.55,        "print": "#444444",        "selection": "#C6534B2E",        "shadow": "#000000",        "success": "#4F7D5C",        "success_light": "#E8F1EB",        "tags": {          "fill": "#444444",          "ink": "#FFFFFF"        },        "warning": "#A06C1C",        "warning_light": "#F7EFDC"      },      "dark": {        "accent": "#C6534B",        "accent_contrast": "#FFFFFF",        "chip_ground": "#F2F2F2",        "dyes": {          "cream": "#F0E5D8",          "buff": "#ECDAC7",          "blue": "#DEE5ED",          "sage": "#E1E2D4",          "pink": "#F1D8D5",          "straw": "#F5EACD",          "peach": "#F9E6E1",          "newsprint": "#E6E4DE"        },        "error": "#B0453D",        "error_light": "#F8EAE8",        "faces": {          "cream": "#F2E3CF",          "buff": "#ECD5BA",          "shadow": "#50321E",          "slip": "#E6CDBB",          "mount": "#F5EBDF",          "ornament": "#5F7590E6",          "ruling": "#C2AE9759",          "margin": "#D9918C99",          "initials": "#3E3E40",          "invitation": "#2F3A17",          "invitation_disc": "#BFC2A8",          "mark": "#C96E50D9",          "passport_ink": "color(srgb 0.13 0.12 0.09)",          "passport_red": "color(srgb 0.64 0.15 0.11)",          "passport_violet": "color(srgb 0.35 0.19 0.49)",          "passport_blue": "color(srgb 0.12 0.29 0.46)",          "passport_brown": "color(srgb 0.47 0.23 0.16)"        },        "ground": "#F2F2F2",        "ground_elevated": "#FFFFFF",        "ground_muted": "#F2F2F2",        "hairline": "#E2E2E2",        "highlight": "#D9F7A6",        "ink": "#444444",        "ink_body": "#444444",        "ink_secondary": "#888888",        "ink_tertiary": "#ABABAB",        "pace_rules": {          "late": "#C5816D",          "soon": "#A79451",          "upcoming": "#45A5AF",          "someday": "#8A9E5F",          "done": "#AE9051"        },        "paces": {          "late": "#F1D5C2",          "soon": "#E4DBBE",          "upcoming": "#BDE3E8",          "someday": "#D6E0C3",          "done": "#E0DAD3"        },        "paper": "#FFFFFF",        "pencil": 0.55,        "print": "#444444",        "selection": "#C6534B2E",        "shadow": "#000000",        "success": "#4F7D5C",        "success_light": "#E8F1EB",        "tags": {          "fill": "#444444",          "ink": "#FFFFFF"        },        "warning": "#A06C1C",        "warning_light": "#F7EFDC"      }    },    "type": {      "body": "system",      "cap": "system_semibold",      "display": "system_semibold",      "figure": "system_monospaced",      "hand": "system_italic",      "interface": "system",      "meta": "system",      "script": "courier_new",      "text_body": "system",      "text_caption": "system",      "text_code": "menlo",      "text_editor_title": "system_semibold",      "text_page_title": "system_bold",      "text_preview": "system",      "text_row_title": "system_medium",      "text_row_title_compact": "system_medium",      "text_screen_title": "system_semibold",      "text_section_label": "system_semibold",      "title": "system_semibold"    },    "scale": {      "tokens": {        "body_size": 15,        "card_mottle_opacity": 0.18,        "card_rim_opacity": 1,        "card_rule_opacity": 0.9,        "card_shadow_opacity": 0.18,        "card_under_shade": 0.07,        "fan_bloom_scroll": 24,        "fan_cap_lift": 6,        "fan_cap_size": 55,        "fan_caps_faint": 0.75,        "fan_caps_gap": 14,        "fan_collapse_damping": 0.86,        "fan_collapse_response": 0.42,        "fan_collapse_scroll": 24,        "fan_collapsed_size": 44,        "fan_fling_full": 2500,        "fan_fling_min": 350,        "fan_fling_reach": 0.4,        "fan_ghost_wash": 0.45,        "fan_hold_ms": 400,        "fan_lift": 10,        "fan_open_fade_ms": 180,        "fan_overscroll": 0.6,        "fan_picture_quality": 0.7,        "fan_picture_reach": 4,        "fan_picture_scale": 2,        "fan_picture_settle_ms": 350,        "fan_poster_scale": 1.8,        "fan_radius": 430,        "fan_record_glyph": 0.42,        "fan_record_hint_size": 11,        "fan_record_pill_pad": 12,        "fan_record_pill_size": 19,        "fan_record_pulse": 18,        "fan_record_pulse_ms": 1100,        "fan_record_pulse_opacity": 0.45,        "fan_record_size": 66,        "fan_settled_scale": 1.07,        "fan_silence_ms": 1500,        "fan_snap_damping": 0.85,        "fan_snap_response": 0.45,        "fan_step_deg": 12,        "fan_swipe_lean": 0.2,        "fan_tap_slop": 6,        "fan_tile_w": 90,        "fan_top": 26,        "fan_turn_ms_max": 900,        "fan_turn_ms_min": 260,        "fan_turn_ms_per_deg": 6,        "fan_visible_deg": 76,        "hairline": 0.7,        "hand_size": 14,        "head_record_title_size": 24,        "head_title_size": 28,        "inset_fraction": 0,        "inset_max": 14,        "inset_min": 14,        "meta_size": 13,        "monogram_size": 0.36,        "nav_circle": 39,        "nav_row_air": 12,        "nav_row_top": 6,        "page_dim": 0.16,        "page_head_gap": 12,        "radius": 12,        "radius_fraction": 1,        "radius_min": 12,        "ring_radius": 530,        "ring_slip_gap": 8,        "ring_slip_h": 30,        "ring_slip_w": 96,        "screen_title_size": 34,        "search_page": 50,        "section_title_size": 22,        "shelf_tile_min_w": 260,        "slip_act_glyph": 22,        "slip_act_row": 48,        "slip_chevron": 7,        "slip_deckle": 0,        "slip_edge": 0.7,        "slip_gap": 8,        "slip_lift": 1.04,        "slip_list_w": 220,        "slip_pad": 10,        "slip_radius": 3,        "slip_shadow": 10,        "slip_tilt": 0,        "spacing": 12,        "stroke": 1,        "title_size": 17,        "type_body_line_height": 22,        "type_body_size": 16,        "type_caption_line_height": 18,        "type_caption_size": 13,        "type_code_line_height": 17,        "type_code_size": 12,        "type_editor_title_line_height": 37,        "type_editor_title_size": 30,        "type_page_title_line_height": 41,        "type_page_title_size": 34,        "type_preview_line_height": 20,        "type_preview_size": 15,        "type_row_title_compact_line_height": 22,        "type_row_title_compact_size": 17,        "type_row_title_line_height": 25,        "type_row_title_size": 20,        "type_screen_title_line_height": 25,        "type_screen_title_size": 20,        "type_section_label_line_height": 18,        "type_section_label_size": 13,        "type_section_label_tracking": 0.8,        "type_weight_bold": 700,        "type_weight_heavy": 800,        "type_weight_medium": 500,        "type_weight_regular": 400,        "type_weight_semibold": 600,        "voice_line_fade": 24,        "voice_line_lines": 1      }    },    "acts": {      "completes": {        "stock": "sage"      },      "default": {        "stock": "cream"      },      "default_held": {        "stock": "rose"      },      "destroys": {        "stock": "rose"      },      "moves": {        "stock": "slate"      },      "puts_away": {        "stock": "grey"      },      "times": {        "stock": "tan"      }    },    "cards": {      "destructive_rule": "red",      "details_outline_dash": [        4,        3.5      ],      "empty_outline_dash": [        4,        3.5      ],      "empty_outline_opacity": 0.6,      "empty_rule": "none",      "faint_object_opacity": 0.35,      "field_default_stock": "cream",      "filled_rule": "plain",      "hold_rule_ink": "red",      "off_object_opacity": 0.45,      "overdue_stock": "rose",      "tray_stack_stocks": [        "slate",        "sage",        "cream"      ],      "tray_stock": "cream",      "undo_stock": "cream"    },    "objects": {      "amount": "figure",      "bool": "ring",      "cap": "cap",      "check": "done",      "choice": "ring",      "date": "leaf",      "figure": "figure",      "file": "file",      "link": "link",      "linux": "linux",      "longtext": "words",      "mac": "mac",      "number": "figure",      "people": "people",      "phone": "device-phone",      "photo": "print",      "picture": "print",      "reminder": "bell",      "repeats": "repeat",      "streak": "flame",      "text": "words",      "time": "clock",      "toggle": "ring",      "url": "words"    },    "texture": {      "grain": false,      "shadow": "none",      "tilt": false    },    "cap": {      "texture": "flat"    }  }}