Files
bookorbit/client/src/features/settings/fonts/components/FontLedgerHeader.vue
T
neon c378354dac feat(settings): rebuild reader fonts on the shared font ledger
Reader › Fonts now uses the Server Fonts ledger, family sheet and upload tray for a reader's own
fonts, and lists the server's fonts with a show/hide switch and a preview sheet. The shared pieces
move to features/settings/fonts and the ledger columns narrow to give the specimen room.
Server: additive GET /fonts/usage and PATCH /fonts/families, upload error codes, and a 409 instead
of a 500 when a reader uploads a second file for the same face.
2026-10-16 18:54:38 +00:00

21 lines
745 B
Vue

<script setup lang="ts">
import { useI18n } from 'vue-i18n'
/** Column labels over a family ledger, on the same grid as FontFamilyRow and only where it is a grid. */
defineProps<{ useLabel: string }>()
const { t } = useI18n()
</script>
<template>
<div
aria-hidden="true"
class="hidden grid-cols-[12rem_minmax(0,1fr)_8.75rem_9rem_2.25rem] gap-5 ps-[25px] pe-[21px] pt-1.5 text-[10px] font-semibold tracking-wider text-muted-foreground uppercase @min-[60rem]:grid"
>
<span>{{ t('settings.admin.serverFonts.columns.family') }}</span>
<span>{{ t('settings.admin.serverFonts.columns.specimen') }}</span>
<span>{{ t('settings.admin.serverFonts.columns.styles') }}</span>
<span>{{ useLabel }}</span>
</div>
</template>