style: point code blocks, device timestamps and AI chat metadata at the shared mono token
This commit is contained in:
parent
e06ab508f9
commit
986ba05fa5
4 changed files with 5 additions and 4 deletions
|
|
@ -152,7 +152,7 @@ export const LinkProvider = style({
|
|||
|
||||
export const LinkUrl = style({
|
||||
fontSize: toRem(12),
|
||||
fontFamily: 'ui-monospace, "JetBrains Mono", "SF Mono", monospace',
|
||||
fontFamily: 'var(--font-mono)',
|
||||
color: color.Primary.Main,
|
||||
wordBreak: 'break-all',
|
||||
selectors: {
|
||||
|
|
|
|||
|
|
@ -201,6 +201,7 @@ export const RowTitle = style({
|
|||
export const RowTime = style({
|
||||
color: color.SurfaceVariant.OnContainer,
|
||||
opacity: 0.6,
|
||||
fontFamily: 'var(--font-mono)',
|
||||
fontVariantNumeric: 'tabular-nums',
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -50,11 +50,11 @@ function DeviceActiveTime({ ts }: { ts: number }) {
|
|||
<Text size="Inherit" as="span" priority="300">
|
||||
{t('Settings.last_activity')}
|
||||
</Text>
|
||||
<>
|
||||
<span className={Mono}>
|
||||
{today(ts) && t('Settings.today')}
|
||||
{yesterday(ts) && t('Settings.yesterday')}
|
||||
{!today(ts) && !yesterday(ts) && timeDayMonYear(ts)} {timeHourMinute(ts)}
|
||||
</>
|
||||
</span>
|
||||
</Text>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ const BaseCode = style({
|
|||
borderRadius: config.radii.R300,
|
||||
});
|
||||
const CodeFont = style({
|
||||
fontFamily: 'monospace',
|
||||
fontFamily: 'var(--font-mono)',
|
||||
});
|
||||
|
||||
export const Code = style([
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue