Use --font-sans in the Visual Editor widgets (#22085)

GitOrigin-RevId: 64a480562b3e7d2fda7d41ed402511290f800f14
This commit is contained in:
Alf Eaton
2024-11-28 09:04:54 +00:00
committed by Copybot
parent 065464f722
commit 078a3b8d05
3 changed files with 3 additions and 2 deletions
@@ -81,7 +81,7 @@ const pastedContentTheme = EditorView.baseTheme({
flexDirection: 'column',
boxSizing: 'border-box',
fontSize: '14px',
fontFamily: '"Lato", sans-serif',
fontFamily: 'var(--font-sans)',
},
'.ol-cm-pasted-content-menu-item': {
color: 'inherit',
@@ -366,7 +366,7 @@ const mainVisualTheme = EditorView.theme({
'.ol-cm-preamble-widget, .ol-cm-end-document-widget': {
padding: '0.25em 1em',
borderRadius: '8px',
fontFamily: '"Lato", sans-serif',
fontFamily: 'var(--font-sans)',
fontSize: '14px',
'.ol-cm-preamble-expanded &': {
borderBottomLeftRadius: '0',