Feature: Font selector and ligature toggle.

This commit is contained in:
Paul
2021-07-04 17:56:18 +01:00
parent d5c3f9e0ab
commit 720bc263a5
19 changed files with 315 additions and 32 deletions

View File

@@ -39,8 +39,10 @@ export default styled.textarea<TextAreaProps>`
}
${ props => props.code ? css`
font-family: 'Fira Mono', 'Courier New', Courier, monospace;
font-family: var(--monoscape-font-font), monospace;
` : css`
font-family: 'Open Sans', sans-serif;
font-family: inherit;
` }
font-variant-ligatures: var(--ligatures);
`;