from dataclasses import dataclass
from jdxi_editor.ui.style.midi_player import PatternEditorStyle
@dataclass
@dataclass
@dataclass
[docs]
class ClipboardData:
[docs]
SOURCE_BAR: str = "source_bar"
[docs]
START_STEP: str = "start_step"
[docs]
END_STEP: str = "end_step"
[docs]
NOTES_DATA: str = "notes_data"
[docs]
class SequencerStyle:
"""Row label typography aligned with PatternEditorStyle / UI critique scale."""
[docs]
ROW_FONT_WEIGHT = "600"
@staticmethod
[docs]
def row_label(color: str) -> str:
return (
f"font-size: {SequencerStyle.ROW_FONT_SIZE}px;"
f"font-weight: {SequencerStyle.ROW_FONT_WEIGHT};"
f"color: {color};"
)
# Muted part accents (not full JD-Xi neon red)
[docs]
DEFAULT = PatternEditorStyle.TEXT_SECONDARY