Skip to content

Commit

Permalink
Merge pull request #530 from wordpress-mobile/try/improve-372
Browse files Browse the repository at this point in the history
Remap font names for iOS for PR 372.
  • Loading branch information
diegoreymendez authored Feb 1, 2019
2 parents 27b4de6 + 0ae4ca8 commit 3d7ecf0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions sass-transformer.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ if ( reactNativeMinorVersion >= 56 ) {
// TODO: need to find a way to pass the include paths and the default asset files via some config
const autoImportIncludePaths = [
path.join( path.dirname( __filename ), 'gutenberg/assets/stylesheets' ),
path.join( path.dirname( __filename ), 'src' ),
];
const autoImportAssets = [
'_colors.scss',
Expand Down
2 changes: 1 addition & 1 deletion src/block-management/block-holder.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
padding-top: 24;
padding-bottom: 24;
font-size: 16px;
font-family: serif;
font-family: $default-regular-font;
}

.aztec_container {
Expand Down
1 change: 1 addition & 0 deletions src/variables.android.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@

// Fonts
$default-monospace-font: monospace;
$default-regular-font: serif;
1 change: 1 addition & 0 deletions src/variables.ios.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@

// Fonts
$default-monospace-font: courier;
$default-regular-font: 'NotoSerif';

0 comments on commit 3d7ecf0

Please sign in to comment.