Add category rings and beat labels

This commit is contained in:
Ninosaurier committed 2026-11-15 14:35:36 +01:00
1 parent 9d8f277971
commit 4f221ea122
21 files changed
+752 -339

No files matched your search

+90 -28
View File
@@ -108,14 +108,6 @@ ion-content.app-content {
letter-spacing: 1px;
}
.header-tag {
color: var(--soft);
font-family: 'DM Sans', sans-serif;
font-size: 12px;
font-weight: 500;
letter-spacing: 0.1px;
}
.app-header-actions {
display: flex;
min-width: 0;
@@ -328,8 +320,9 @@ ion-content.app-content {
.studio-heading h1 {
margin: 0;
color: var(--ink);
font: 500 clamp(34px, 7vw, 44px)/1.1 var(--display);
letter-spacing: -1.8px;
font: 500 clamp(24px, 6vw, 40px)/1.1 var(--display);
letter-spacing: -1.1px;
white-space: nowrap;
}
.template-prompt {
@@ -592,6 +585,17 @@ ion-content.app-content {
transition: r 720ms cubic-bezier(0.22, 1.15, 0.36, 1);
}
.timeline-category-letter circle {
fill: var(--base);
stroke: currentColor;
stroke-width: 1.5;
}
.timeline-category-letter text {
fill: currentColor;
font: 700 9px var(--mono);
}
.timeline-tick line {
stroke: rgba(var(--primary-rgb), 0.34);
stroke-width: 1;
@@ -648,6 +652,13 @@ ion-content.app-content {
filter 120ms ease;
}
.sound-point-letter {
fill: var(--base);
font: 700 9px var(--mono);
pointer-events: none;
text-transform: lowercase;
}
.sound-point:hover .sound-point-face,
.sound-point.is-selected .sound-point-face,
.sound-point:focus-visible .sound-point-face {
@@ -742,17 +753,79 @@ ion-content.app-content {
.sound-legend {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 22px;
align-items: flex-start;
gap: 8px 12px;
padding-top: 17px;
}
.legend-sound {
display: inline-flex;
.legend-category-entry {
display: flex;
max-width: 220px;
flex-direction: column;
align-items: center;
gap: 7px;
}
.legend-category {
display: inline-flex;
height: 30px;
align-items: center;
margin: 0;
--color: var(--muted);
--background: transparent;
--background-hover: rgba(var(--primary-rgb), 0.08);
--background-activated: rgba(var(--primary-rgb), 0.12);
--border-radius: 7px;
font-size: 10px;
text-transform: none;
touch-action: manipulation;
user-select: none;
}
.legend-category::part(native) {
gap: 6px;
min-height: 30px;
padding: 0 8px;
}
.legend-category-letter,
.category-letter-badge {
display: inline-flex;
width: 17px;
height: 17px;
flex: 0 0 17px;
align-items: center;
justify-content: center;
border: 1px solid currentColor;
border-radius: 50%;
color: var(--ink);
font: 600 9px var(--mono);
}
.legend-category .legend-category-letter {
color: var(--muted);
font-size: 11px;
}
.legend-beat-list {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 2px 7px;
padding: 0 4px;
color: var(--soft);
font-size: 9px;
line-height: 1.5;
}
.legend-beat-list span {
white-space: nowrap;
}
.legend-beat-list strong {
color: var(--ink);
font-family: var(--mono);
text-transform: lowercase;
}
.legend-empty {
@@ -1150,12 +1223,6 @@ ion-popover.instrument-picker-popover {
flex-basis: 36px;
}
.header-tag {
font-size: 9px;
letter-spacing: 0;
max-width: 115px;
}
.about-view {
padding: 31px 0 24px;
}
@@ -1195,7 +1262,8 @@ ion-popover.instrument-picker-popover {
}
.studio-heading h1 {
font-size: 36px;
font-size: clamp(20px, 5.5vw, 32px);
letter-spacing: -0.75px;
}
.template-prompt {
@@ -1259,12 +1327,6 @@ ion-popover.instrument-picker-popover {
}
@media (max-width: 360px) {
.header-tag {
max-width: 90px;
font-size: 8px;
text-align: right;
}
.transport-inner {
gap: 5px;
padding-right: 10px;