From baa57be35cf848411a1a1b7b4f048ab9a6748b60 Mon Sep 17 00:00:00 2001 From: bflatastic Date: Sun, 22 Nov 2026 08:31:51 +0700 Subject: [PATCH] theme: token dumps of the vectorcraft-modern theme --- ...ctorcraft-modern-dark-high-comfortable.txt | 240 +++++++++++++++++ .../vectorcraft-modern-dark-high-compact.txt | 240 +++++++++++++++++ ...craft-modern-dark-standard-comfortable.txt | 247 +++++++++++++++++ ...ctorcraft-modern-dark-standard-compact.txt | 247 +++++++++++++++++ ...torcraft-modern-light-high-comfortable.txt | 240 +++++++++++++++++ .../vectorcraft-modern-light-high-compact.txt | 240 +++++++++++++++++ ...raft-modern-light-standard-comfortable.txt | 247 +++++++++++++++++ ...torcraft-modern-light-standard-compact.txt | 247 +++++++++++++++++ ...ft-modern-medium-dark-high-comfortable.txt | 240 +++++++++++++++++ ...rcraft-modern-medium-dark-high-compact.txt | 240 +++++++++++++++++ ...odern-medium-dark-standard-comfortable.txt | 249 ++++++++++++++++++ ...ft-modern-medium-dark-standard-compact.txt | 249 ++++++++++++++++++ ...t-modern-medium-light-high-comfortable.txt | 240 +++++++++++++++++ ...craft-modern-medium-light-high-compact.txt | 240 +++++++++++++++++ ...dern-medium-light-standard-comfortable.txt | 249 ++++++++++++++++++ ...t-modern-medium-light-standard-compact.txt | 249 ++++++++++++++++++ 16 files changed, 3904 insertions(+) create mode 100644 crates/theme/tests/dumps/tokens/vectorcraft-modern-dark-high-comfortable.txt create mode 100644 crates/theme/tests/dumps/tokens/vectorcraft-modern-dark-high-compact.txt create mode 100644 crates/theme/tests/dumps/tokens/vectorcraft-modern-dark-standard-comfortable.txt create mode 100644 crates/theme/tests/dumps/tokens/vectorcraft-modern-dark-standard-compact.txt create mode 100644 crates/theme/tests/dumps/tokens/vectorcraft-modern-light-high-comfortable.txt create mode 100644 crates/theme/tests/dumps/tokens/vectorcraft-modern-light-high-compact.txt create mode 100644 crates/theme/tests/dumps/tokens/vectorcraft-modern-light-standard-comfortable.txt create mode 100644 crates/theme/tests/dumps/tokens/vectorcraft-modern-light-standard-compact.txt create mode 100644 crates/theme/tests/dumps/tokens/vectorcraft-modern-medium-dark-high-comfortable.txt create mode 100644 crates/theme/tests/dumps/tokens/vectorcraft-modern-medium-dark-high-compact.txt create mode 100644 crates/theme/tests/dumps/tokens/vectorcraft-modern-medium-dark-standard-comfortable.txt create mode 100644 crates/theme/tests/dumps/tokens/vectorcraft-modern-medium-dark-standard-compact.txt create mode 100644 crates/theme/tests/dumps/tokens/vectorcraft-modern-medium-light-high-comfortable.txt create mode 100644 crates/theme/tests/dumps/tokens/vectorcraft-modern-medium-light-high-compact.txt create mode 100644 crates/theme/tests/dumps/tokens/vectorcraft-modern-medium-light-standard-comfortable.txt create mode 100644 crates/theme/tests/dumps/tokens/vectorcraft-modern-medium-light-standard-compact.txt diff --git a/crates/theme/tests/dumps/tokens/vectorcraft-modern-dark-high-comfortable.txt b/crates/theme/tests/dumps/tokens/vectorcraft-modern-dark-high-comfortable.txt new file mode 100644 index 000000000..e032f0167 --- /dev/null +++ b/crates/theme/tests/dumps/tokens/vectorcraft-modern-dark-high-comfortable.txt @@ -0,0 +1,240 @@ +# Generated by crates/theme/tests/dumps.rs; rewrite with UPDATE_DUMPS=1 cargo test -p craft-theme dump +surface.background = #0b0d12ff +surface.canvas = #101217ff +surface.canvas_pattern = #101217ff +surface.panel = #181b22ff +surface.chrome = #181b22ff +surface.raised = #21242cff +surface.sunken = #0f1116ff +surface.knob = #e9ebf0ff +surface.scrim = #00000080 +surface.shadow = #00000096 +text.normal = #dfe4ecff +text.muted = #bbc4d5ff +text.faint = #bbc4d5ff +text.disabled = #82868fff +text.on_accent = #000000ff +text.on_strong = #ffffffff +text.on_status = #000000ff +text.on_selected = #e9ebf0ff +line.divider = #232832ff +line.border = #06070aff +line.control_edge = #2c323eff +line.knob_edge = #00000000 +line.frame = #0d0d0eff +line.mark = #989da5ff +line.focus = #f06a52ff +accent.solid = #f26b53ff +accent.hover = #f26f57ff +accent.pressed = #f98973ff +accent.strong = #aa2610ff +accent.strong_hover = #a6220bff +accent.strong_pressed = #901500ff +accent.soft = #461911ff +accent.border = #f26b53ff +accent.text = #ffa18fff +accent.on_soft = #ffa18fff +status.good.fg = #7fd492ff +status.good.bg = #0e2514ff +status.good.border = #07642cff +status.good.solid = #45af63ff +status.good.solid_hover = #4bb267ff +status.good.solid_pressed = #66c37cff +status.warn.fg = #f1af58ff +status.warn.bg = #2c1b04ff +status.warn.border = #724800ff +status.warn.solid = #f0a330ff +status.warn.solid_hover = #f2a739ff +status.warn.solid_pressed = #f2ab4aff +status.bad.fg = #ffa09dff +status.bad.bg = #361213ff +status.bad.border = #951f29ff +status.bad.solid = #fc6065ff +status.bad.solid_hover = #fb6166ff +status.bad.solid_pressed = #fb807fff +status.info.fg = #b6becfff +status.info.bg = #1d1f24ff +status.info.border = #4c5360ff +status.info.solid = #8c96a8ff +status.info.solid_hover = #8f99abff +status.info.solid_pressed = #a2abbdff +state.hover = #262b35ff +state.pressed = #2f3541ff +state.selected = #3a2a2cff +state.selected_hover = #4d3c3eff +state.disabled_fill = #181b22ff +state.text_selection = #f26b5346 +state.match = #f0dc005a +state.match_current = #f0a3306e +state.stripe = #262b3540 +overlay.stroke = #ffddd5ff +overlay.line = #f26b53ff +overlay.halo = #00000099 +overlay.handle_fill = #ffffffff +overlay.handle_stroke = #ce4a34ff +overlay.marquee = #ffffffff +overlay.guide = #4affffff +overlay.grid = #8c8c8cff +overlay.checker_light = #fafafaff +overlay.checker_dark = #d6d6d6ff +overlay.trail = #f26b536e +data.series.0 = #f47b74ff +data.series.1 = #df911aff +data.series.2 = #a2af29ff +data.series.3 = #2fc183ff +data.series.4 = #00bac9ff +data.series.5 = #52a9feff +data.series.6 = #ac8ff8ff +data.series.7 = #e17cc2ff +data.red = #f02623ff +data.green = #1eeb1eff +data.blue = #4c6fffff +data.luma = #e9ebf0ff +data.cyan = #00c8ebff +data.magenta = #e909a2ff +data.yellow = #f0dc00ff +data.scope = #282828ff +data.backdrop = #bbc4d580 +data.selection = #f26b5359 +caption.close_hover = #c42b1cff +caption.close_pressed = #c42b1ce6 +caption.close_text = #ffffffff +caption.disc = #dfe4ec1a +caption.inactive = #bbc4d5ff +caption.pressed = #bbc4d5ff +edge.light = #3d4048ff +edge.dark = #000000ff +shape.radius.sm = 3 +shape.radius.control = 6 +shape.radius.surface = 8 +shape.radius.window = 12 +shape.radius.panel = 0 +shape.radius.button = 999 +shape.radius.pill = 999 +shape.edge = flat +shape.knob = round +shape.wells = square +space.gap.tight = 3 +space.gap.inline = 6 +space.gap.row = 6 +space.gap.stack = 8 +space.gap.item = 10 +space.gap.section = 16 +space.gap.card_column = 16 +space.gap.card_row = 24 +space.pad.control = 8 +space.pad.regular = 12 +space.pad.roomy = 20 +space.pad.chip = 6 +space.pad.segment = 14 +space.inset.screen = 20 +size.control.sm = 24 +size.control.md = 30 +size.icon.sm = 14 +size.icon.md = 18 +size.icon.lg = 22 +size.icon.glyph_sm = 12 +size.icon.glyph_md = 14 +size.rail.width = 50 +size.rail.button = 36 +size.bar.title = 38 +size.bar.tab = 30 +size.bar.status = 30 +size.bar.options = 42 +size.bar.options_narrow = 36 +size.panel_header = 34 +size.popup_min = 240 +size.thumb.sm = 18 +size.thumb.md = 34 +size.thumb.lg = 48 +size.thumb.card = 160 +size.thumb.sample.sm = 36 +size.thumb.sample.md = 68 +size.thumb.sample.lg = 96 +size.handle.sm = 6 +size.handle.md = 8 +size.handle.ring = 18 +size.hit.slop = 3 +size.hit.target = 8 +size.hit.edge = 32 +size.checker = 4 +size.plot.width = 300 +size.plot.height = 180 +size.length.field.sm = 192 +size.length.field.md = 240 +size.length.track = 144 +size.length.short = 120 +size.length.number.sm = 72 +size.length.number.md = 90 +size.row.text = 21 +size.groove = 3 +size.ramp.bar = 10 +size.ramp.groove = 5 +size.pointer_tip.x = 24 +size.pointer_tip.y = 27 +size.float.width = 240 +size.float.height = 300 +size.window.cascade = 38 +size.pane.least = 50 +size.dock.column = 340 +size.dialog.least = 380 +size.dialog.wrap = 440 +size.dialog.button = 84 +size.dialog.side_button = 96 +stroke.thin = 1 +stroke.medium = 1.5 +stroke.thick = 2 +stroke.heavy = 3 +stroke.dash = 4 +stroke.dash_gap = 3 +stroke.icon = 0.0729 +typography.caption.size = 11.5 +typography.caption.line_height = 16 +typography.caption.font = ui +typography.label.size = 12.5 +typography.label.line_height = 18 +typography.label.font = ui +typography.body.size = 13 +typography.body.line_height = 18 +typography.body.font = ui +typography.body_strong.size = 13 +typography.body_strong.line_height = 18 +typography.body_strong.font = ui_semibold +typography.title.size = 14 +typography.title.line_height = 20 +typography.title.font = ui_semibold +typography.heading.size = 17 +typography.heading.line_height = 24 +typography.heading.font = ui_semibold +typography.body_large.size = 16 +typography.body_large.line_height = 22 +typography.body_large.font = ui +typography.mono.size = 12.5 +typography.mono.line_height = 18 +typography.mono.font = mono +typography.display.size = 38 +typography.display.line_height = 46 +typography.display.font = ui_semibold +elevation.popup.offset = 0 6 +elevation.popup.blur = 20 +elevation.popup.spread = 0 +elevation.popup.alpha = 0.588 +elevation.floating.offset = 0 10 +elevation.floating.blur = 32 +elevation.floating.spread = 0 +elevation.floating.alpha = 0.588 +elevation.knob.offset = 0 1 +elevation.knob.blur = 0 +elevation.knob.spread = 0.5 +elevation.knob.alpha = 0.353 +motion.hover.millis = 80 +motion.hover.easing = standard +motion.open.millis = 150 +motion.open.easing = standard +motion.move.millis = 150 +motion.move.easing = standard +motion.caret.millis = 100 +motion.caret.easing = enter +motion.outline.millis = 120 +motion.outline.easing = standard +motion.reduced = false diff --git a/crates/theme/tests/dumps/tokens/vectorcraft-modern-dark-high-compact.txt b/crates/theme/tests/dumps/tokens/vectorcraft-modern-dark-high-compact.txt new file mode 100644 index 000000000..55be43c5f --- /dev/null +++ b/crates/theme/tests/dumps/tokens/vectorcraft-modern-dark-high-compact.txt @@ -0,0 +1,240 @@ +# Generated by crates/theme/tests/dumps.rs; rewrite with UPDATE_DUMPS=1 cargo test -p craft-theme dump +surface.background = #0b0d12ff +surface.canvas = #101217ff +surface.canvas_pattern = #101217ff +surface.panel = #181b22ff +surface.chrome = #181b22ff +surface.raised = #21242cff +surface.sunken = #0f1116ff +surface.knob = #e9ebf0ff +surface.scrim = #00000080 +surface.shadow = #00000096 +text.normal = #dfe4ecff +text.muted = #bbc4d5ff +text.faint = #bbc4d5ff +text.disabled = #82868fff +text.on_accent = #000000ff +text.on_strong = #ffffffff +text.on_status = #000000ff +text.on_selected = #e9ebf0ff +line.divider = #232832ff +line.border = #06070aff +line.control_edge = #2c323eff +line.knob_edge = #00000000 +line.frame = #0d0d0eff +line.mark = #989da5ff +line.focus = #f06a52ff +accent.solid = #f26b53ff +accent.hover = #f26f57ff +accent.pressed = #f98973ff +accent.strong = #aa2610ff +accent.strong_hover = #a6220bff +accent.strong_pressed = #901500ff +accent.soft = #461911ff +accent.border = #f26b53ff +accent.text = #ffa18fff +accent.on_soft = #ffa18fff +status.good.fg = #7fd492ff +status.good.bg = #0e2514ff +status.good.border = #07642cff +status.good.solid = #45af63ff +status.good.solid_hover = #4bb267ff +status.good.solid_pressed = #66c37cff +status.warn.fg = #f1af58ff +status.warn.bg = #2c1b04ff +status.warn.border = #724800ff +status.warn.solid = #f0a330ff +status.warn.solid_hover = #f2a739ff +status.warn.solid_pressed = #f2ab4aff +status.bad.fg = #ffa09dff +status.bad.bg = #361213ff +status.bad.border = #951f29ff +status.bad.solid = #fc6065ff +status.bad.solid_hover = #fb6166ff +status.bad.solid_pressed = #fb807fff +status.info.fg = #b6becfff +status.info.bg = #1d1f24ff +status.info.border = #4c5360ff +status.info.solid = #8c96a8ff +status.info.solid_hover = #8f99abff +status.info.solid_pressed = #a2abbdff +state.hover = #262b35ff +state.pressed = #2f3541ff +state.selected = #3a2a2cff +state.selected_hover = #4d3c3eff +state.disabled_fill = #181b22ff +state.text_selection = #f26b5346 +state.match = #f0dc005a +state.match_current = #f0a3306e +state.stripe = #262b3540 +overlay.stroke = #ffddd5ff +overlay.line = #f26b53ff +overlay.halo = #00000099 +overlay.handle_fill = #ffffffff +overlay.handle_stroke = #ce4a34ff +overlay.marquee = #ffffffff +overlay.guide = #4affffff +overlay.grid = #8c8c8cff +overlay.checker_light = #fafafaff +overlay.checker_dark = #d6d6d6ff +overlay.trail = #f26b536e +data.series.0 = #f47b74ff +data.series.1 = #df911aff +data.series.2 = #a2af29ff +data.series.3 = #2fc183ff +data.series.4 = #00bac9ff +data.series.5 = #52a9feff +data.series.6 = #ac8ff8ff +data.series.7 = #e17cc2ff +data.red = #f02623ff +data.green = #1eeb1eff +data.blue = #4c6fffff +data.luma = #e9ebf0ff +data.cyan = #00c8ebff +data.magenta = #e909a2ff +data.yellow = #f0dc00ff +data.scope = #282828ff +data.backdrop = #bbc4d580 +data.selection = #f26b5359 +caption.close_hover = #c42b1cff +caption.close_pressed = #c42b1ce6 +caption.close_text = #ffffffff +caption.disc = #dfe4ec1a +caption.inactive = #bbc4d5ff +caption.pressed = #bbc4d5ff +edge.light = #3d4048ff +edge.dark = #000000ff +shape.radius.sm = 2 +shape.radius.control = 3 +shape.radius.surface = 4 +shape.radius.window = 6 +shape.radius.panel = 0 +shape.radius.button = 999 +shape.radius.pill = 999 +shape.edge = flat +shape.knob = round +shape.wells = square +space.gap.tight = 2 +space.gap.inline = 4 +space.gap.row = 4 +space.gap.stack = 6 +space.gap.item = 8 +space.gap.section = 12 +space.gap.card_column = 12 +space.gap.card_row = 18 +space.pad.control = 6 +space.pad.regular = 8 +space.pad.roomy = 16 +space.pad.chip = 4 +space.pad.segment = 10 +space.inset.screen = 16 +size.control.sm = 20 +size.control.md = 24 +size.icon.sm = 12 +size.icon.md = 16 +size.icon.lg = 20 +size.icon.glyph_sm = 10 +size.icon.glyph_md = 12 +size.rail.width = 40 +size.rail.button = 30 +size.bar.title = 32 +size.bar.tab = 26 +size.bar.status = 24 +size.bar.options = 36 +size.bar.options_narrow = 28 +size.panel_header = 28 +size.popup_min = 192 +size.thumb.sm = 18 +size.thumb.md = 24 +size.thumb.lg = 48 +size.thumb.card = 128 +size.thumb.sample.sm = 36 +size.thumb.sample.md = 48 +size.thumb.sample.lg = 96 +size.handle.sm = 6 +size.handle.md = 8 +size.handle.ring = 18 +size.hit.slop = 3 +size.hit.target = 8 +size.hit.edge = 32 +size.checker = 4 +size.plot.width = 240 +size.plot.height = 144 +size.length.field.sm = 160 +size.length.field.md = 192 +size.length.track = 128 +size.length.short = 96 +size.length.number.sm = 60 +size.length.number.md = 72 +size.row.text = 18 +size.groove = 3 +size.ramp.bar = 10 +size.ramp.groove = 5 +size.pointer_tip.x = 20 +size.pointer_tip.y = 22 +size.float.width = 192 +size.float.height = 240 +size.window.cascade = 32 +size.pane.least = 40 +size.dock.column = 340 +size.dialog.least = 380 +size.dialog.wrap = 440 +size.dialog.button = 84 +size.dialog.side_button = 96 +stroke.thin = 1 +stroke.medium = 1.5 +stroke.thick = 2 +stroke.heavy = 3 +stroke.dash = 4 +stroke.dash_gap = 3 +stroke.icon = 0.0729 +typography.caption.size = 10.5 +typography.caption.line_height = 14 +typography.caption.font = ui +typography.label.size = 11.5 +typography.label.line_height = 16 +typography.label.font = ui +typography.body.size = 12 +typography.body.line_height = 16 +typography.body.font = ui +typography.body_strong.size = 12 +typography.body_strong.line_height = 16 +typography.body_strong.font = ui_semibold +typography.title.size = 13 +typography.title.line_height = 18 +typography.title.font = ui_semibold +typography.heading.size = 15 +typography.heading.line_height = 20 +typography.heading.font = ui_semibold +typography.body_large.size = 15 +typography.body_large.line_height = 20 +typography.body_large.font = ui +typography.mono.size = 11.5 +typography.mono.line_height = 16 +typography.mono.font = mono +typography.display.size = 38 +typography.display.line_height = 46 +typography.display.font = ui_semibold +elevation.popup.offset = 0 6 +elevation.popup.blur = 20 +elevation.popup.spread = 0 +elevation.popup.alpha = 0.588 +elevation.floating.offset = 0 10 +elevation.floating.blur = 32 +elevation.floating.spread = 0 +elevation.floating.alpha = 0.588 +elevation.knob.offset = 0 1 +elevation.knob.blur = 0 +elevation.knob.spread = 0.5 +elevation.knob.alpha = 0.353 +motion.hover.millis = 80 +motion.hover.easing = standard +motion.open.millis = 150 +motion.open.easing = standard +motion.move.millis = 150 +motion.move.easing = standard +motion.caret.millis = 100 +motion.caret.easing = enter +motion.outline.millis = 120 +motion.outline.easing = standard +motion.reduced = false diff --git a/crates/theme/tests/dumps/tokens/vectorcraft-modern-dark-standard-comfortable.txt b/crates/theme/tests/dumps/tokens/vectorcraft-modern-dark-standard-comfortable.txt new file mode 100644 index 000000000..1065ac148 --- /dev/null +++ b/crates/theme/tests/dumps/tokens/vectorcraft-modern-dark-standard-comfortable.txt @@ -0,0 +1,247 @@ +# Generated by crates/theme/tests/dumps.rs; rewrite with UPDATE_DUMPS=1 cargo test -p craft-theme dump +surface.background = #0b0d12ff +surface.canvas = #101217ff +surface.canvas_pattern = #101217ff +surface.panel = #181b22ff +surface.chrome = #181b22ff +surface.raised = #21242cff +surface.sunken = #0f1116ff +surface.knob = #e9ebf0ff +surface.scrim = #00000080 +surface.shadow = #00000096 +text.normal = #dfe4ecff +text.muted = #969fafff +text.faint = #5a6271ff +text.disabled = #82868fff +text.on_accent = #000000ff +text.on_strong = #ffffffff +text.on_status = #000000ff +text.on_selected = #e9ebf0ff +line.divider = #232832ff +line.border = #06070aff +line.control_edge = #2c323eff +line.knob_edge = #00000000 +line.frame = #0d0d0eff +line.mark = #797e86ff +line.focus = #f06a52ff +accent.solid = #f06a52ff +accent.hover = #f26f57ff +accent.pressed = #f98973ff +accent.strong = #ce4a34ff +accent.strong_hover = #ca4731ff +accent.strong_pressed = #b8351fff +accent.soft = #461911ff +accent.border = #f06a52ff +accent.text = #ffa18fff +accent.on_soft = #ffa18fff +status.good.fg = #7fd492ff +status.good.bg = #0e2514ff +status.good.border = #07642cff +status.good.solid = #45af63ff +status.good.solid_hover = #4bb267ff +status.good.solid_pressed = #66c37cff +status.warn.fg = #f1af58ff +status.warn.bg = #2c1b04ff +status.warn.border = #724800ff +status.warn.solid = #f0a330ff +status.warn.solid_hover = #f2a739ff +status.warn.solid_pressed = #f2ab4aff +status.bad.fg = #ffa09dff +status.bad.bg = #361213ff +status.bad.border = #951f29ff +status.bad.solid = #e34850ff +status.bad.solid_hover = #f65d62ff +status.bad.solid_pressed = #fb807fff +status.info.fg = #b6becfff +status.info.bg = #1d1f24ff +status.info.border = #4c5360ff +status.info.solid = #6f788aff +status.info.solid_hover = #8f99abff +status.info.solid_pressed = #a2abbdff +state.hover = #262b35ff +state.pressed = #2f3541ff +state.selected = #3a2a2cff +state.selected_hover = #4d3c3eff +state.disabled_fill = #181b22ff +state.text_selection = #f06a5246 +state.match = #f0dc005a +state.match_current = #f0a3306e +state.stripe = #262b3540 +overlay.stroke = #ffa492ff +overlay.line = #f06a52ff +overlay.halo = #00000099 +overlay.handle_fill = #ffffffff +overlay.handle_stroke = #f06a52ff +overlay.marquee = #ffffffff +overlay.guide = #4affffff +overlay.grid = #8c8c8cff +overlay.checker_light = #fafafaff +overlay.checker_dark = #d6d6d6ff +overlay.trail = #f06a526e +data.series.0 = #f47b74ff +data.series.1 = #df911aff +data.series.2 = #a2af29ff +data.series.3 = #2fc183ff +data.series.4 = #00bac9ff +data.series.5 = #52a9feff +data.series.6 = #ac8ff8ff +data.series.7 = #e17cc2ff +data.red = #eb1e1eff +data.green = #1eeb1eff +data.blue = #2828f0ff +data.luma = #e9ebf0ff +data.cyan = #00c8ebff +data.magenta = #e600a0ff +data.yellow = #f0dc00ff +data.scope = #282828ff +data.backdrop = #969faf80 +data.selection = #f06a5259 +caption.close_hover = #c42b1cff +caption.close_pressed = #c42b1ce6 +caption.close_text = #ffffffff +caption.disc = #dfe4ec1a +caption.inactive = #5a6271ff +caption.pressed = #969fafff +edge.light = #3d4048ff +edge.dark = #000000ff +shape.radius.sm = 3 +shape.radius.control = 6 +shape.radius.surface = 8 +shape.radius.window = 12 +shape.radius.panel = 0 +shape.radius.button = 999 +shape.radius.pill = 999 +shape.edge = flat +shape.knob = round +shape.wells = square +space.gap.tight = 3 +space.gap.inline = 6 +space.gap.row = 6 +space.gap.stack = 8 +space.gap.item = 10 +space.gap.section = 16 +space.gap.card_column = 16 +space.gap.card_row = 24 +space.pad.control = 8 +space.pad.regular = 12 +space.pad.roomy = 20 +space.pad.chip = 6 +space.pad.segment = 14 +space.inset.screen = 20 +size.control.sm = 24 +size.control.md = 30 +size.icon.sm = 14 +size.icon.md = 18 +size.icon.lg = 22 +size.icon.glyph_sm = 12 +size.icon.glyph_md = 14 +size.rail.width = 50 +size.rail.button = 36 +size.bar.title = 38 +size.bar.tab = 30 +size.bar.status = 30 +size.bar.options = 42 +size.bar.options_narrow = 36 +size.panel_header = 34 +size.popup_min = 240 +size.thumb.sm = 18 +size.thumb.md = 34 +size.thumb.lg = 48 +size.thumb.card = 160 +size.thumb.sample.sm = 36 +size.thumb.sample.md = 68 +size.thumb.sample.lg = 96 +size.handle.sm = 6 +size.handle.md = 8 +size.handle.ring = 18 +size.hit.slop = 3 +size.hit.target = 8 +size.hit.edge = 32 +size.checker = 4 +size.plot.width = 300 +size.plot.height = 180 +size.length.field.sm = 192 +size.length.field.md = 240 +size.length.track = 144 +size.length.short = 120 +size.length.number.sm = 72 +size.length.number.md = 90 +size.row.text = 21 +size.groove = 3 +size.ramp.bar = 10 +size.ramp.groove = 5 +size.pointer_tip.x = 24 +size.pointer_tip.y = 27 +size.float.width = 240 +size.float.height = 300 +size.window.cascade = 38 +size.pane.least = 50 +size.dock.column = 340 +size.dialog.least = 380 +size.dialog.wrap = 440 +size.dialog.button = 84 +size.dialog.side_button = 96 +stroke.thin = 1 +stroke.medium = 1.5 +stroke.thick = 2 +stroke.heavy = 3 +stroke.dash = 4 +stroke.dash_gap = 3 +stroke.icon = 0.0729 +typography.caption.size = 11.5 +typography.caption.line_height = 16 +typography.caption.font = ui +typography.label.size = 12.5 +typography.label.line_height = 18 +typography.label.font = ui +typography.body.size = 13 +typography.body.line_height = 18 +typography.body.font = ui +typography.body_strong.size = 13 +typography.body_strong.line_height = 18 +typography.body_strong.font = ui_semibold +typography.title.size = 14 +typography.title.line_height = 20 +typography.title.font = ui_semibold +typography.heading.size = 17 +typography.heading.line_height = 24 +typography.heading.font = ui_semibold +typography.body_large.size = 16 +typography.body_large.line_height = 22 +typography.body_large.font = ui +typography.mono.size = 12.5 +typography.mono.line_height = 18 +typography.mono.font = mono +typography.display.size = 38 +typography.display.line_height = 46 +typography.display.font = ui_semibold +elevation.popup.offset = 0 6 +elevation.popup.blur = 20 +elevation.popup.spread = 0 +elevation.popup.alpha = 0.588 +elevation.floating.offset = 0 10 +elevation.floating.blur = 32 +elevation.floating.spread = 0 +elevation.floating.alpha = 0.588 +elevation.knob.offset = 0 1 +elevation.knob.blur = 0 +elevation.knob.spread = 0.5 +elevation.knob.alpha = 0.353 +motion.hover.millis = 80 +motion.hover.easing = standard +motion.open.millis = 150 +motion.open.easing = standard +motion.move.millis = 150 +motion.move.easing = standard +motion.caret.millis = 100 +motion.caret.easing = enter +motion.outline.millis = 120 +motion.outline.easing = standard +motion.reduced = false +warning = text.faint on surface.background: 3.17 < 4.50 +warning = text.faint on surface.panel: 2.81 < 4.50 +warning = text.faint on surface.chrome: 2.81 < 4.50 +warning = text.faint on surface.raised: 2.53 < 4.50 +warning = text.faint on surface.sunken: 3.08 < 4.50 +warning = text.faint on state.hover: 2.31 < 4.50 +warning = text.faint on state.pressed: 2.00 < 4.50 diff --git a/crates/theme/tests/dumps/tokens/vectorcraft-modern-dark-standard-compact.txt b/crates/theme/tests/dumps/tokens/vectorcraft-modern-dark-standard-compact.txt new file mode 100644 index 000000000..72552c453 --- /dev/null +++ b/crates/theme/tests/dumps/tokens/vectorcraft-modern-dark-standard-compact.txt @@ -0,0 +1,247 @@ +# Generated by crates/theme/tests/dumps.rs; rewrite with UPDATE_DUMPS=1 cargo test -p craft-theme dump +surface.background = #0b0d12ff +surface.canvas = #101217ff +surface.canvas_pattern = #101217ff +surface.panel = #181b22ff +surface.chrome = #181b22ff +surface.raised = #21242cff +surface.sunken = #0f1116ff +surface.knob = #e9ebf0ff +surface.scrim = #00000080 +surface.shadow = #00000096 +text.normal = #dfe4ecff +text.muted = #969fafff +text.faint = #5a6271ff +text.disabled = #82868fff +text.on_accent = #000000ff +text.on_strong = #ffffffff +text.on_status = #000000ff +text.on_selected = #e9ebf0ff +line.divider = #232832ff +line.border = #06070aff +line.control_edge = #2c323eff +line.knob_edge = #00000000 +line.frame = #0d0d0eff +line.mark = #797e86ff +line.focus = #f06a52ff +accent.solid = #f06a52ff +accent.hover = #f26f57ff +accent.pressed = #f98973ff +accent.strong = #ce4a34ff +accent.strong_hover = #ca4731ff +accent.strong_pressed = #b8351fff +accent.soft = #461911ff +accent.border = #f06a52ff +accent.text = #ffa18fff +accent.on_soft = #ffa18fff +status.good.fg = #7fd492ff +status.good.bg = #0e2514ff +status.good.border = #07642cff +status.good.solid = #45af63ff +status.good.solid_hover = #4bb267ff +status.good.solid_pressed = #66c37cff +status.warn.fg = #f1af58ff +status.warn.bg = #2c1b04ff +status.warn.border = #724800ff +status.warn.solid = #f0a330ff +status.warn.solid_hover = #f2a739ff +status.warn.solid_pressed = #f2ab4aff +status.bad.fg = #ffa09dff +status.bad.bg = #361213ff +status.bad.border = #951f29ff +status.bad.solid = #e34850ff +status.bad.solid_hover = #f65d62ff +status.bad.solid_pressed = #fb807fff +status.info.fg = #b6becfff +status.info.bg = #1d1f24ff +status.info.border = #4c5360ff +status.info.solid = #6f788aff +status.info.solid_hover = #8f99abff +status.info.solid_pressed = #a2abbdff +state.hover = #262b35ff +state.pressed = #2f3541ff +state.selected = #3a2a2cff +state.selected_hover = #4d3c3eff +state.disabled_fill = #181b22ff +state.text_selection = #f06a5246 +state.match = #f0dc005a +state.match_current = #f0a3306e +state.stripe = #262b3540 +overlay.stroke = #ffa492ff +overlay.line = #f06a52ff +overlay.halo = #00000099 +overlay.handle_fill = #ffffffff +overlay.handle_stroke = #f06a52ff +overlay.marquee = #ffffffff +overlay.guide = #4affffff +overlay.grid = #8c8c8cff +overlay.checker_light = #fafafaff +overlay.checker_dark = #d6d6d6ff +overlay.trail = #f06a526e +data.series.0 = #f47b74ff +data.series.1 = #df911aff +data.series.2 = #a2af29ff +data.series.3 = #2fc183ff +data.series.4 = #00bac9ff +data.series.5 = #52a9feff +data.series.6 = #ac8ff8ff +data.series.7 = #e17cc2ff +data.red = #eb1e1eff +data.green = #1eeb1eff +data.blue = #2828f0ff +data.luma = #e9ebf0ff +data.cyan = #00c8ebff +data.magenta = #e600a0ff +data.yellow = #f0dc00ff +data.scope = #282828ff +data.backdrop = #969faf80 +data.selection = #f06a5259 +caption.close_hover = #c42b1cff +caption.close_pressed = #c42b1ce6 +caption.close_text = #ffffffff +caption.disc = #dfe4ec1a +caption.inactive = #5a6271ff +caption.pressed = #969fafff +edge.light = #3d4048ff +edge.dark = #000000ff +shape.radius.sm = 2 +shape.radius.control = 3 +shape.radius.surface = 4 +shape.radius.window = 6 +shape.radius.panel = 0 +shape.radius.button = 999 +shape.radius.pill = 999 +shape.edge = flat +shape.knob = round +shape.wells = square +space.gap.tight = 2 +space.gap.inline = 4 +space.gap.row = 4 +space.gap.stack = 6 +space.gap.item = 8 +space.gap.section = 12 +space.gap.card_column = 12 +space.gap.card_row = 18 +space.pad.control = 6 +space.pad.regular = 8 +space.pad.roomy = 16 +space.pad.chip = 4 +space.pad.segment = 10 +space.inset.screen = 16 +size.control.sm = 20 +size.control.md = 24 +size.icon.sm = 12 +size.icon.md = 16 +size.icon.lg = 20 +size.icon.glyph_sm = 10 +size.icon.glyph_md = 12 +size.rail.width = 40 +size.rail.button = 30 +size.bar.title = 32 +size.bar.tab = 26 +size.bar.status = 24 +size.bar.options = 36 +size.bar.options_narrow = 28 +size.panel_header = 28 +size.popup_min = 192 +size.thumb.sm = 18 +size.thumb.md = 24 +size.thumb.lg = 48 +size.thumb.card = 128 +size.thumb.sample.sm = 36 +size.thumb.sample.md = 48 +size.thumb.sample.lg = 96 +size.handle.sm = 6 +size.handle.md = 8 +size.handle.ring = 18 +size.hit.slop = 3 +size.hit.target = 8 +size.hit.edge = 32 +size.checker = 4 +size.plot.width = 240 +size.plot.height = 144 +size.length.field.sm = 160 +size.length.field.md = 192 +size.length.track = 128 +size.length.short = 96 +size.length.number.sm = 60 +size.length.number.md = 72 +size.row.text = 18 +size.groove = 3 +size.ramp.bar = 10 +size.ramp.groove = 5 +size.pointer_tip.x = 20 +size.pointer_tip.y = 22 +size.float.width = 192 +size.float.height = 240 +size.window.cascade = 32 +size.pane.least = 40 +size.dock.column = 340 +size.dialog.least = 380 +size.dialog.wrap = 440 +size.dialog.button = 84 +size.dialog.side_button = 96 +stroke.thin = 1 +stroke.medium = 1.5 +stroke.thick = 2 +stroke.heavy = 3 +stroke.dash = 4 +stroke.dash_gap = 3 +stroke.icon = 0.0729 +typography.caption.size = 10.5 +typography.caption.line_height = 14 +typography.caption.font = ui +typography.label.size = 11.5 +typography.label.line_height = 16 +typography.label.font = ui +typography.body.size = 12 +typography.body.line_height = 16 +typography.body.font = ui +typography.body_strong.size = 12 +typography.body_strong.line_height = 16 +typography.body_strong.font = ui_semibold +typography.title.size = 13 +typography.title.line_height = 18 +typography.title.font = ui_semibold +typography.heading.size = 15 +typography.heading.line_height = 20 +typography.heading.font = ui_semibold +typography.body_large.size = 15 +typography.body_large.line_height = 20 +typography.body_large.font = ui +typography.mono.size = 11.5 +typography.mono.line_height = 16 +typography.mono.font = mono +typography.display.size = 38 +typography.display.line_height = 46 +typography.display.font = ui_semibold +elevation.popup.offset = 0 6 +elevation.popup.blur = 20 +elevation.popup.spread = 0 +elevation.popup.alpha = 0.588 +elevation.floating.offset = 0 10 +elevation.floating.blur = 32 +elevation.floating.spread = 0 +elevation.floating.alpha = 0.588 +elevation.knob.offset = 0 1 +elevation.knob.blur = 0 +elevation.knob.spread = 0.5 +elevation.knob.alpha = 0.353 +motion.hover.millis = 80 +motion.hover.easing = standard +motion.open.millis = 150 +motion.open.easing = standard +motion.move.millis = 150 +motion.move.easing = standard +motion.caret.millis = 100 +motion.caret.easing = enter +motion.outline.millis = 120 +motion.outline.easing = standard +motion.reduced = false +warning = text.faint on surface.background: 3.17 < 4.50 +warning = text.faint on surface.panel: 2.81 < 4.50 +warning = text.faint on surface.chrome: 2.81 < 4.50 +warning = text.faint on surface.raised: 2.53 < 4.50 +warning = text.faint on surface.sunken: 3.08 < 4.50 +warning = text.faint on state.hover: 2.31 < 4.50 +warning = text.faint on state.pressed: 2.00 < 4.50 diff --git a/crates/theme/tests/dumps/tokens/vectorcraft-modern-light-high-comfortable.txt b/crates/theme/tests/dumps/tokens/vectorcraft-modern-light-high-comfortable.txt new file mode 100644 index 000000000..f1525ef8e --- /dev/null +++ b/crates/theme/tests/dumps/tokens/vectorcraft-modern-light-high-comfortable.txt @@ -0,0 +1,240 @@ +# Generated by crates/theme/tests/dumps.rs; rewrite with UPDATE_DUMPS=1 cargo test -p craft-theme dump +surface.background = #e6e9eeff +surface.canvas = #dfe3e9ff +surface.canvas_pattern = #dfe3e9ff +surface.panel = #f3f5f8ff +surface.chrome = #f3f5f8ff +surface.raised = #f9fbfeff +surface.sunken = #ffffffff +surface.knob = #fcfcfdff +surface.scrim = #00000059 +surface.shadow = #00000032 +text.normal = #1b1f27ff +text.muted = #3d4452ff +text.faint = #3f444fff +text.disabled = #848689ff +text.on_accent = #ffffffff +text.on_strong = #ffffffff +text.on_status = #000000ff +text.on_selected = #262627ff +line.divider = #dde1e8ff +line.border = #d0d5ddff +line.control_edge = #c3c9d3ff +line.knob_edge = #3d4452ff +line.frame = #c3c9d3ff +line.mark = #5f6062ff +line.focus = #c4321aff +accent.solid = #af1c00ff +accent.hover = #af1d02ff +accent.pressed = #aa2611ff +accent.strong = #af1c00ff +accent.strong_hover = #a01900ff +accent.strong_pressed = #8a1400ff +accent.soft = #ffe9e4ff +accent.border = #af1c00ff +accent.text = #9e2613ff +accent.on_soft = #98210dff +status.good.fg = #005d28ff +status.good.bg = #daf7dfff +status.good.border = #87d798ff +status.good.solid = #45af63ff +status.good.solid_hover = #41a95fff +status.good.solid_pressed = #4aa863ff +status.warn.fg = #704600ff +status.warn.bg = #ffebd4ff +status.warn.border = #f1b464ff +status.warn.solid = #f0a330ff +status.warn.solid_hover = #c58935ff +status.warn.solid_pressed = #c28a40ff +status.bad.fg = #9b1928ff +status.bad.bg = #ffe8e7ff +status.bad.border = #ffa5a2ff +status.bad.solid = #fc6065ff +status.bad.solid_hover = #fb6166ff +status.bad.solid_pressed = #f56768ff +status.info.fg = #48505dff +status.info.bg = #ebeef5ff +status.info.border = #b9c1d1ff +status.info.solid = #8c96a8ff +status.info.solid_hover = #8c96a8ff +status.info.solid_pressed = #8d96a7ff +state.hover = #e3e7edff +state.pressed = #d5dbe3ff +state.selected = #f8d9d2ff +state.selected_hover = #eccec7ff +state.disabled_fill = #f3f5f8ff +state.text_selection = #af1c0046 +state.match = #8378005a +state.match_current = #f0a3306e +state.stripe = #e3e7ed40 +overlay.stroke = #ffddd5ff +overlay.line = #af1c00ff +overlay.halo = #00000099 +overlay.handle_fill = #ffffffff +overlay.handle_stroke = #d4432bff +overlay.marquee = #ffffffff +overlay.guide = #4affffff +overlay.grid = #8c8c8cff +overlay.checker_light = #fafafaff +overlay.checker_dark = #d6d6d6ff +overlay.trail = #af1c006e +data.series.0 = #bc4945ff +data.series.1 = #a16600ff +data.series.2 = #737c00ff +data.series.3 = #008a5aff +data.series.4 = #00848fff +data.series.5 = #1577c8ff +data.series.6 = #7c5ec2ff +data.series.7 = #ab4b90ff +data.red = #e91b1cff +data.green = #008a02ff +data.blue = #2828f0ff +data.luma = #262627ff +data.cyan = #00829aff +data.magenta = #e0009cff +data.yellow = #837800ff +data.scope = #282828ff +data.backdrop = #3d445280 +data.selection = #af1c0059 +caption.close_hover = #c42b1cff +caption.close_pressed = #c42b1ce6 +caption.close_text = #ffffffff +caption.disc = #1b1f271a +caption.inactive = #3f444fff +caption.pressed = #3d4452ff +edge.light = #ffffffff +edge.dark = #a0a1a4ff +shape.radius.sm = 3 +shape.radius.control = 6 +shape.radius.surface = 8 +shape.radius.window = 12 +shape.radius.panel = 0 +shape.radius.button = 999 +shape.radius.pill = 999 +shape.edge = flat +shape.knob = round +shape.wells = square +space.gap.tight = 3 +space.gap.inline = 6 +space.gap.row = 6 +space.gap.stack = 8 +space.gap.item = 10 +space.gap.section = 16 +space.gap.card_column = 16 +space.gap.card_row = 24 +space.pad.control = 8 +space.pad.regular = 12 +space.pad.roomy = 20 +space.pad.chip = 6 +space.pad.segment = 14 +space.inset.screen = 20 +size.control.sm = 24 +size.control.md = 30 +size.icon.sm = 14 +size.icon.md = 18 +size.icon.lg = 22 +size.icon.glyph_sm = 12 +size.icon.glyph_md = 14 +size.rail.width = 50 +size.rail.button = 36 +size.bar.title = 38 +size.bar.tab = 30 +size.bar.status = 30 +size.bar.options = 42 +size.bar.options_narrow = 36 +size.panel_header = 34 +size.popup_min = 240 +size.thumb.sm = 18 +size.thumb.md = 34 +size.thumb.lg = 48 +size.thumb.card = 160 +size.thumb.sample.sm = 36 +size.thumb.sample.md = 68 +size.thumb.sample.lg = 96 +size.handle.sm = 6 +size.handle.md = 8 +size.handle.ring = 18 +size.hit.slop = 3 +size.hit.target = 8 +size.hit.edge = 32 +size.checker = 4 +size.plot.width = 300 +size.plot.height = 180 +size.length.field.sm = 192 +size.length.field.md = 240 +size.length.track = 144 +size.length.short = 120 +size.length.number.sm = 72 +size.length.number.md = 90 +size.row.text = 21 +size.groove = 3 +size.ramp.bar = 10 +size.ramp.groove = 5 +size.pointer_tip.x = 24 +size.pointer_tip.y = 27 +size.float.width = 240 +size.float.height = 300 +size.window.cascade = 38 +size.pane.least = 50 +size.dock.column = 340 +size.dialog.least = 380 +size.dialog.wrap = 440 +size.dialog.button = 84 +size.dialog.side_button = 96 +stroke.thin = 1 +stroke.medium = 1.5 +stroke.thick = 2 +stroke.heavy = 3 +stroke.dash = 4 +stroke.dash_gap = 3 +stroke.icon = 0.0729 +typography.caption.size = 11.5 +typography.caption.line_height = 16 +typography.caption.font = ui +typography.label.size = 12.5 +typography.label.line_height = 18 +typography.label.font = ui +typography.body.size = 13 +typography.body.line_height = 18 +typography.body.font = ui +typography.body_strong.size = 13 +typography.body_strong.line_height = 18 +typography.body_strong.font = ui_semibold +typography.title.size = 14 +typography.title.line_height = 20 +typography.title.font = ui_semibold +typography.heading.size = 17 +typography.heading.line_height = 24 +typography.heading.font = ui_semibold +typography.body_large.size = 16 +typography.body_large.line_height = 22 +typography.body_large.font = ui +typography.mono.size = 12.5 +typography.mono.line_height = 18 +typography.mono.font = mono +typography.display.size = 38 +typography.display.line_height = 46 +typography.display.font = ui_semibold +elevation.popup.offset = 0 6 +elevation.popup.blur = 20 +elevation.popup.spread = 0 +elevation.popup.alpha = 0.196 +elevation.floating.offset = 0 10 +elevation.floating.blur = 32 +elevation.floating.spread = 0 +elevation.floating.alpha = 0.196 +elevation.knob.offset = 0 1 +elevation.knob.blur = 0 +elevation.knob.spread = 0.5 +elevation.knob.alpha = 0.353 +motion.hover.millis = 80 +motion.hover.easing = standard +motion.open.millis = 150 +motion.open.easing = standard +motion.move.millis = 150 +motion.move.easing = standard +motion.caret.millis = 100 +motion.caret.easing = enter +motion.outline.millis = 120 +motion.outline.easing = standard +motion.reduced = false diff --git a/crates/theme/tests/dumps/tokens/vectorcraft-modern-light-high-compact.txt b/crates/theme/tests/dumps/tokens/vectorcraft-modern-light-high-compact.txt new file mode 100644 index 000000000..193352fd3 --- /dev/null +++ b/crates/theme/tests/dumps/tokens/vectorcraft-modern-light-high-compact.txt @@ -0,0 +1,240 @@ +# Generated by crates/theme/tests/dumps.rs; rewrite with UPDATE_DUMPS=1 cargo test -p craft-theme dump +surface.background = #e6e9eeff +surface.canvas = #dfe3e9ff +surface.canvas_pattern = #dfe3e9ff +surface.panel = #f3f5f8ff +surface.chrome = #f3f5f8ff +surface.raised = #f9fbfeff +surface.sunken = #ffffffff +surface.knob = #fcfcfdff +surface.scrim = #00000059 +surface.shadow = #00000032 +text.normal = #1b1f27ff +text.muted = #3d4452ff +text.faint = #3f444fff +text.disabled = #848689ff +text.on_accent = #ffffffff +text.on_strong = #ffffffff +text.on_status = #000000ff +text.on_selected = #262627ff +line.divider = #dde1e8ff +line.border = #d0d5ddff +line.control_edge = #c3c9d3ff +line.knob_edge = #3d4452ff +line.frame = #c3c9d3ff +line.mark = #5f6062ff +line.focus = #c4321aff +accent.solid = #af1c00ff +accent.hover = #af1d02ff +accent.pressed = #aa2611ff +accent.strong = #af1c00ff +accent.strong_hover = #a01900ff +accent.strong_pressed = #8a1400ff +accent.soft = #ffe9e4ff +accent.border = #af1c00ff +accent.text = #9e2613ff +accent.on_soft = #98210dff +status.good.fg = #005d28ff +status.good.bg = #daf7dfff +status.good.border = #87d798ff +status.good.solid = #45af63ff +status.good.solid_hover = #41a95fff +status.good.solid_pressed = #4aa863ff +status.warn.fg = #704600ff +status.warn.bg = #ffebd4ff +status.warn.border = #f1b464ff +status.warn.solid = #f0a330ff +status.warn.solid_hover = #c58935ff +status.warn.solid_pressed = #c28a40ff +status.bad.fg = #9b1928ff +status.bad.bg = #ffe8e7ff +status.bad.border = #ffa5a2ff +status.bad.solid = #fc6065ff +status.bad.solid_hover = #fb6166ff +status.bad.solid_pressed = #f56768ff +status.info.fg = #48505dff +status.info.bg = #ebeef5ff +status.info.border = #b9c1d1ff +status.info.solid = #8c96a8ff +status.info.solid_hover = #8c96a8ff +status.info.solid_pressed = #8d96a7ff +state.hover = #e3e7edff +state.pressed = #d5dbe3ff +state.selected = #f8d9d2ff +state.selected_hover = #eccec7ff +state.disabled_fill = #f3f5f8ff +state.text_selection = #af1c0046 +state.match = #8378005a +state.match_current = #f0a3306e +state.stripe = #e3e7ed40 +overlay.stroke = #ffddd5ff +overlay.line = #af1c00ff +overlay.halo = #00000099 +overlay.handle_fill = #ffffffff +overlay.handle_stroke = #d4432bff +overlay.marquee = #ffffffff +overlay.guide = #4affffff +overlay.grid = #8c8c8cff +overlay.checker_light = #fafafaff +overlay.checker_dark = #d6d6d6ff +overlay.trail = #af1c006e +data.series.0 = #bc4945ff +data.series.1 = #a16600ff +data.series.2 = #737c00ff +data.series.3 = #008a5aff +data.series.4 = #00848fff +data.series.5 = #1577c8ff +data.series.6 = #7c5ec2ff +data.series.7 = #ab4b90ff +data.red = #e91b1cff +data.green = #008a02ff +data.blue = #2828f0ff +data.luma = #262627ff +data.cyan = #00829aff +data.magenta = #e0009cff +data.yellow = #837800ff +data.scope = #282828ff +data.backdrop = #3d445280 +data.selection = #af1c0059 +caption.close_hover = #c42b1cff +caption.close_pressed = #c42b1ce6 +caption.close_text = #ffffffff +caption.disc = #1b1f271a +caption.inactive = #3f444fff +caption.pressed = #3d4452ff +edge.light = #ffffffff +edge.dark = #a0a1a4ff +shape.radius.sm = 2 +shape.radius.control = 3 +shape.radius.surface = 4 +shape.radius.window = 6 +shape.radius.panel = 0 +shape.radius.button = 999 +shape.radius.pill = 999 +shape.edge = flat +shape.knob = round +shape.wells = square +space.gap.tight = 2 +space.gap.inline = 4 +space.gap.row = 4 +space.gap.stack = 6 +space.gap.item = 8 +space.gap.section = 12 +space.gap.card_column = 12 +space.gap.card_row = 18 +space.pad.control = 6 +space.pad.regular = 8 +space.pad.roomy = 16 +space.pad.chip = 4 +space.pad.segment = 10 +space.inset.screen = 16 +size.control.sm = 20 +size.control.md = 24 +size.icon.sm = 12 +size.icon.md = 16 +size.icon.lg = 20 +size.icon.glyph_sm = 10 +size.icon.glyph_md = 12 +size.rail.width = 40 +size.rail.button = 30 +size.bar.title = 32 +size.bar.tab = 26 +size.bar.status = 24 +size.bar.options = 36 +size.bar.options_narrow = 28 +size.panel_header = 28 +size.popup_min = 192 +size.thumb.sm = 18 +size.thumb.md = 24 +size.thumb.lg = 48 +size.thumb.card = 128 +size.thumb.sample.sm = 36 +size.thumb.sample.md = 48 +size.thumb.sample.lg = 96 +size.handle.sm = 6 +size.handle.md = 8 +size.handle.ring = 18 +size.hit.slop = 3 +size.hit.target = 8 +size.hit.edge = 32 +size.checker = 4 +size.plot.width = 240 +size.plot.height = 144 +size.length.field.sm = 160 +size.length.field.md = 192 +size.length.track = 128 +size.length.short = 96 +size.length.number.sm = 60 +size.length.number.md = 72 +size.row.text = 18 +size.groove = 3 +size.ramp.bar = 10 +size.ramp.groove = 5 +size.pointer_tip.x = 20 +size.pointer_tip.y = 22 +size.float.width = 192 +size.float.height = 240 +size.window.cascade = 32 +size.pane.least = 40 +size.dock.column = 340 +size.dialog.least = 380 +size.dialog.wrap = 440 +size.dialog.button = 84 +size.dialog.side_button = 96 +stroke.thin = 1 +stroke.medium = 1.5 +stroke.thick = 2 +stroke.heavy = 3 +stroke.dash = 4 +stroke.dash_gap = 3 +stroke.icon = 0.0729 +typography.caption.size = 10.5 +typography.caption.line_height = 14 +typography.caption.font = ui +typography.label.size = 11.5 +typography.label.line_height = 16 +typography.label.font = ui +typography.body.size = 12 +typography.body.line_height = 16 +typography.body.font = ui +typography.body_strong.size = 12 +typography.body_strong.line_height = 16 +typography.body_strong.font = ui_semibold +typography.title.size = 13 +typography.title.line_height = 18 +typography.title.font = ui_semibold +typography.heading.size = 15 +typography.heading.line_height = 20 +typography.heading.font = ui_semibold +typography.body_large.size = 15 +typography.body_large.line_height = 20 +typography.body_large.font = ui +typography.mono.size = 11.5 +typography.mono.line_height = 16 +typography.mono.font = mono +typography.display.size = 38 +typography.display.line_height = 46 +typography.display.font = ui_semibold +elevation.popup.offset = 0 6 +elevation.popup.blur = 20 +elevation.popup.spread = 0 +elevation.popup.alpha = 0.196 +elevation.floating.offset = 0 10 +elevation.floating.blur = 32 +elevation.floating.spread = 0 +elevation.floating.alpha = 0.196 +elevation.knob.offset = 0 1 +elevation.knob.blur = 0 +elevation.knob.spread = 0.5 +elevation.knob.alpha = 0.353 +motion.hover.millis = 80 +motion.hover.easing = standard +motion.open.millis = 150 +motion.open.easing = standard +motion.move.millis = 150 +motion.move.easing = standard +motion.caret.millis = 100 +motion.caret.easing = enter +motion.outline.millis = 120 +motion.outline.easing = standard +motion.reduced = false diff --git a/crates/theme/tests/dumps/tokens/vectorcraft-modern-light-standard-comfortable.txt b/crates/theme/tests/dumps/tokens/vectorcraft-modern-light-standard-comfortable.txt new file mode 100644 index 000000000..41caeaad2 --- /dev/null +++ b/crates/theme/tests/dumps/tokens/vectorcraft-modern-light-standard-comfortable.txt @@ -0,0 +1,247 @@ +# Generated by crates/theme/tests/dumps.rs; rewrite with UPDATE_DUMPS=1 cargo test -p craft-theme dump +surface.background = #e6e9eeff +surface.canvas = #dfe3e9ff +surface.canvas_pattern = #dfe3e9ff +surface.panel = #f3f5f8ff +surface.chrome = #f3f5f8ff +surface.raised = #f9fbfeff +surface.sunken = #ffffffff +surface.knob = #fcfcfdff +surface.scrim = #00000059 +surface.shadow = #00000032 +text.normal = #1b1f27ff +text.muted = #58606eff +text.faint = #9aa1adff +text.disabled = #848689ff +text.on_accent = #000000ff +text.on_strong = #ffffffff +text.on_status = #000000ff +text.on_selected = #262627ff +line.divider = #dde1e8ff +line.border = #d0d5ddff +line.control_edge = #c3c9d3ff +line.knob_edge = #58606eff +line.frame = #c3c9d3ff +line.mark = #7a7c7eff +line.focus = #d9472fff +accent.solid = #d9472fff +accent.hover = #d1412aff +accent.pressed = #cb4832ff +accent.strong = #d4432bff +accent.strong_hover = #c93820ff +accent.strong_pressed = #b9260cff +accent.soft = #ffe9e4ff +accent.border = #d9472fff +accent.text = #a42d1aff +accent.on_soft = #a42d1aff +status.good.fg = #107034ff +status.good.bg = #daf7dfff +status.good.border = #87d798ff +status.good.solid = #45af63ff +status.good.solid_hover = #1f8e46ff +status.good.solid_pressed = #218543ff +status.warn.fg = #815200ff +status.warn.bg = #ffebd4ff +status.warn.border = #f1b464ff +status.warn.solid = #f0a330ff +status.warn.solid_hover = #a36900ff +status.warn.solid_pressed = #9f6918ff +status.bad.fg = #a62731ff +status.bad.bg = #ffe8e7ff +status.bad.border = #ffa5a2ff +status.bad.solid = #e34850ff +status.bad.solid_hover = #d33c46ff +status.bad.solid_pressed = #ce4349ff +status.info.fg = #565e6cff +status.info.bg = #ebeef5ff +status.info.border = #b9c1d1ff +status.info.solid = #6f788aff +status.info.solid_hover = #6c7587ff +status.info.solid_pressed = #6c7585ff +state.hover = #e3e7edff +state.pressed = #d5dbe3ff +state.selected = #f8d9d2ff +state.selected_hover = #eccec7ff +state.disabled_fill = #f3f5f8ff +state.text_selection = #d9472f46 +state.match = #f0dc005a +state.match_current = #f0a3306e +state.stripe = #e3e7ed40 +overlay.stroke = #ffa492ff +overlay.line = #d9472fff +overlay.halo = #00000099 +overlay.handle_fill = #ffffffff +overlay.handle_stroke = #d9472fff +overlay.marquee = #ffffffff +overlay.guide = #4affffff +overlay.grid = #8c8c8cff +overlay.checker_light = #fafafaff +overlay.checker_dark = #d6d6d6ff +overlay.trail = #d9472f6e +data.series.0 = #bc4945ff +data.series.1 = #a16600ff +data.series.2 = #737c00ff +data.series.3 = #008a5aff +data.series.4 = #00848fff +data.series.5 = #1577c8ff +data.series.6 = #7c5ec2ff +data.series.7 = #ab4b90ff +data.red = #eb1e1eff +data.green = #1eeb1eff +data.blue = #2828f0ff +data.luma = #262627ff +data.cyan = #00c8ebff +data.magenta = #e600a0ff +data.yellow = #f0dc00ff +data.scope = #282828ff +data.backdrop = #58606e80 +data.selection = #d9472f59 +caption.close_hover = #c42b1cff +caption.close_pressed = #c42b1ce6 +caption.close_text = #ffffffff +caption.disc = #1b1f271a +caption.inactive = #9aa1adff +caption.pressed = #58606eff +edge.light = #ffffffff +edge.dark = #a0a1a4ff +shape.radius.sm = 3 +shape.radius.control = 6 +shape.radius.surface = 8 +shape.radius.window = 12 +shape.radius.panel = 0 +shape.radius.button = 999 +shape.radius.pill = 999 +shape.edge = flat +shape.knob = round +shape.wells = square +space.gap.tight = 3 +space.gap.inline = 6 +space.gap.row = 6 +space.gap.stack = 8 +space.gap.item = 10 +space.gap.section = 16 +space.gap.card_column = 16 +space.gap.card_row = 24 +space.pad.control = 8 +space.pad.regular = 12 +space.pad.roomy = 20 +space.pad.chip = 6 +space.pad.segment = 14 +space.inset.screen = 20 +size.control.sm = 24 +size.control.md = 30 +size.icon.sm = 14 +size.icon.md = 18 +size.icon.lg = 22 +size.icon.glyph_sm = 12 +size.icon.glyph_md = 14 +size.rail.width = 50 +size.rail.button = 36 +size.bar.title = 38 +size.bar.tab = 30 +size.bar.status = 30 +size.bar.options = 42 +size.bar.options_narrow = 36 +size.panel_header = 34 +size.popup_min = 240 +size.thumb.sm = 18 +size.thumb.md = 34 +size.thumb.lg = 48 +size.thumb.card = 160 +size.thumb.sample.sm = 36 +size.thumb.sample.md = 68 +size.thumb.sample.lg = 96 +size.handle.sm = 6 +size.handle.md = 8 +size.handle.ring = 18 +size.hit.slop = 3 +size.hit.target = 8 +size.hit.edge = 32 +size.checker = 4 +size.plot.width = 300 +size.plot.height = 180 +size.length.field.sm = 192 +size.length.field.md = 240 +size.length.track = 144 +size.length.short = 120 +size.length.number.sm = 72 +size.length.number.md = 90 +size.row.text = 21 +size.groove = 3 +size.ramp.bar = 10 +size.ramp.groove = 5 +size.pointer_tip.x = 24 +size.pointer_tip.y = 27 +size.float.width = 240 +size.float.height = 300 +size.window.cascade = 38 +size.pane.least = 50 +size.dock.column = 340 +size.dialog.least = 380 +size.dialog.wrap = 440 +size.dialog.button = 84 +size.dialog.side_button = 96 +stroke.thin = 1 +stroke.medium = 1.5 +stroke.thick = 2 +stroke.heavy = 3 +stroke.dash = 4 +stroke.dash_gap = 3 +stroke.icon = 0.0729 +typography.caption.size = 11.5 +typography.caption.line_height = 16 +typography.caption.font = ui +typography.label.size = 12.5 +typography.label.line_height = 18 +typography.label.font = ui +typography.body.size = 13 +typography.body.line_height = 18 +typography.body.font = ui +typography.body_strong.size = 13 +typography.body_strong.line_height = 18 +typography.body_strong.font = ui_semibold +typography.title.size = 14 +typography.title.line_height = 20 +typography.title.font = ui_semibold +typography.heading.size = 17 +typography.heading.line_height = 24 +typography.heading.font = ui_semibold +typography.body_large.size = 16 +typography.body_large.line_height = 22 +typography.body_large.font = ui +typography.mono.size = 12.5 +typography.mono.line_height = 18 +typography.mono.font = mono +typography.display.size = 38 +typography.display.line_height = 46 +typography.display.font = ui_semibold +elevation.popup.offset = 0 6 +elevation.popup.blur = 20 +elevation.popup.spread = 0 +elevation.popup.alpha = 0.196 +elevation.floating.offset = 0 10 +elevation.floating.blur = 32 +elevation.floating.spread = 0 +elevation.floating.alpha = 0.196 +elevation.knob.offset = 0 1 +elevation.knob.blur = 0 +elevation.knob.spread = 0.5 +elevation.knob.alpha = 0.353 +motion.hover.millis = 80 +motion.hover.easing = standard +motion.open.millis = 150 +motion.open.easing = standard +motion.move.millis = 150 +motion.move.easing = standard +motion.caret.millis = 100 +motion.caret.easing = enter +motion.outline.millis = 120 +motion.outline.easing = standard +motion.reduced = false +warning = text.faint on surface.background: 2.14 < 4.50 +warning = text.faint on surface.panel: 2.38 < 4.50 +warning = text.faint on surface.chrome: 2.38 < 4.50 +warning = text.faint on surface.raised: 2.51 < 4.50 +warning = text.faint on surface.sunken: 2.60 < 4.50 +warning = text.faint on state.hover: 2.10 < 4.50 +warning = text.faint on state.pressed: 1.87 < 4.50 diff --git a/crates/theme/tests/dumps/tokens/vectorcraft-modern-light-standard-compact.txt b/crates/theme/tests/dumps/tokens/vectorcraft-modern-light-standard-compact.txt new file mode 100644 index 000000000..d648db765 --- /dev/null +++ b/crates/theme/tests/dumps/tokens/vectorcraft-modern-light-standard-compact.txt @@ -0,0 +1,247 @@ +# Generated by crates/theme/tests/dumps.rs; rewrite with UPDATE_DUMPS=1 cargo test -p craft-theme dump +surface.background = #e6e9eeff +surface.canvas = #dfe3e9ff +surface.canvas_pattern = #dfe3e9ff +surface.panel = #f3f5f8ff +surface.chrome = #f3f5f8ff +surface.raised = #f9fbfeff +surface.sunken = #ffffffff +surface.knob = #fcfcfdff +surface.scrim = #00000059 +surface.shadow = #00000032 +text.normal = #1b1f27ff +text.muted = #58606eff +text.faint = #9aa1adff +text.disabled = #848689ff +text.on_accent = #000000ff +text.on_strong = #ffffffff +text.on_status = #000000ff +text.on_selected = #262627ff +line.divider = #dde1e8ff +line.border = #d0d5ddff +line.control_edge = #c3c9d3ff +line.knob_edge = #58606eff +line.frame = #c3c9d3ff +line.mark = #7a7c7eff +line.focus = #d9472fff +accent.solid = #d9472fff +accent.hover = #d1412aff +accent.pressed = #cb4832ff +accent.strong = #d4432bff +accent.strong_hover = #c93820ff +accent.strong_pressed = #b9260cff +accent.soft = #ffe9e4ff +accent.border = #d9472fff +accent.text = #a42d1aff +accent.on_soft = #a42d1aff +status.good.fg = #107034ff +status.good.bg = #daf7dfff +status.good.border = #87d798ff +status.good.solid = #45af63ff +status.good.solid_hover = #1f8e46ff +status.good.solid_pressed = #218543ff +status.warn.fg = #815200ff +status.warn.bg = #ffebd4ff +status.warn.border = #f1b464ff +status.warn.solid = #f0a330ff +status.warn.solid_hover = #a36900ff +status.warn.solid_pressed = #9f6918ff +status.bad.fg = #a62731ff +status.bad.bg = #ffe8e7ff +status.bad.border = #ffa5a2ff +status.bad.solid = #e34850ff +status.bad.solid_hover = #d33c46ff +status.bad.solid_pressed = #ce4349ff +status.info.fg = #565e6cff +status.info.bg = #ebeef5ff +status.info.border = #b9c1d1ff +status.info.solid = #6f788aff +status.info.solid_hover = #6c7587ff +status.info.solid_pressed = #6c7585ff +state.hover = #e3e7edff +state.pressed = #d5dbe3ff +state.selected = #f8d9d2ff +state.selected_hover = #eccec7ff +state.disabled_fill = #f3f5f8ff +state.text_selection = #d9472f46 +state.match = #f0dc005a +state.match_current = #f0a3306e +state.stripe = #e3e7ed40 +overlay.stroke = #ffa492ff +overlay.line = #d9472fff +overlay.halo = #00000099 +overlay.handle_fill = #ffffffff +overlay.handle_stroke = #d9472fff +overlay.marquee = #ffffffff +overlay.guide = #4affffff +overlay.grid = #8c8c8cff +overlay.checker_light = #fafafaff +overlay.checker_dark = #d6d6d6ff +overlay.trail = #d9472f6e +data.series.0 = #bc4945ff +data.series.1 = #a16600ff +data.series.2 = #737c00ff +data.series.3 = #008a5aff +data.series.4 = #00848fff +data.series.5 = #1577c8ff +data.series.6 = #7c5ec2ff +data.series.7 = #ab4b90ff +data.red = #eb1e1eff +data.green = #1eeb1eff +data.blue = #2828f0ff +data.luma = #262627ff +data.cyan = #00c8ebff +data.magenta = #e600a0ff +data.yellow = #f0dc00ff +data.scope = #282828ff +data.backdrop = #58606e80 +data.selection = #d9472f59 +caption.close_hover = #c42b1cff +caption.close_pressed = #c42b1ce6 +caption.close_text = #ffffffff +caption.disc = #1b1f271a +caption.inactive = #9aa1adff +caption.pressed = #58606eff +edge.light = #ffffffff +edge.dark = #a0a1a4ff +shape.radius.sm = 2 +shape.radius.control = 3 +shape.radius.surface = 4 +shape.radius.window = 6 +shape.radius.panel = 0 +shape.radius.button = 999 +shape.radius.pill = 999 +shape.edge = flat +shape.knob = round +shape.wells = square +space.gap.tight = 2 +space.gap.inline = 4 +space.gap.row = 4 +space.gap.stack = 6 +space.gap.item = 8 +space.gap.section = 12 +space.gap.card_column = 12 +space.gap.card_row = 18 +space.pad.control = 6 +space.pad.regular = 8 +space.pad.roomy = 16 +space.pad.chip = 4 +space.pad.segment = 10 +space.inset.screen = 16 +size.control.sm = 20 +size.control.md = 24 +size.icon.sm = 12 +size.icon.md = 16 +size.icon.lg = 20 +size.icon.glyph_sm = 10 +size.icon.glyph_md = 12 +size.rail.width = 40 +size.rail.button = 30 +size.bar.title = 32 +size.bar.tab = 26 +size.bar.status = 24 +size.bar.options = 36 +size.bar.options_narrow = 28 +size.panel_header = 28 +size.popup_min = 192 +size.thumb.sm = 18 +size.thumb.md = 24 +size.thumb.lg = 48 +size.thumb.card = 128 +size.thumb.sample.sm = 36 +size.thumb.sample.md = 48 +size.thumb.sample.lg = 96 +size.handle.sm = 6 +size.handle.md = 8 +size.handle.ring = 18 +size.hit.slop = 3 +size.hit.target = 8 +size.hit.edge = 32 +size.checker = 4 +size.plot.width = 240 +size.plot.height = 144 +size.length.field.sm = 160 +size.length.field.md = 192 +size.length.track = 128 +size.length.short = 96 +size.length.number.sm = 60 +size.length.number.md = 72 +size.row.text = 18 +size.groove = 3 +size.ramp.bar = 10 +size.ramp.groove = 5 +size.pointer_tip.x = 20 +size.pointer_tip.y = 22 +size.float.width = 192 +size.float.height = 240 +size.window.cascade = 32 +size.pane.least = 40 +size.dock.column = 340 +size.dialog.least = 380 +size.dialog.wrap = 440 +size.dialog.button = 84 +size.dialog.side_button = 96 +stroke.thin = 1 +stroke.medium = 1.5 +stroke.thick = 2 +stroke.heavy = 3 +stroke.dash = 4 +stroke.dash_gap = 3 +stroke.icon = 0.0729 +typography.caption.size = 10.5 +typography.caption.line_height = 14 +typography.caption.font = ui +typography.label.size = 11.5 +typography.label.line_height = 16 +typography.label.font = ui +typography.body.size = 12 +typography.body.line_height = 16 +typography.body.font = ui +typography.body_strong.size = 12 +typography.body_strong.line_height = 16 +typography.body_strong.font = ui_semibold +typography.title.size = 13 +typography.title.line_height = 18 +typography.title.font = ui_semibold +typography.heading.size = 15 +typography.heading.line_height = 20 +typography.heading.font = ui_semibold +typography.body_large.size = 15 +typography.body_large.line_height = 20 +typography.body_large.font = ui +typography.mono.size = 11.5 +typography.mono.line_height = 16 +typography.mono.font = mono +typography.display.size = 38 +typography.display.line_height = 46 +typography.display.font = ui_semibold +elevation.popup.offset = 0 6 +elevation.popup.blur = 20 +elevation.popup.spread = 0 +elevation.popup.alpha = 0.196 +elevation.floating.offset = 0 10 +elevation.floating.blur = 32 +elevation.floating.spread = 0 +elevation.floating.alpha = 0.196 +elevation.knob.offset = 0 1 +elevation.knob.blur = 0 +elevation.knob.spread = 0.5 +elevation.knob.alpha = 0.353 +motion.hover.millis = 80 +motion.hover.easing = standard +motion.open.millis = 150 +motion.open.easing = standard +motion.move.millis = 150 +motion.move.easing = standard +motion.caret.millis = 100 +motion.caret.easing = enter +motion.outline.millis = 120 +motion.outline.easing = standard +motion.reduced = false +warning = text.faint on surface.background: 2.14 < 4.50 +warning = text.faint on surface.panel: 2.38 < 4.50 +warning = text.faint on surface.chrome: 2.38 < 4.50 +warning = text.faint on surface.raised: 2.51 < 4.50 +warning = text.faint on surface.sunken: 2.60 < 4.50 +warning = text.faint on state.hover: 2.10 < 4.50 +warning = text.faint on state.pressed: 1.87 < 4.50 diff --git a/crates/theme/tests/dumps/tokens/vectorcraft-modern-medium-dark-high-comfortable.txt b/crates/theme/tests/dumps/tokens/vectorcraft-modern-medium-dark-high-comfortable.txt new file mode 100644 index 000000000..f5c8c81fb --- /dev/null +++ b/crates/theme/tests/dumps/tokens/vectorcraft-modern-medium-dark-high-comfortable.txt @@ -0,0 +1,240 @@ +# Generated by crates/theme/tests/dumps.rs; rewrite with UPDATE_DUMPS=1 cargo test -p craft-theme dump +surface.background = #1b1f27ff +surface.canvas = #1e222aff +surface.canvas_pattern = #1e222aff +surface.panel = #272c36ff +surface.chrome = #272c36ff +surface.raised = #313640ff +surface.sunken = #1a1e26ff +surface.knob = #e8ebf1ff +surface.scrim = #00000080 +surface.shadow = #00000096 +text.normal = #e4e9f1ff +text.muted = #d3dcedff +text.faint = #d2ddeeff +text.disabled = #808692ff +text.on_accent = #000000ff +text.on_strong = #ffffffff +text.on_status = #000000ff +text.on_selected = #e8ebf1ff +line.divider = #323946ff +line.border = #11141aff +line.control_edge = #3a414eff +line.knob_edge = #00000000 +line.frame = #0d0d0eff +line.mark = #abb2beff +line.focus = #fc755cff +accent.solid = #fc755cff +accent.hover = #f26f57ff +accent.pressed = #f98973ff +accent.strong = #a92710ff +accent.strong_hover = #a5230bff +accent.strong_pressed = #8f1600ff +accent.soft = #461911ff +accent.border = #fc755cff +accent.text = #ffb2a2ff +accent.on_soft = #ffa18fff +status.good.fg = #82d895ff +status.good.bg = #0e2514ff +status.good.border = #07642cff +status.good.solid = #45af63ff +status.good.solid_hover = #4bb267ff +status.good.solid_pressed = #66c37cff +status.warn.fg = #fbb861ff +status.warn.bg = #2c1b04ff +status.warn.border = #724800ff +status.warn.solid = #f0a330ff +status.warn.solid_hover = #f2a739ff +status.warn.solid_pressed = #f2ab4aff +status.bad.fg = #ffb1adff +status.bad.bg = #361213ff +status.bad.border = #951f29ff +status.bad.solid = #fc6065ff +status.bad.solid_hover = #fb6166ff +status.bad.solid_pressed = #fb807fff +status.info.fg = #bdc5d7ff +status.info.bg = #1d1f24ff +status.info.border = #4c5360ff +status.info.solid = #8c96a8ff +status.info.solid_hover = #8f99abff +status.info.solid_pressed = #a2abbdff +state.hover = #353c49ff +state.pressed = #3d4553ff +state.selected = #4a3236ff +state.selected_hover = #5e4448ff +state.disabled_fill = #272c36ff +state.text_selection = #fc755c46 +state.match = #f0dc005a +state.match_current = #f0a3306e +state.stripe = #353c4940 +overlay.stroke = #ffddd5ff +overlay.line = #fc755cff +overlay.halo = #00000099 +overlay.handle_fill = #ffffffff +overlay.handle_stroke = #ce4a34ff +overlay.marquee = #ffffffff +overlay.guide = #4affffff +overlay.grid = #8c8c8cff +overlay.checker_light = #fafafaff +overlay.checker_dark = #d6d6d6ff +overlay.trail = #fc755c6e +data.series.0 = #f47b74ff +data.series.1 = #df911aff +data.series.2 = #a2af29ff +data.series.3 = #2fc183ff +data.series.4 = #00bac9ff +data.series.5 = #52a9feff +data.series.6 = #ac8ff8ff +data.series.7 = #e17cc2ff +data.red = #fb362fff +data.green = #1eeb1eff +data.blue = #577bffff +data.luma = #e8ebf1ff +data.cyan = #00c8ebff +data.magenta = #f423abff +data.yellow = #f0dc00ff +data.scope = #282828ff +data.backdrop = #d3dced80 +data.selection = #fc755c59 +caption.close_hover = #c42b1cff +caption.close_pressed = #c42b1ce6 +caption.close_text = #ffffffff +caption.disc = #e4e9f11a +caption.inactive = #d2ddeeff +caption.pressed = #d3dcedff +edge.light = #4e535eff +edge.dark = #000001ff +shape.radius.sm = 3 +shape.radius.control = 6 +shape.radius.surface = 8 +shape.radius.window = 12 +shape.radius.panel = 0 +shape.radius.button = 999 +shape.radius.pill = 999 +shape.edge = flat +shape.knob = round +shape.wells = square +space.gap.tight = 3 +space.gap.inline = 6 +space.gap.row = 6 +space.gap.stack = 8 +space.gap.item = 10 +space.gap.section = 16 +space.gap.card_column = 16 +space.gap.card_row = 24 +space.pad.control = 8 +space.pad.regular = 12 +space.pad.roomy = 20 +space.pad.chip = 6 +space.pad.segment = 14 +space.inset.screen = 20 +size.control.sm = 24 +size.control.md = 30 +size.icon.sm = 14 +size.icon.md = 18 +size.icon.lg = 22 +size.icon.glyph_sm = 12 +size.icon.glyph_md = 14 +size.rail.width = 50 +size.rail.button = 36 +size.bar.title = 38 +size.bar.tab = 30 +size.bar.status = 30 +size.bar.options = 42 +size.bar.options_narrow = 36 +size.panel_header = 34 +size.popup_min = 240 +size.thumb.sm = 18 +size.thumb.md = 34 +size.thumb.lg = 48 +size.thumb.card = 160 +size.thumb.sample.sm = 36 +size.thumb.sample.md = 68 +size.thumb.sample.lg = 96 +size.handle.sm = 6 +size.handle.md = 8 +size.handle.ring = 18 +size.hit.slop = 3 +size.hit.target = 8 +size.hit.edge = 32 +size.checker = 4 +size.plot.width = 300 +size.plot.height = 180 +size.length.field.sm = 192 +size.length.field.md = 240 +size.length.track = 144 +size.length.short = 120 +size.length.number.sm = 72 +size.length.number.md = 90 +size.row.text = 21 +size.groove = 3 +size.ramp.bar = 10 +size.ramp.groove = 5 +size.pointer_tip.x = 24 +size.pointer_tip.y = 27 +size.float.width = 240 +size.float.height = 300 +size.window.cascade = 38 +size.pane.least = 50 +size.dock.column = 340 +size.dialog.least = 380 +size.dialog.wrap = 440 +size.dialog.button = 84 +size.dialog.side_button = 96 +stroke.thin = 1 +stroke.medium = 1.5 +stroke.thick = 2 +stroke.heavy = 3 +stroke.dash = 4 +stroke.dash_gap = 3 +stroke.icon = 0.0729 +typography.caption.size = 11.5 +typography.caption.line_height = 16 +typography.caption.font = ui +typography.label.size = 12.5 +typography.label.line_height = 18 +typography.label.font = ui +typography.body.size = 13 +typography.body.line_height = 18 +typography.body.font = ui +typography.body_strong.size = 13 +typography.body_strong.line_height = 18 +typography.body_strong.font = ui_semibold +typography.title.size = 14 +typography.title.line_height = 20 +typography.title.font = ui_semibold +typography.heading.size = 17 +typography.heading.line_height = 24 +typography.heading.font = ui_semibold +typography.body_large.size = 16 +typography.body_large.line_height = 22 +typography.body_large.font = ui +typography.mono.size = 12.5 +typography.mono.line_height = 18 +typography.mono.font = mono +typography.display.size = 38 +typography.display.line_height = 46 +typography.display.font = ui_semibold +elevation.popup.offset = 0 6 +elevation.popup.blur = 20 +elevation.popup.spread = 0 +elevation.popup.alpha = 0.588 +elevation.floating.offset = 0 10 +elevation.floating.blur = 32 +elevation.floating.spread = 0 +elevation.floating.alpha = 0.588 +elevation.knob.offset = 0 1 +elevation.knob.blur = 0 +elevation.knob.spread = 0.5 +elevation.knob.alpha = 0.353 +motion.hover.millis = 80 +motion.hover.easing = standard +motion.open.millis = 150 +motion.open.easing = standard +motion.move.millis = 150 +motion.move.easing = standard +motion.caret.millis = 100 +motion.caret.easing = enter +motion.outline.millis = 120 +motion.outline.easing = standard +motion.reduced = false diff --git a/crates/theme/tests/dumps/tokens/vectorcraft-modern-medium-dark-high-compact.txt b/crates/theme/tests/dumps/tokens/vectorcraft-modern-medium-dark-high-compact.txt new file mode 100644 index 000000000..924d535a8 --- /dev/null +++ b/crates/theme/tests/dumps/tokens/vectorcraft-modern-medium-dark-high-compact.txt @@ -0,0 +1,240 @@ +# Generated by crates/theme/tests/dumps.rs; rewrite with UPDATE_DUMPS=1 cargo test -p craft-theme dump +surface.background = #1b1f27ff +surface.canvas = #1e222aff +surface.canvas_pattern = #1e222aff +surface.panel = #272c36ff +surface.chrome = #272c36ff +surface.raised = #313640ff +surface.sunken = #1a1e26ff +surface.knob = #e8ebf1ff +surface.scrim = #00000080 +surface.shadow = #00000096 +text.normal = #e4e9f1ff +text.muted = #d3dcedff +text.faint = #d2ddeeff +text.disabled = #808692ff +text.on_accent = #000000ff +text.on_strong = #ffffffff +text.on_status = #000000ff +text.on_selected = #e8ebf1ff +line.divider = #323946ff +line.border = #11141aff +line.control_edge = #3a414eff +line.knob_edge = #00000000 +line.frame = #0d0d0eff +line.mark = #abb2beff +line.focus = #fc755cff +accent.solid = #fc755cff +accent.hover = #f26f57ff +accent.pressed = #f98973ff +accent.strong = #a92710ff +accent.strong_hover = #a5230bff +accent.strong_pressed = #8f1600ff +accent.soft = #461911ff +accent.border = #fc755cff +accent.text = #ffb2a2ff +accent.on_soft = #ffa18fff +status.good.fg = #82d895ff +status.good.bg = #0e2514ff +status.good.border = #07642cff +status.good.solid = #45af63ff +status.good.solid_hover = #4bb267ff +status.good.solid_pressed = #66c37cff +status.warn.fg = #fbb861ff +status.warn.bg = #2c1b04ff +status.warn.border = #724800ff +status.warn.solid = #f0a330ff +status.warn.solid_hover = #f2a739ff +status.warn.solid_pressed = #f2ab4aff +status.bad.fg = #ffb1adff +status.bad.bg = #361213ff +status.bad.border = #951f29ff +status.bad.solid = #fc6065ff +status.bad.solid_hover = #fb6166ff +status.bad.solid_pressed = #fb807fff +status.info.fg = #bdc5d7ff +status.info.bg = #1d1f24ff +status.info.border = #4c5360ff +status.info.solid = #8c96a8ff +status.info.solid_hover = #8f99abff +status.info.solid_pressed = #a2abbdff +state.hover = #353c49ff +state.pressed = #3d4553ff +state.selected = #4a3236ff +state.selected_hover = #5e4448ff +state.disabled_fill = #272c36ff +state.text_selection = #fc755c46 +state.match = #f0dc005a +state.match_current = #f0a3306e +state.stripe = #353c4940 +overlay.stroke = #ffddd5ff +overlay.line = #fc755cff +overlay.halo = #00000099 +overlay.handle_fill = #ffffffff +overlay.handle_stroke = #ce4a34ff +overlay.marquee = #ffffffff +overlay.guide = #4affffff +overlay.grid = #8c8c8cff +overlay.checker_light = #fafafaff +overlay.checker_dark = #d6d6d6ff +overlay.trail = #fc755c6e +data.series.0 = #f47b74ff +data.series.1 = #df911aff +data.series.2 = #a2af29ff +data.series.3 = #2fc183ff +data.series.4 = #00bac9ff +data.series.5 = #52a9feff +data.series.6 = #ac8ff8ff +data.series.7 = #e17cc2ff +data.red = #fb362fff +data.green = #1eeb1eff +data.blue = #577bffff +data.luma = #e8ebf1ff +data.cyan = #00c8ebff +data.magenta = #f423abff +data.yellow = #f0dc00ff +data.scope = #282828ff +data.backdrop = #d3dced80 +data.selection = #fc755c59 +caption.close_hover = #c42b1cff +caption.close_pressed = #c42b1ce6 +caption.close_text = #ffffffff +caption.disc = #e4e9f11a +caption.inactive = #d2ddeeff +caption.pressed = #d3dcedff +edge.light = #4e535eff +edge.dark = #000001ff +shape.radius.sm = 2 +shape.radius.control = 3 +shape.radius.surface = 4 +shape.radius.window = 6 +shape.radius.panel = 0 +shape.radius.button = 999 +shape.radius.pill = 999 +shape.edge = flat +shape.knob = round +shape.wells = square +space.gap.tight = 2 +space.gap.inline = 4 +space.gap.row = 4 +space.gap.stack = 6 +space.gap.item = 8 +space.gap.section = 12 +space.gap.card_column = 12 +space.gap.card_row = 18 +space.pad.control = 6 +space.pad.regular = 8 +space.pad.roomy = 16 +space.pad.chip = 4 +space.pad.segment = 10 +space.inset.screen = 16 +size.control.sm = 20 +size.control.md = 24 +size.icon.sm = 12 +size.icon.md = 16 +size.icon.lg = 20 +size.icon.glyph_sm = 10 +size.icon.glyph_md = 12 +size.rail.width = 40 +size.rail.button = 30 +size.bar.title = 32 +size.bar.tab = 26 +size.bar.status = 24 +size.bar.options = 36 +size.bar.options_narrow = 28 +size.panel_header = 28 +size.popup_min = 192 +size.thumb.sm = 18 +size.thumb.md = 24 +size.thumb.lg = 48 +size.thumb.card = 128 +size.thumb.sample.sm = 36 +size.thumb.sample.md = 48 +size.thumb.sample.lg = 96 +size.handle.sm = 6 +size.handle.md = 8 +size.handle.ring = 18 +size.hit.slop = 3 +size.hit.target = 8 +size.hit.edge = 32 +size.checker = 4 +size.plot.width = 240 +size.plot.height = 144 +size.length.field.sm = 160 +size.length.field.md = 192 +size.length.track = 128 +size.length.short = 96 +size.length.number.sm = 60 +size.length.number.md = 72 +size.row.text = 18 +size.groove = 3 +size.ramp.bar = 10 +size.ramp.groove = 5 +size.pointer_tip.x = 20 +size.pointer_tip.y = 22 +size.float.width = 192 +size.float.height = 240 +size.window.cascade = 32 +size.pane.least = 40 +size.dock.column = 340 +size.dialog.least = 380 +size.dialog.wrap = 440 +size.dialog.button = 84 +size.dialog.side_button = 96 +stroke.thin = 1 +stroke.medium = 1.5 +stroke.thick = 2 +stroke.heavy = 3 +stroke.dash = 4 +stroke.dash_gap = 3 +stroke.icon = 0.0729 +typography.caption.size = 10.5 +typography.caption.line_height = 14 +typography.caption.font = ui +typography.label.size = 11.5 +typography.label.line_height = 16 +typography.label.font = ui +typography.body.size = 12 +typography.body.line_height = 16 +typography.body.font = ui +typography.body_strong.size = 12 +typography.body_strong.line_height = 16 +typography.body_strong.font = ui_semibold +typography.title.size = 13 +typography.title.line_height = 18 +typography.title.font = ui_semibold +typography.heading.size = 15 +typography.heading.line_height = 20 +typography.heading.font = ui_semibold +typography.body_large.size = 15 +typography.body_large.line_height = 20 +typography.body_large.font = ui +typography.mono.size = 11.5 +typography.mono.line_height = 16 +typography.mono.font = mono +typography.display.size = 38 +typography.display.line_height = 46 +typography.display.font = ui_semibold +elevation.popup.offset = 0 6 +elevation.popup.blur = 20 +elevation.popup.spread = 0 +elevation.popup.alpha = 0.588 +elevation.floating.offset = 0 10 +elevation.floating.blur = 32 +elevation.floating.spread = 0 +elevation.floating.alpha = 0.588 +elevation.knob.offset = 0 1 +elevation.knob.blur = 0 +elevation.knob.spread = 0.5 +elevation.knob.alpha = 0.353 +motion.hover.millis = 80 +motion.hover.easing = standard +motion.open.millis = 150 +motion.open.easing = standard +motion.move.millis = 150 +motion.move.easing = standard +motion.caret.millis = 100 +motion.caret.easing = enter +motion.outline.millis = 120 +motion.outline.easing = standard +motion.reduced = false diff --git a/crates/theme/tests/dumps/tokens/vectorcraft-modern-medium-dark-standard-comfortable.txt b/crates/theme/tests/dumps/tokens/vectorcraft-modern-medium-dark-standard-comfortable.txt new file mode 100644 index 000000000..eb1c0a3f6 --- /dev/null +++ b/crates/theme/tests/dumps/tokens/vectorcraft-modern-medium-dark-standard-comfortable.txt @@ -0,0 +1,249 @@ +# Generated by crates/theme/tests/dumps.rs; rewrite with UPDATE_DUMPS=1 cargo test -p craft-theme dump +surface.background = #1b1f27ff +surface.canvas = #1e222aff +surface.canvas_pattern = #1e222aff +surface.panel = #272c36ff +surface.chrome = #272c36ff +surface.raised = #313640ff +surface.sunken = #1a1e26ff +surface.knob = #e8ebf1ff +surface.scrim = #00000080 +surface.shadow = #00000096 +text.normal = #e4e9f1ff +text.muted = #99a2b2ff +text.faint = #626b7aff +text.disabled = #808692ff +text.on_accent = #000000ff +text.on_strong = #ffffffff +text.on_status = #000000ff +text.on_selected = #e8ebf1ff +line.divider = #323946ff +line.border = #11141aff +line.control_edge = #3a414eff +line.knob_edge = #00000000 +line.frame = #0d0d0eff +line.mark = #89909bff +line.focus = #f06a52ff +accent.solid = #f06a52ff +accent.hover = #f26f57ff +accent.pressed = #f98973ff +accent.strong = #ce4a34ff +accent.strong_hover = #ca4731ff +accent.strong_pressed = #b8351fff +accent.soft = #461911ff +accent.border = #f06a52ff +accent.text = #ffa18fff +accent.on_soft = #ffa18fff +status.good.fg = #7fd492ff +status.good.bg = #0e2514ff +status.good.border = #07642cff +status.good.solid = #45af63ff +status.good.solid_hover = #4bb267ff +status.good.solid_pressed = #66c37cff +status.warn.fg = #f1af58ff +status.warn.bg = #2c1b04ff +status.warn.border = #724800ff +status.warn.solid = #f0a330ff +status.warn.solid_hover = #f2a739ff +status.warn.solid_pressed = #f2ab4aff +status.bad.fg = #ffa09dff +status.bad.bg = #361213ff +status.bad.border = #951f29ff +status.bad.solid = #e34850ff +status.bad.solid_hover = #f65d62ff +status.bad.solid_pressed = #fb807fff +status.info.fg = #b6becfff +status.info.bg = #1d1f24ff +status.info.border = #4c5360ff +status.info.solid = #6f788aff +status.info.solid_hover = #8f99abff +status.info.solid_pressed = #a2abbdff +state.hover = #353c49ff +state.pressed = #3d4553ff +state.selected = #4a3236ff +state.selected_hover = #5e4448ff +state.disabled_fill = #272c36ff +state.text_selection = #f06a5246 +state.match = #f0dc005a +state.match_current = #f0a3306e +state.stripe = #353c4940 +overlay.stroke = #ffa492ff +overlay.line = #f06a52ff +overlay.halo = #00000099 +overlay.handle_fill = #ffffffff +overlay.handle_stroke = #f06a52ff +overlay.marquee = #ffffffff +overlay.guide = #4affffff +overlay.grid = #8c8c8cff +overlay.checker_light = #fafafaff +overlay.checker_dark = #d6d6d6ff +overlay.trail = #f06a526e +data.series.0 = #f47b74ff +data.series.1 = #df911aff +data.series.2 = #a2af29ff +data.series.3 = #2fc183ff +data.series.4 = #00bac9ff +data.series.5 = #52a9feff +data.series.6 = #ac8ff8ff +data.series.7 = #e17cc2ff +data.red = #eb1e1eff +data.green = #1eeb1eff +data.blue = #2828f0ff +data.luma = #e8ebf1ff +data.cyan = #00c8ebff +data.magenta = #e600a0ff +data.yellow = #f0dc00ff +data.scope = #282828ff +data.backdrop = #99a2b280 +data.selection = #f06a5259 +caption.close_hover = #c42b1cff +caption.close_pressed = #c42b1ce6 +caption.close_text = #ffffffff +caption.disc = #e4e9f11a +caption.inactive = #626b7aff +caption.pressed = #99a2b2ff +edge.light = #4e535eff +edge.dark = #000001ff +shape.radius.sm = 3 +shape.radius.control = 6 +shape.radius.surface = 8 +shape.radius.window = 12 +shape.radius.panel = 0 +shape.radius.button = 999 +shape.radius.pill = 999 +shape.edge = flat +shape.knob = round +shape.wells = square +space.gap.tight = 3 +space.gap.inline = 6 +space.gap.row = 6 +space.gap.stack = 8 +space.gap.item = 10 +space.gap.section = 16 +space.gap.card_column = 16 +space.gap.card_row = 24 +space.pad.control = 8 +space.pad.regular = 12 +space.pad.roomy = 20 +space.pad.chip = 6 +space.pad.segment = 14 +space.inset.screen = 20 +size.control.sm = 24 +size.control.md = 30 +size.icon.sm = 14 +size.icon.md = 18 +size.icon.lg = 22 +size.icon.glyph_sm = 12 +size.icon.glyph_md = 14 +size.rail.width = 50 +size.rail.button = 36 +size.bar.title = 38 +size.bar.tab = 30 +size.bar.status = 30 +size.bar.options = 42 +size.bar.options_narrow = 36 +size.panel_header = 34 +size.popup_min = 240 +size.thumb.sm = 18 +size.thumb.md = 34 +size.thumb.lg = 48 +size.thumb.card = 160 +size.thumb.sample.sm = 36 +size.thumb.sample.md = 68 +size.thumb.sample.lg = 96 +size.handle.sm = 6 +size.handle.md = 8 +size.handle.ring = 18 +size.hit.slop = 3 +size.hit.target = 8 +size.hit.edge = 32 +size.checker = 4 +size.plot.width = 300 +size.plot.height = 180 +size.length.field.sm = 192 +size.length.field.md = 240 +size.length.track = 144 +size.length.short = 120 +size.length.number.sm = 72 +size.length.number.md = 90 +size.row.text = 21 +size.groove = 3 +size.ramp.bar = 10 +size.ramp.groove = 5 +size.pointer_tip.x = 24 +size.pointer_tip.y = 27 +size.float.width = 240 +size.float.height = 300 +size.window.cascade = 38 +size.pane.least = 50 +size.dock.column = 340 +size.dialog.least = 380 +size.dialog.wrap = 440 +size.dialog.button = 84 +size.dialog.side_button = 96 +stroke.thin = 1 +stroke.medium = 1.5 +stroke.thick = 2 +stroke.heavy = 3 +stroke.dash = 4 +stroke.dash_gap = 3 +stroke.icon = 0.0729 +typography.caption.size = 11.5 +typography.caption.line_height = 16 +typography.caption.font = ui +typography.label.size = 12.5 +typography.label.line_height = 18 +typography.label.font = ui +typography.body.size = 13 +typography.body.line_height = 18 +typography.body.font = ui +typography.body_strong.size = 13 +typography.body_strong.line_height = 18 +typography.body_strong.font = ui_semibold +typography.title.size = 14 +typography.title.line_height = 20 +typography.title.font = ui_semibold +typography.heading.size = 17 +typography.heading.line_height = 24 +typography.heading.font = ui_semibold +typography.body_large.size = 16 +typography.body_large.line_height = 22 +typography.body_large.font = ui +typography.mono.size = 12.5 +typography.mono.line_height = 18 +typography.mono.font = mono +typography.display.size = 38 +typography.display.line_height = 46 +typography.display.font = ui_semibold +elevation.popup.offset = 0 6 +elevation.popup.blur = 20 +elevation.popup.spread = 0 +elevation.popup.alpha = 0.588 +elevation.floating.offset = 0 10 +elevation.floating.blur = 32 +elevation.floating.spread = 0 +elevation.floating.alpha = 0.588 +elevation.knob.offset = 0 1 +elevation.knob.blur = 0 +elevation.knob.spread = 0.5 +elevation.knob.alpha = 0.353 +motion.hover.millis = 80 +motion.hover.easing = standard +motion.open.millis = 150 +motion.open.easing = standard +motion.move.millis = 150 +motion.move.easing = standard +motion.caret.millis = 100 +motion.caret.easing = enter +motion.outline.millis = 120 +motion.outline.easing = standard +motion.reduced = false +warning = text.muted on state.hover: 4.31 < 4.50 +warning = text.muted on state.pressed: 3.75 < 4.50 +warning = text.faint on surface.background: 3.07 < 4.50 +warning = text.faint on surface.panel: 2.60 < 4.50 +warning = text.faint on surface.chrome: 2.60 < 4.50 +warning = text.faint on surface.raised: 2.25 < 4.50 +warning = text.faint on surface.sunken: 3.10 < 4.50 +warning = text.faint on state.hover: 2.06 < 4.50 +warning = text.faint on state.pressed: 1.80 < 4.50 diff --git a/crates/theme/tests/dumps/tokens/vectorcraft-modern-medium-dark-standard-compact.txt b/crates/theme/tests/dumps/tokens/vectorcraft-modern-medium-dark-standard-compact.txt new file mode 100644 index 000000000..c2460ea26 --- /dev/null +++ b/crates/theme/tests/dumps/tokens/vectorcraft-modern-medium-dark-standard-compact.txt @@ -0,0 +1,249 @@ +# Generated by crates/theme/tests/dumps.rs; rewrite with UPDATE_DUMPS=1 cargo test -p craft-theme dump +surface.background = #1b1f27ff +surface.canvas = #1e222aff +surface.canvas_pattern = #1e222aff +surface.panel = #272c36ff +surface.chrome = #272c36ff +surface.raised = #313640ff +surface.sunken = #1a1e26ff +surface.knob = #e8ebf1ff +surface.scrim = #00000080 +surface.shadow = #00000096 +text.normal = #e4e9f1ff +text.muted = #99a2b2ff +text.faint = #626b7aff +text.disabled = #808692ff +text.on_accent = #000000ff +text.on_strong = #ffffffff +text.on_status = #000000ff +text.on_selected = #e8ebf1ff +line.divider = #323946ff +line.border = #11141aff +line.control_edge = #3a414eff +line.knob_edge = #00000000 +line.frame = #0d0d0eff +line.mark = #89909bff +line.focus = #f06a52ff +accent.solid = #f06a52ff +accent.hover = #f26f57ff +accent.pressed = #f98973ff +accent.strong = #ce4a34ff +accent.strong_hover = #ca4731ff +accent.strong_pressed = #b8351fff +accent.soft = #461911ff +accent.border = #f06a52ff +accent.text = #ffa18fff +accent.on_soft = #ffa18fff +status.good.fg = #7fd492ff +status.good.bg = #0e2514ff +status.good.border = #07642cff +status.good.solid = #45af63ff +status.good.solid_hover = #4bb267ff +status.good.solid_pressed = #66c37cff +status.warn.fg = #f1af58ff +status.warn.bg = #2c1b04ff +status.warn.border = #724800ff +status.warn.solid = #f0a330ff +status.warn.solid_hover = #f2a739ff +status.warn.solid_pressed = #f2ab4aff +status.bad.fg = #ffa09dff +status.bad.bg = #361213ff +status.bad.border = #951f29ff +status.bad.solid = #e34850ff +status.bad.solid_hover = #f65d62ff +status.bad.solid_pressed = #fb807fff +status.info.fg = #b6becfff +status.info.bg = #1d1f24ff +status.info.border = #4c5360ff +status.info.solid = #6f788aff +status.info.solid_hover = #8f99abff +status.info.solid_pressed = #a2abbdff +state.hover = #353c49ff +state.pressed = #3d4553ff +state.selected = #4a3236ff +state.selected_hover = #5e4448ff +state.disabled_fill = #272c36ff +state.text_selection = #f06a5246 +state.match = #f0dc005a +state.match_current = #f0a3306e +state.stripe = #353c4940 +overlay.stroke = #ffa492ff +overlay.line = #f06a52ff +overlay.halo = #00000099 +overlay.handle_fill = #ffffffff +overlay.handle_stroke = #f06a52ff +overlay.marquee = #ffffffff +overlay.guide = #4affffff +overlay.grid = #8c8c8cff +overlay.checker_light = #fafafaff +overlay.checker_dark = #d6d6d6ff +overlay.trail = #f06a526e +data.series.0 = #f47b74ff +data.series.1 = #df911aff +data.series.2 = #a2af29ff +data.series.3 = #2fc183ff +data.series.4 = #00bac9ff +data.series.5 = #52a9feff +data.series.6 = #ac8ff8ff +data.series.7 = #e17cc2ff +data.red = #eb1e1eff +data.green = #1eeb1eff +data.blue = #2828f0ff +data.luma = #e8ebf1ff +data.cyan = #00c8ebff +data.magenta = #e600a0ff +data.yellow = #f0dc00ff +data.scope = #282828ff +data.backdrop = #99a2b280 +data.selection = #f06a5259 +caption.close_hover = #c42b1cff +caption.close_pressed = #c42b1ce6 +caption.close_text = #ffffffff +caption.disc = #e4e9f11a +caption.inactive = #626b7aff +caption.pressed = #99a2b2ff +edge.light = #4e535eff +edge.dark = #000001ff +shape.radius.sm = 2 +shape.radius.control = 3 +shape.radius.surface = 4 +shape.radius.window = 6 +shape.radius.panel = 0 +shape.radius.button = 999 +shape.radius.pill = 999 +shape.edge = flat +shape.knob = round +shape.wells = square +space.gap.tight = 2 +space.gap.inline = 4 +space.gap.row = 4 +space.gap.stack = 6 +space.gap.item = 8 +space.gap.section = 12 +space.gap.card_column = 12 +space.gap.card_row = 18 +space.pad.control = 6 +space.pad.regular = 8 +space.pad.roomy = 16 +space.pad.chip = 4 +space.pad.segment = 10 +space.inset.screen = 16 +size.control.sm = 20 +size.control.md = 24 +size.icon.sm = 12 +size.icon.md = 16 +size.icon.lg = 20 +size.icon.glyph_sm = 10 +size.icon.glyph_md = 12 +size.rail.width = 40 +size.rail.button = 30 +size.bar.title = 32 +size.bar.tab = 26 +size.bar.status = 24 +size.bar.options = 36 +size.bar.options_narrow = 28 +size.panel_header = 28 +size.popup_min = 192 +size.thumb.sm = 18 +size.thumb.md = 24 +size.thumb.lg = 48 +size.thumb.card = 128 +size.thumb.sample.sm = 36 +size.thumb.sample.md = 48 +size.thumb.sample.lg = 96 +size.handle.sm = 6 +size.handle.md = 8 +size.handle.ring = 18 +size.hit.slop = 3 +size.hit.target = 8 +size.hit.edge = 32 +size.checker = 4 +size.plot.width = 240 +size.plot.height = 144 +size.length.field.sm = 160 +size.length.field.md = 192 +size.length.track = 128 +size.length.short = 96 +size.length.number.sm = 60 +size.length.number.md = 72 +size.row.text = 18 +size.groove = 3 +size.ramp.bar = 10 +size.ramp.groove = 5 +size.pointer_tip.x = 20 +size.pointer_tip.y = 22 +size.float.width = 192 +size.float.height = 240 +size.window.cascade = 32 +size.pane.least = 40 +size.dock.column = 340 +size.dialog.least = 380 +size.dialog.wrap = 440 +size.dialog.button = 84 +size.dialog.side_button = 96 +stroke.thin = 1 +stroke.medium = 1.5 +stroke.thick = 2 +stroke.heavy = 3 +stroke.dash = 4 +stroke.dash_gap = 3 +stroke.icon = 0.0729 +typography.caption.size = 10.5 +typography.caption.line_height = 14 +typography.caption.font = ui +typography.label.size = 11.5 +typography.label.line_height = 16 +typography.label.font = ui +typography.body.size = 12 +typography.body.line_height = 16 +typography.body.font = ui +typography.body_strong.size = 12 +typography.body_strong.line_height = 16 +typography.body_strong.font = ui_semibold +typography.title.size = 13 +typography.title.line_height = 18 +typography.title.font = ui_semibold +typography.heading.size = 15 +typography.heading.line_height = 20 +typography.heading.font = ui_semibold +typography.body_large.size = 15 +typography.body_large.line_height = 20 +typography.body_large.font = ui +typography.mono.size = 11.5 +typography.mono.line_height = 16 +typography.mono.font = mono +typography.display.size = 38 +typography.display.line_height = 46 +typography.display.font = ui_semibold +elevation.popup.offset = 0 6 +elevation.popup.blur = 20 +elevation.popup.spread = 0 +elevation.popup.alpha = 0.588 +elevation.floating.offset = 0 10 +elevation.floating.blur = 32 +elevation.floating.spread = 0 +elevation.floating.alpha = 0.588 +elevation.knob.offset = 0 1 +elevation.knob.blur = 0 +elevation.knob.spread = 0.5 +elevation.knob.alpha = 0.353 +motion.hover.millis = 80 +motion.hover.easing = standard +motion.open.millis = 150 +motion.open.easing = standard +motion.move.millis = 150 +motion.move.easing = standard +motion.caret.millis = 100 +motion.caret.easing = enter +motion.outline.millis = 120 +motion.outline.easing = standard +motion.reduced = false +warning = text.muted on state.hover: 4.31 < 4.50 +warning = text.muted on state.pressed: 3.75 < 4.50 +warning = text.faint on surface.background: 3.07 < 4.50 +warning = text.faint on surface.panel: 2.60 < 4.50 +warning = text.faint on surface.chrome: 2.60 < 4.50 +warning = text.faint on surface.raised: 2.25 < 4.50 +warning = text.faint on surface.sunken: 3.10 < 4.50 +warning = text.faint on state.hover: 2.06 < 4.50 +warning = text.faint on state.pressed: 1.80 < 4.50 diff --git a/crates/theme/tests/dumps/tokens/vectorcraft-modern-medium-light-high-comfortable.txt b/crates/theme/tests/dumps/tokens/vectorcraft-modern-medium-light-high-comfortable.txt new file mode 100644 index 000000000..175823750 --- /dev/null +++ b/crates/theme/tests/dumps/tokens/vectorcraft-modern-medium-light-high-comfortable.txt @@ -0,0 +1,240 @@ +# Generated by crates/theme/tests/dumps.rs; rewrite with UPDATE_DUMPS=1 cargo test -p craft-theme dump +surface.background = #c4cad4ff +surface.canvas = #b9c0cbff +surface.canvas_pattern = #b9c0cbff +surface.panel = #d3d8e0ff +surface.chrome = #d3d8e0ff +surface.raised = #d9dee6ff +surface.sunken = #e9ecf1ff +surface.knob = #fcfcfdff +surface.scrim = #00000059 +surface.shadow = #00000032 +text.normal = #1b1f27ff +text.muted = #2a303eff +text.faint = #2a303dff +text.disabled = #82868eff +text.on_accent = #ffffffff +text.on_strong = #ffffffff +text.on_status = #000000ff +text.on_selected = #252629ff +line.divider = #bcc3ceff +line.border = #a9b0bcff +line.control_edge = #9aa2b0ff +line.knob_edge = #2a303eff +line.frame = #9aa2b0ff +line.mark = #4a4d54ff +line.focus = #a81a00ff +accent.solid = #af1b00ff +accent.hover = #af1d02ff +accent.pressed = #aa2611ff +accent.strong = #af1b00ff +accent.strong_hover = #a01800ff +accent.strong_pressed = #8a1300ff +accent.soft = #ffe9e4ff +accent.border = #af1b00ff +accent.text = #851200ff +accent.on_soft = #98210dff +status.good.fg = #004d20ff +status.good.bg = #daf7dfff +status.good.border = #87d798ff +status.good.solid = #45af63ff +status.good.solid_hover = #41a95fff +status.good.solid_pressed = #4aa863ff +status.warn.fg = #5e3a00ff +status.warn.bg = #ffebd4ff +status.warn.border = #f1b464ff +status.warn.solid = #f0a330ff +status.warn.solid_hover = #c58935ff +status.warn.solid_pressed = #c28a40ff +status.bad.fg = #89001bff +status.bad.bg = #ffe8e7ff +status.bad.border = #ffa5a2ff +status.bad.solid = #fc6065ff +status.bad.solid_hover = #fb6166ff +status.bad.solid_pressed = #f56768ff +status.info.fg = #3b4250ff +status.info.bg = #ebeef5ff +status.info.border = #b9c1d1ff +status.info.solid = #8c96a8ff +status.info.solid_hover = #8c96a8ff +status.info.solid_pressed = #8d96a7ff +state.hover = #c5ccd6ff +state.pressed = #b6bec9ff +state.selected = #e7c4bdff +state.selected_hover = #dbb9b2ff +state.disabled_fill = #d3d8e0ff +state.text_selection = #af1b0046 +state.match = #776c005a +state.match_current = #f0a3306e +state.stripe = #c5ccd640 +overlay.stroke = #ffddd5ff +overlay.line = #af1b00ff +overlay.halo = #00000099 +overlay.handle_fill = #ffffffff +overlay.handle_stroke = #d4432bff +overlay.marquee = #ffffffff +overlay.guide = #4affffff +overlay.grid = #8c8c8cff +overlay.checker_light = #fafafaff +overlay.checker_dark = #d6d6d6ff +overlay.trail = #af1b006e +data.series.0 = #bc4945ff +data.series.1 = #a16600ff +data.series.2 = #737c00ff +data.series.3 = #008a5aff +data.series.4 = #00848fff +data.series.5 = #1577c8ff +data.series.6 = #7c5ec2ff +data.series.7 = #ab4b90ff +data.red = #d8000eff +data.green = #007d02ff +data.blue = #2828f0ff +data.luma = #252629ff +data.cyan = #00758bff +data.magenta = #cb008dff +data.yellow = #776c00ff +data.scope = #282828ff +data.backdrop = #2a303e80 +data.selection = #af1b0059 +caption.close_hover = #c42b1cff +caption.close_pressed = #c42b1ce6 +caption.close_text = #ffffffff +caption.disc = #1b1f271a +caption.inactive = #2a303dff +caption.pressed = #2a303eff +edge.light = #ffffffff +edge.dark = #82878eff +shape.radius.sm = 3 +shape.radius.control = 6 +shape.radius.surface = 8 +shape.radius.window = 12 +shape.radius.panel = 0 +shape.radius.button = 999 +shape.radius.pill = 999 +shape.edge = flat +shape.knob = round +shape.wells = square +space.gap.tight = 3 +space.gap.inline = 6 +space.gap.row = 6 +space.gap.stack = 8 +space.gap.item = 10 +space.gap.section = 16 +space.gap.card_column = 16 +space.gap.card_row = 24 +space.pad.control = 8 +space.pad.regular = 12 +space.pad.roomy = 20 +space.pad.chip = 6 +space.pad.segment = 14 +space.inset.screen = 20 +size.control.sm = 24 +size.control.md = 30 +size.icon.sm = 14 +size.icon.md = 18 +size.icon.lg = 22 +size.icon.glyph_sm = 12 +size.icon.glyph_md = 14 +size.rail.width = 50 +size.rail.button = 36 +size.bar.title = 38 +size.bar.tab = 30 +size.bar.status = 30 +size.bar.options = 42 +size.bar.options_narrow = 36 +size.panel_header = 34 +size.popup_min = 240 +size.thumb.sm = 18 +size.thumb.md = 34 +size.thumb.lg = 48 +size.thumb.card = 160 +size.thumb.sample.sm = 36 +size.thumb.sample.md = 68 +size.thumb.sample.lg = 96 +size.handle.sm = 6 +size.handle.md = 8 +size.handle.ring = 18 +size.hit.slop = 3 +size.hit.target = 8 +size.hit.edge = 32 +size.checker = 4 +size.plot.width = 300 +size.plot.height = 180 +size.length.field.sm = 192 +size.length.field.md = 240 +size.length.track = 144 +size.length.short = 120 +size.length.number.sm = 72 +size.length.number.md = 90 +size.row.text = 21 +size.groove = 3 +size.ramp.bar = 10 +size.ramp.groove = 5 +size.pointer_tip.x = 24 +size.pointer_tip.y = 27 +size.float.width = 240 +size.float.height = 300 +size.window.cascade = 38 +size.pane.least = 50 +size.dock.column = 340 +size.dialog.least = 380 +size.dialog.wrap = 440 +size.dialog.button = 84 +size.dialog.side_button = 96 +stroke.thin = 1 +stroke.medium = 1.5 +stroke.thick = 2 +stroke.heavy = 3 +stroke.dash = 4 +stroke.dash_gap = 3 +stroke.icon = 0.0729 +typography.caption.size = 11.5 +typography.caption.line_height = 16 +typography.caption.font = ui +typography.label.size = 12.5 +typography.label.line_height = 18 +typography.label.font = ui +typography.body.size = 13 +typography.body.line_height = 18 +typography.body.font = ui +typography.body_strong.size = 13 +typography.body_strong.line_height = 18 +typography.body_strong.font = ui_semibold +typography.title.size = 14 +typography.title.line_height = 20 +typography.title.font = ui_semibold +typography.heading.size = 17 +typography.heading.line_height = 24 +typography.heading.font = ui_semibold +typography.body_large.size = 16 +typography.body_large.line_height = 22 +typography.body_large.font = ui +typography.mono.size = 12.5 +typography.mono.line_height = 18 +typography.mono.font = mono +typography.display.size = 38 +typography.display.line_height = 46 +typography.display.font = ui_semibold +elevation.popup.offset = 0 6 +elevation.popup.blur = 20 +elevation.popup.spread = 0 +elevation.popup.alpha = 0.196 +elevation.floating.offset = 0 10 +elevation.floating.blur = 32 +elevation.floating.spread = 0 +elevation.floating.alpha = 0.196 +elevation.knob.offset = 0 1 +elevation.knob.blur = 0 +elevation.knob.spread = 0.5 +elevation.knob.alpha = 0.353 +motion.hover.millis = 80 +motion.hover.easing = standard +motion.open.millis = 150 +motion.open.easing = standard +motion.move.millis = 150 +motion.move.easing = standard +motion.caret.millis = 100 +motion.caret.easing = enter +motion.outline.millis = 120 +motion.outline.easing = standard +motion.reduced = false diff --git a/crates/theme/tests/dumps/tokens/vectorcraft-modern-medium-light-high-compact.txt b/crates/theme/tests/dumps/tokens/vectorcraft-modern-medium-light-high-compact.txt new file mode 100644 index 000000000..e4ec3087a --- /dev/null +++ b/crates/theme/tests/dumps/tokens/vectorcraft-modern-medium-light-high-compact.txt @@ -0,0 +1,240 @@ +# Generated by crates/theme/tests/dumps.rs; rewrite with UPDATE_DUMPS=1 cargo test -p craft-theme dump +surface.background = #c4cad4ff +surface.canvas = #b9c0cbff +surface.canvas_pattern = #b9c0cbff +surface.panel = #d3d8e0ff +surface.chrome = #d3d8e0ff +surface.raised = #d9dee6ff +surface.sunken = #e9ecf1ff +surface.knob = #fcfcfdff +surface.scrim = #00000059 +surface.shadow = #00000032 +text.normal = #1b1f27ff +text.muted = #2a303eff +text.faint = #2a303dff +text.disabled = #82868eff +text.on_accent = #ffffffff +text.on_strong = #ffffffff +text.on_status = #000000ff +text.on_selected = #252629ff +line.divider = #bcc3ceff +line.border = #a9b0bcff +line.control_edge = #9aa2b0ff +line.knob_edge = #2a303eff +line.frame = #9aa2b0ff +line.mark = #4a4d54ff +line.focus = #a81a00ff +accent.solid = #af1b00ff +accent.hover = #af1d02ff +accent.pressed = #aa2611ff +accent.strong = #af1b00ff +accent.strong_hover = #a01800ff +accent.strong_pressed = #8a1300ff +accent.soft = #ffe9e4ff +accent.border = #af1b00ff +accent.text = #851200ff +accent.on_soft = #98210dff +status.good.fg = #004d20ff +status.good.bg = #daf7dfff +status.good.border = #87d798ff +status.good.solid = #45af63ff +status.good.solid_hover = #41a95fff +status.good.solid_pressed = #4aa863ff +status.warn.fg = #5e3a00ff +status.warn.bg = #ffebd4ff +status.warn.border = #f1b464ff +status.warn.solid = #f0a330ff +status.warn.solid_hover = #c58935ff +status.warn.solid_pressed = #c28a40ff +status.bad.fg = #89001bff +status.bad.bg = #ffe8e7ff +status.bad.border = #ffa5a2ff +status.bad.solid = #fc6065ff +status.bad.solid_hover = #fb6166ff +status.bad.solid_pressed = #f56768ff +status.info.fg = #3b4250ff +status.info.bg = #ebeef5ff +status.info.border = #b9c1d1ff +status.info.solid = #8c96a8ff +status.info.solid_hover = #8c96a8ff +status.info.solid_pressed = #8d96a7ff +state.hover = #c5ccd6ff +state.pressed = #b6bec9ff +state.selected = #e7c4bdff +state.selected_hover = #dbb9b2ff +state.disabled_fill = #d3d8e0ff +state.text_selection = #af1b0046 +state.match = #776c005a +state.match_current = #f0a3306e +state.stripe = #c5ccd640 +overlay.stroke = #ffddd5ff +overlay.line = #af1b00ff +overlay.halo = #00000099 +overlay.handle_fill = #ffffffff +overlay.handle_stroke = #d4432bff +overlay.marquee = #ffffffff +overlay.guide = #4affffff +overlay.grid = #8c8c8cff +overlay.checker_light = #fafafaff +overlay.checker_dark = #d6d6d6ff +overlay.trail = #af1b006e +data.series.0 = #bc4945ff +data.series.1 = #a16600ff +data.series.2 = #737c00ff +data.series.3 = #008a5aff +data.series.4 = #00848fff +data.series.5 = #1577c8ff +data.series.6 = #7c5ec2ff +data.series.7 = #ab4b90ff +data.red = #d8000eff +data.green = #007d02ff +data.blue = #2828f0ff +data.luma = #252629ff +data.cyan = #00758bff +data.magenta = #cb008dff +data.yellow = #776c00ff +data.scope = #282828ff +data.backdrop = #2a303e80 +data.selection = #af1b0059 +caption.close_hover = #c42b1cff +caption.close_pressed = #c42b1ce6 +caption.close_text = #ffffffff +caption.disc = #1b1f271a +caption.inactive = #2a303dff +caption.pressed = #2a303eff +edge.light = #ffffffff +edge.dark = #82878eff +shape.radius.sm = 2 +shape.radius.control = 3 +shape.radius.surface = 4 +shape.radius.window = 6 +shape.radius.panel = 0 +shape.radius.button = 999 +shape.radius.pill = 999 +shape.edge = flat +shape.knob = round +shape.wells = square +space.gap.tight = 2 +space.gap.inline = 4 +space.gap.row = 4 +space.gap.stack = 6 +space.gap.item = 8 +space.gap.section = 12 +space.gap.card_column = 12 +space.gap.card_row = 18 +space.pad.control = 6 +space.pad.regular = 8 +space.pad.roomy = 16 +space.pad.chip = 4 +space.pad.segment = 10 +space.inset.screen = 16 +size.control.sm = 20 +size.control.md = 24 +size.icon.sm = 12 +size.icon.md = 16 +size.icon.lg = 20 +size.icon.glyph_sm = 10 +size.icon.glyph_md = 12 +size.rail.width = 40 +size.rail.button = 30 +size.bar.title = 32 +size.bar.tab = 26 +size.bar.status = 24 +size.bar.options = 36 +size.bar.options_narrow = 28 +size.panel_header = 28 +size.popup_min = 192 +size.thumb.sm = 18 +size.thumb.md = 24 +size.thumb.lg = 48 +size.thumb.card = 128 +size.thumb.sample.sm = 36 +size.thumb.sample.md = 48 +size.thumb.sample.lg = 96 +size.handle.sm = 6 +size.handle.md = 8 +size.handle.ring = 18 +size.hit.slop = 3 +size.hit.target = 8 +size.hit.edge = 32 +size.checker = 4 +size.plot.width = 240 +size.plot.height = 144 +size.length.field.sm = 160 +size.length.field.md = 192 +size.length.track = 128 +size.length.short = 96 +size.length.number.sm = 60 +size.length.number.md = 72 +size.row.text = 18 +size.groove = 3 +size.ramp.bar = 10 +size.ramp.groove = 5 +size.pointer_tip.x = 20 +size.pointer_tip.y = 22 +size.float.width = 192 +size.float.height = 240 +size.window.cascade = 32 +size.pane.least = 40 +size.dock.column = 340 +size.dialog.least = 380 +size.dialog.wrap = 440 +size.dialog.button = 84 +size.dialog.side_button = 96 +stroke.thin = 1 +stroke.medium = 1.5 +stroke.thick = 2 +stroke.heavy = 3 +stroke.dash = 4 +stroke.dash_gap = 3 +stroke.icon = 0.0729 +typography.caption.size = 10.5 +typography.caption.line_height = 14 +typography.caption.font = ui +typography.label.size = 11.5 +typography.label.line_height = 16 +typography.label.font = ui +typography.body.size = 12 +typography.body.line_height = 16 +typography.body.font = ui +typography.body_strong.size = 12 +typography.body_strong.line_height = 16 +typography.body_strong.font = ui_semibold +typography.title.size = 13 +typography.title.line_height = 18 +typography.title.font = ui_semibold +typography.heading.size = 15 +typography.heading.line_height = 20 +typography.heading.font = ui_semibold +typography.body_large.size = 15 +typography.body_large.line_height = 20 +typography.body_large.font = ui +typography.mono.size = 11.5 +typography.mono.line_height = 16 +typography.mono.font = mono +typography.display.size = 38 +typography.display.line_height = 46 +typography.display.font = ui_semibold +elevation.popup.offset = 0 6 +elevation.popup.blur = 20 +elevation.popup.spread = 0 +elevation.popup.alpha = 0.196 +elevation.floating.offset = 0 10 +elevation.floating.blur = 32 +elevation.floating.spread = 0 +elevation.floating.alpha = 0.196 +elevation.knob.offset = 0 1 +elevation.knob.blur = 0 +elevation.knob.spread = 0.5 +elevation.knob.alpha = 0.353 +motion.hover.millis = 80 +motion.hover.easing = standard +motion.open.millis = 150 +motion.open.easing = standard +motion.move.millis = 150 +motion.move.easing = standard +motion.caret.millis = 100 +motion.caret.easing = enter +motion.outline.millis = 120 +motion.outline.easing = standard +motion.reduced = false diff --git a/crates/theme/tests/dumps/tokens/vectorcraft-modern-medium-light-standard-comfortable.txt b/crates/theme/tests/dumps/tokens/vectorcraft-modern-medium-light-standard-comfortable.txt new file mode 100644 index 000000000..a4870aa0d --- /dev/null +++ b/crates/theme/tests/dumps/tokens/vectorcraft-modern-medium-light-standard-comfortable.txt @@ -0,0 +1,249 @@ +# Generated by crates/theme/tests/dumps.rs; rewrite with UPDATE_DUMPS=1 cargo test -p craft-theme dump +surface.background = #c4cad4ff +surface.canvas = #b9c0cbff +surface.canvas_pattern = #b9c0cbff +surface.panel = #d3d8e0ff +surface.chrome = #d3d8e0ff +surface.raised = #d9dee6ff +surface.sunken = #e9ecf1ff +surface.knob = #fcfcfdff +surface.scrim = #00000059 +surface.shadow = #00000032 +text.normal = #1b1f27ff +text.muted = #4a5160ff +text.faint = #7d8594ff +text.disabled = #82868eff +text.on_accent = #000000ff +text.on_strong = #ffffffff +text.on_status = #000000ff +text.on_selected = #252629ff +line.divider = #bcc3ceff +line.border = #a9b0bcff +line.control_edge = #9aa2b0ff +line.knob_edge = #4a5160ff +line.frame = #9aa2b0ff +line.mark = #64676eff +line.focus = #cd3b24ff +accent.solid = #d9472fff +accent.hover = #d1412aff +accent.pressed = #cb4832ff +accent.strong = #d4432bff +accent.strong_hover = #c93820ff +accent.strong_pressed = #b9260cff +accent.soft = #ffe9e4ff +accent.border = #d9472fff +accent.text = #a42d1aff +accent.on_soft = #a42d1aff +status.good.fg = #0b6d32ff +status.good.bg = #daf7dfff +status.good.border = #87d798ff +status.good.solid = #45af63ff +status.good.solid_hover = #1f8e46ff +status.good.solid_pressed = #218543ff +status.warn.fg = #815200ff +status.warn.bg = #ffebd4ff +status.warn.border = #f1b464ff +status.warn.solid = #f0a330ff +status.warn.solid_hover = #a36900ff +status.warn.solid_pressed = #9f6918ff +status.bad.fg = #a62731ff +status.bad.bg = #ffe8e7ff +status.bad.border = #ffa5a2ff +status.bad.solid = #e34850ff +status.bad.solid_hover = #d33c46ff +status.bad.solid_pressed = #ce4349ff +status.info.fg = #565e6cff +status.info.bg = #ebeef5ff +status.info.border = #b9c1d1ff +status.info.solid = #6f788aff +status.info.solid_hover = #6c7587ff +status.info.solid_pressed = #6c7585ff +state.hover = #c5ccd6ff +state.pressed = #b6bec9ff +state.selected = #e7c4bdff +state.selected_hover = #dbb9b2ff +state.disabled_fill = #d3d8e0ff +state.text_selection = #d9472f46 +state.match = #f0dc005a +state.match_current = #f0a3306e +state.stripe = #c5ccd640 +overlay.stroke = #ffa492ff +overlay.line = #d9472fff +overlay.halo = #00000099 +overlay.handle_fill = #ffffffff +overlay.handle_stroke = #d9472fff +overlay.marquee = #ffffffff +overlay.guide = #4affffff +overlay.grid = #8c8c8cff +overlay.checker_light = #fafafaff +overlay.checker_dark = #d6d6d6ff +overlay.trail = #d9472f6e +data.series.0 = #bc4945ff +data.series.1 = #a16600ff +data.series.2 = #737c00ff +data.series.3 = #008a5aff +data.series.4 = #00848fff +data.series.5 = #1577c8ff +data.series.6 = #7c5ec2ff +data.series.7 = #ab4b90ff +data.red = #eb1e1eff +data.green = #1eeb1eff +data.blue = #2828f0ff +data.luma = #252629ff +data.cyan = #00c8ebff +data.magenta = #e600a0ff +data.yellow = #f0dc00ff +data.scope = #282828ff +data.backdrop = #4a516080 +data.selection = #d9472f59 +caption.close_hover = #c42b1cff +caption.close_pressed = #c42b1ce6 +caption.close_text = #ffffffff +caption.disc = #1b1f271a +caption.inactive = #7d8594ff +caption.pressed = #4a5160ff +edge.light = #ffffffff +edge.dark = #82878eff +shape.radius.sm = 3 +shape.radius.control = 6 +shape.radius.surface = 8 +shape.radius.window = 12 +shape.radius.panel = 0 +shape.radius.button = 999 +shape.radius.pill = 999 +shape.edge = flat +shape.knob = round +shape.wells = square +space.gap.tight = 3 +space.gap.inline = 6 +space.gap.row = 6 +space.gap.stack = 8 +space.gap.item = 10 +space.gap.section = 16 +space.gap.card_column = 16 +space.gap.card_row = 24 +space.pad.control = 8 +space.pad.regular = 12 +space.pad.roomy = 20 +space.pad.chip = 6 +space.pad.segment = 14 +space.inset.screen = 20 +size.control.sm = 24 +size.control.md = 30 +size.icon.sm = 14 +size.icon.md = 18 +size.icon.lg = 22 +size.icon.glyph_sm = 12 +size.icon.glyph_md = 14 +size.rail.width = 50 +size.rail.button = 36 +size.bar.title = 38 +size.bar.tab = 30 +size.bar.status = 30 +size.bar.options = 42 +size.bar.options_narrow = 36 +size.panel_header = 34 +size.popup_min = 240 +size.thumb.sm = 18 +size.thumb.md = 34 +size.thumb.lg = 48 +size.thumb.card = 160 +size.thumb.sample.sm = 36 +size.thumb.sample.md = 68 +size.thumb.sample.lg = 96 +size.handle.sm = 6 +size.handle.md = 8 +size.handle.ring = 18 +size.hit.slop = 3 +size.hit.target = 8 +size.hit.edge = 32 +size.checker = 4 +size.plot.width = 300 +size.plot.height = 180 +size.length.field.sm = 192 +size.length.field.md = 240 +size.length.track = 144 +size.length.short = 120 +size.length.number.sm = 72 +size.length.number.md = 90 +size.row.text = 21 +size.groove = 3 +size.ramp.bar = 10 +size.ramp.groove = 5 +size.pointer_tip.x = 24 +size.pointer_tip.y = 27 +size.float.width = 240 +size.float.height = 300 +size.window.cascade = 38 +size.pane.least = 50 +size.dock.column = 340 +size.dialog.least = 380 +size.dialog.wrap = 440 +size.dialog.button = 84 +size.dialog.side_button = 96 +stroke.thin = 1 +stroke.medium = 1.5 +stroke.thick = 2 +stroke.heavy = 3 +stroke.dash = 4 +stroke.dash_gap = 3 +stroke.icon = 0.0729 +typography.caption.size = 11.5 +typography.caption.line_height = 16 +typography.caption.font = ui +typography.label.size = 12.5 +typography.label.line_height = 18 +typography.label.font = ui +typography.body.size = 13 +typography.body.line_height = 18 +typography.body.font = ui +typography.body_strong.size = 13 +typography.body_strong.line_height = 18 +typography.body_strong.font = ui_semibold +typography.title.size = 14 +typography.title.line_height = 20 +typography.title.font = ui_semibold +typography.heading.size = 17 +typography.heading.line_height = 24 +typography.heading.font = ui_semibold +typography.body_large.size = 16 +typography.body_large.line_height = 22 +typography.body_large.font = ui +typography.mono.size = 12.5 +typography.mono.line_height = 18 +typography.mono.font = mono +typography.display.size = 38 +typography.display.line_height = 46 +typography.display.font = ui_semibold +elevation.popup.offset = 0 6 +elevation.popup.blur = 20 +elevation.popup.spread = 0 +elevation.popup.alpha = 0.196 +elevation.floating.offset = 0 10 +elevation.floating.blur = 32 +elevation.floating.spread = 0 +elevation.floating.alpha = 0.196 +elevation.knob.offset = 0 1 +elevation.knob.blur = 0 +elevation.knob.spread = 0.5 +elevation.knob.alpha = 0.353 +motion.hover.millis = 80 +motion.hover.easing = standard +motion.open.millis = 150 +motion.open.easing = standard +motion.move.millis = 150 +motion.move.easing = standard +motion.caret.millis = 100 +motion.caret.easing = enter +motion.outline.millis = 120 +motion.outline.easing = standard +motion.reduced = false +warning = accent.solid on surface.panel: 3.00 < 3.00 +warning = text.muted on state.pressed: 4.25 < 4.50 +warning = text.faint on surface.background: 2.25 < 4.50 +warning = text.faint on surface.panel: 2.59 < 4.50 +warning = text.faint on surface.chrome: 2.59 < 4.50 +warning = text.faint on surface.raised: 2.75 < 4.50 +warning = text.faint on surface.sunken: 3.14 < 4.50 +warning = text.faint on state.hover: 2.30 < 4.50 +warning = text.faint on state.pressed: 1.98 < 4.50 diff --git a/crates/theme/tests/dumps/tokens/vectorcraft-modern-medium-light-standard-compact.txt b/crates/theme/tests/dumps/tokens/vectorcraft-modern-medium-light-standard-compact.txt new file mode 100644 index 000000000..90bc77df2 --- /dev/null +++ b/crates/theme/tests/dumps/tokens/vectorcraft-modern-medium-light-standard-compact.txt @@ -0,0 +1,249 @@ +# Generated by crates/theme/tests/dumps.rs; rewrite with UPDATE_DUMPS=1 cargo test -p craft-theme dump +surface.background = #c4cad4ff +surface.canvas = #b9c0cbff +surface.canvas_pattern = #b9c0cbff +surface.panel = #d3d8e0ff +surface.chrome = #d3d8e0ff +surface.raised = #d9dee6ff +surface.sunken = #e9ecf1ff +surface.knob = #fcfcfdff +surface.scrim = #00000059 +surface.shadow = #00000032 +text.normal = #1b1f27ff +text.muted = #4a5160ff +text.faint = #7d8594ff +text.disabled = #82868eff +text.on_accent = #000000ff +text.on_strong = #ffffffff +text.on_status = #000000ff +text.on_selected = #252629ff +line.divider = #bcc3ceff +line.border = #a9b0bcff +line.control_edge = #9aa2b0ff +line.knob_edge = #4a5160ff +line.frame = #9aa2b0ff +line.mark = #64676eff +line.focus = #cd3b24ff +accent.solid = #d9472fff +accent.hover = #d1412aff +accent.pressed = #cb4832ff +accent.strong = #d4432bff +accent.strong_hover = #c93820ff +accent.strong_pressed = #b9260cff +accent.soft = #ffe9e4ff +accent.border = #d9472fff +accent.text = #a42d1aff +accent.on_soft = #a42d1aff +status.good.fg = #0b6d32ff +status.good.bg = #daf7dfff +status.good.border = #87d798ff +status.good.solid = #45af63ff +status.good.solid_hover = #1f8e46ff +status.good.solid_pressed = #218543ff +status.warn.fg = #815200ff +status.warn.bg = #ffebd4ff +status.warn.border = #f1b464ff +status.warn.solid = #f0a330ff +status.warn.solid_hover = #a36900ff +status.warn.solid_pressed = #9f6918ff +status.bad.fg = #a62731ff +status.bad.bg = #ffe8e7ff +status.bad.border = #ffa5a2ff +status.bad.solid = #e34850ff +status.bad.solid_hover = #d33c46ff +status.bad.solid_pressed = #ce4349ff +status.info.fg = #565e6cff +status.info.bg = #ebeef5ff +status.info.border = #b9c1d1ff +status.info.solid = #6f788aff +status.info.solid_hover = #6c7587ff +status.info.solid_pressed = #6c7585ff +state.hover = #c5ccd6ff +state.pressed = #b6bec9ff +state.selected = #e7c4bdff +state.selected_hover = #dbb9b2ff +state.disabled_fill = #d3d8e0ff +state.text_selection = #d9472f46 +state.match = #f0dc005a +state.match_current = #f0a3306e +state.stripe = #c5ccd640 +overlay.stroke = #ffa492ff +overlay.line = #d9472fff +overlay.halo = #00000099 +overlay.handle_fill = #ffffffff +overlay.handle_stroke = #d9472fff +overlay.marquee = #ffffffff +overlay.guide = #4affffff +overlay.grid = #8c8c8cff +overlay.checker_light = #fafafaff +overlay.checker_dark = #d6d6d6ff +overlay.trail = #d9472f6e +data.series.0 = #bc4945ff +data.series.1 = #a16600ff +data.series.2 = #737c00ff +data.series.3 = #008a5aff +data.series.4 = #00848fff +data.series.5 = #1577c8ff +data.series.6 = #7c5ec2ff +data.series.7 = #ab4b90ff +data.red = #eb1e1eff +data.green = #1eeb1eff +data.blue = #2828f0ff +data.luma = #252629ff +data.cyan = #00c8ebff +data.magenta = #e600a0ff +data.yellow = #f0dc00ff +data.scope = #282828ff +data.backdrop = #4a516080 +data.selection = #d9472f59 +caption.close_hover = #c42b1cff +caption.close_pressed = #c42b1ce6 +caption.close_text = #ffffffff +caption.disc = #1b1f271a +caption.inactive = #7d8594ff +caption.pressed = #4a5160ff +edge.light = #ffffffff +edge.dark = #82878eff +shape.radius.sm = 2 +shape.radius.control = 3 +shape.radius.surface = 4 +shape.radius.window = 6 +shape.radius.panel = 0 +shape.radius.button = 999 +shape.radius.pill = 999 +shape.edge = flat +shape.knob = round +shape.wells = square +space.gap.tight = 2 +space.gap.inline = 4 +space.gap.row = 4 +space.gap.stack = 6 +space.gap.item = 8 +space.gap.section = 12 +space.gap.card_column = 12 +space.gap.card_row = 18 +space.pad.control = 6 +space.pad.regular = 8 +space.pad.roomy = 16 +space.pad.chip = 4 +space.pad.segment = 10 +space.inset.screen = 16 +size.control.sm = 20 +size.control.md = 24 +size.icon.sm = 12 +size.icon.md = 16 +size.icon.lg = 20 +size.icon.glyph_sm = 10 +size.icon.glyph_md = 12 +size.rail.width = 40 +size.rail.button = 30 +size.bar.title = 32 +size.bar.tab = 26 +size.bar.status = 24 +size.bar.options = 36 +size.bar.options_narrow = 28 +size.panel_header = 28 +size.popup_min = 192 +size.thumb.sm = 18 +size.thumb.md = 24 +size.thumb.lg = 48 +size.thumb.card = 128 +size.thumb.sample.sm = 36 +size.thumb.sample.md = 48 +size.thumb.sample.lg = 96 +size.handle.sm = 6 +size.handle.md = 8 +size.handle.ring = 18 +size.hit.slop = 3 +size.hit.target = 8 +size.hit.edge = 32 +size.checker = 4 +size.plot.width = 240 +size.plot.height = 144 +size.length.field.sm = 160 +size.length.field.md = 192 +size.length.track = 128 +size.length.short = 96 +size.length.number.sm = 60 +size.length.number.md = 72 +size.row.text = 18 +size.groove = 3 +size.ramp.bar = 10 +size.ramp.groove = 5 +size.pointer_tip.x = 20 +size.pointer_tip.y = 22 +size.float.width = 192 +size.float.height = 240 +size.window.cascade = 32 +size.pane.least = 40 +size.dock.column = 340 +size.dialog.least = 380 +size.dialog.wrap = 440 +size.dialog.button = 84 +size.dialog.side_button = 96 +stroke.thin = 1 +stroke.medium = 1.5 +stroke.thick = 2 +stroke.heavy = 3 +stroke.dash = 4 +stroke.dash_gap = 3 +stroke.icon = 0.0729 +typography.caption.size = 10.5 +typography.caption.line_height = 14 +typography.caption.font = ui +typography.label.size = 11.5 +typography.label.line_height = 16 +typography.label.font = ui +typography.body.size = 12 +typography.body.line_height = 16 +typography.body.font = ui +typography.body_strong.size = 12 +typography.body_strong.line_height = 16 +typography.body_strong.font = ui_semibold +typography.title.size = 13 +typography.title.line_height = 18 +typography.title.font = ui_semibold +typography.heading.size = 15 +typography.heading.line_height = 20 +typography.heading.font = ui_semibold +typography.body_large.size = 15 +typography.body_large.line_height = 20 +typography.body_large.font = ui +typography.mono.size = 11.5 +typography.mono.line_height = 16 +typography.mono.font = mono +typography.display.size = 38 +typography.display.line_height = 46 +typography.display.font = ui_semibold +elevation.popup.offset = 0 6 +elevation.popup.blur = 20 +elevation.popup.spread = 0 +elevation.popup.alpha = 0.196 +elevation.floating.offset = 0 10 +elevation.floating.blur = 32 +elevation.floating.spread = 0 +elevation.floating.alpha = 0.196 +elevation.knob.offset = 0 1 +elevation.knob.blur = 0 +elevation.knob.spread = 0.5 +elevation.knob.alpha = 0.353 +motion.hover.millis = 80 +motion.hover.easing = standard +motion.open.millis = 150 +motion.open.easing = standard +motion.move.millis = 150 +motion.move.easing = standard +motion.caret.millis = 100 +motion.caret.easing = enter +motion.outline.millis = 120 +motion.outline.easing = standard +motion.reduced = false +warning = accent.solid on surface.panel: 3.00 < 3.00 +warning = text.muted on state.pressed: 4.25 < 4.50 +warning = text.faint on surface.background: 2.25 < 4.50 +warning = text.faint on surface.panel: 2.59 < 4.50 +warning = text.faint on surface.chrome: 2.59 < 4.50 +warning = text.faint on surface.raised: 2.75 < 4.50 +warning = text.faint on surface.sunken: 3.14 < 4.50 +warning = text.faint on state.hover: 2.30 < 4.50 +warning = text.faint on state.pressed: 1.98 < 4.50