feat(cms): KDS cooking-mode bumps item + modifier visibility

When a card hits `accepted` the items section bumps base font to
1.25rem and modifier/note lines to 1.15rem + medium weight; the
muted grey on modifiers drops to inherited color. All via Vue
`:style` bindings — class-based CSS rules lose to lnbits' upstream
`!important` on Quasar typography utilities (even with our own
`!important`), so inline wins without an arms race.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Padreug 2026-05-13 07:01:49 +02:00
commit 4739ec0127
3 changed files with 28 additions and 1 deletions

View file

@ -23,6 +23,9 @@ window.app = Vue.createApp({
statusColor(status) {
return {paid: 'positive', accepted: 'blue', ready: 'amber'}[status] || 'grey'
},
cookingMode(order) {
return order && order.status === 'accepted'
},
cardClass(order) {
// Visually escalate as orders age. >5min = highlight; >15min = alarm.
//