Skip to content

Commit

Permalink
Disable ligatures in the monospaced font family (#649)
Browse files Browse the repository at this point in the history
  • Loading branch information
vmilan authored Apr 13, 2023
1 parent 534d2ec commit a6b3942
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Not released

- DS update: Disable ligatures in the monospaced font family [#649](https://github.com/CartoDB/carto-react/pull/649)
- DS update: change action.disabledBackground color [#647](https://github.com/CartoDB/carto-react/pull/647)
- Storybook documentation and fixes [#629](https://github.com/CartoDB/carto-react/pull/629)
- Note component cleaned styles from makeStyles [#630](https://github.com/CartoDB/carto-react/pull/630)
Expand Down
9 changes: 6 additions & 3 deletions packages/react-ui/src/theme/sections/typography.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,21 +121,24 @@ const customTypography = {
fontWeight: 400,
fontSize: getPixelToRem(16),
lineHeight: 1.5,
letterSpacing: 0
letterSpacing: 0,
fontVariantLigatures: 'no-common-ligatures'
},
code2: {
fontFamily: '"Overpass Mono", monospace',
fontWeight: 400,
fontSize: getPixelToRem(14),
lineHeight: 1.428,
letterSpacing: 0
letterSpacing: 0,
fontVariantLigatures: 'no-common-ligatures'
},
code3: {
fontFamily: '"Overpass Mono", monospace',
fontWeight: 400,
fontSize: getPixelToRem(12),
lineHeight: 1.333,
letterSpacing: 0
letterSpacing: 0,
fontVariantLigatures: 'no-common-ligatures'
}
};

Expand Down

0 comments on commit a6b3942

Please sign in to comment.