Skip to content

Commit

Permalink
Update font families for emoji picker previews (#21)
Browse files Browse the repository at this point in the history
* update font families

* update build
  • Loading branch information
cramos-figma authored Aug 16, 2023
1 parent d6eb551 commit 1e16c62
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/emoji-mart/src/components/Emoji/Emoji.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default function Emoji(props) {
style={{
fontSize: size || 22,
fontFamily:
'-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol',
'EmojiMart, Segoe UI Emoji, Segoe UI Symbol, Segoe UI, Apple Color Emoji, Twemoji Mozilla, Noto Color Emoji, Android Emoji',
}}
>
{native}
Expand Down
2 changes: 1 addition & 1 deletion packages/emoji-mart/src/components/Picker/Picker.js
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ export default class Picker extends Component {
fontSize: this.props.emojiSize,
lineHeight: 0,
fontFamily:
'-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol',
'EmojiMart, Segoe UI Emoji, Segoe UI Symbol, Segoe UI, Apple Color Emoji, Twemoji Mozilla, Noto Color Emoji, Android Emoji',
}}
>
<div
Expand Down

0 comments on commit 1e16c62

Please sign in to comment.