Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion resources/css/core/typography.css
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,26 @@

body {
@apply font-sans text-base tracking-normal text-gray-900 dark:text-gray-50;
font-variant: common-ligatures tabular-nums;
/* Proportional figures by default. Tables and dates opt into tabular figures below. */
font-variant: common-ligatures;
font-feature-settings:
'zero',
'ss01',
'calt' off
;
}

@layer base {
/* Tabular figures where numbers need to line up. Grid/Table/List/Array fieldtypes are excluded since they hold content. */
table:not(.grid-table, .table-contained),
input[type='number'],
[data-reka-calendar-cell-trigger],
[data-reka-date-field-segment],
[data-reka-time-field-segment] {
font-variant-numeric: tabular-nums;
}
}

@utility prose {
color: var(--prose-body);
max-width: 65ch;
Expand Down
Loading