Skip to content

Commit

Permalink
fix: fix font change by setting flag to skip roboto font
Browse files Browse the repository at this point in the history
Close #4
  • Loading branch information
paodb authored and javier-godoy committed Jul 19, 2021
1 parent 4e5d233 commit c0b3f92
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Custom property | Description | Default
*/
import '@polymer/polymer/polymer-legacy.js';

import './skip-loading-font-roboto.js';
import '@polymer/iron-a11y-keys/iron-a11y-keys.js';
import '@polymer/paper-input/paper-input.js';
import '@polymer/paper-item/paper-item.js';
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/META-INF/frontend/paper-chip-input.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Custom property | Description | Default
*/
import '@polymer/polymer/polymer-legacy.js';

import './skip-loading-font-roboto.js';
import '@polymer/iron-a11y-keys/iron-a11y-keys.js';
import '@polymer/iron-icons/iron-icons.js';
import '@polymer/paper-input/paper-input.js';
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/META-INF/frontend/paper-chip.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Custom property | Description | Default
*/
import '@polymer/polymer/polymer-legacy.js';

import './skip-loading-font-roboto.js';
import '@polymer/paper-styles/paper-styles.js';
import '@polymer/iron-icons/iron-icons.js';
import { PolymerElement, html } from '@polymer/polymer/polymer-element.js';
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

window.polymerSkipLoadingFontRoboto = true;

0 comments on commit c0b3f92

Please sign in to comment.