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({
|
export const LinkUrl = style({
|
||||||
fontSize: toRem(12),
|
fontSize: toRem(12),
|
||||||
fontFamily: 'ui-monospace, "JetBrains Mono", "SF Mono", monospace',
|
fontFamily: 'var(--font-mono)',
|
||||||
color: color.Primary.Main,
|
color: color.Primary.Main,
|
||||||
wordBreak: 'break-all',
|
wordBreak: 'break-all',
|
||||||
selectors: {
|
selectors: {
|
||||||
|
|
|
||||||
|
|
@ -201,6 +201,7 @@ export const RowTitle = style({
|
||||||
export const RowTime = style({
|
export const RowTime = style({
|
||||||
color: color.SurfaceVariant.OnContainer,
|
color: color.SurfaceVariant.OnContainer,
|
||||||
opacity: 0.6,
|
opacity: 0.6,
|
||||||
|
fontFamily: 'var(--font-mono)',
|
||||||
fontVariantNumeric: 'tabular-nums',
|
fontVariantNumeric: 'tabular-nums',
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -50,11 +50,11 @@ function DeviceActiveTime({ ts }: { ts: number }) {
|
||||||
<Text size="Inherit" as="span" priority="300">
|
<Text size="Inherit" as="span" priority="300">
|
||||||
{t('Settings.last_activity')}
|
{t('Settings.last_activity')}
|
||||||
</Text>
|
</Text>
|
||||||
<>
|
<span className={Mono}>
|
||||||
{today(ts) && t('Settings.today')}
|
{today(ts) && t('Settings.today')}
|
||||||
{yesterday(ts) && t('Settings.yesterday')}
|
{yesterday(ts) && t('Settings.yesterday')}
|
||||||
{!today(ts) && !yesterday(ts) && timeDayMonYear(ts)} {timeHourMinute(ts)}
|
{!today(ts) && !yesterday(ts) && timeDayMonYear(ts)} {timeHourMinute(ts)}
|
||||||
</>
|
</span>
|
||||||
</Text>
|
</Text>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,7 @@ const BaseCode = style({
|
||||||
borderRadius: config.radii.R300,
|
borderRadius: config.radii.R300,
|
||||||
});
|
});
|
||||||
const CodeFont = style({
|
const CodeFont = style({
|
||||||
fontFamily: 'monospace',
|
fontFamily: 'var(--font-mono)',
|
||||||
});
|
});
|
||||||
|
|
||||||
export const Code = style([
|
export const Code = style([
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue