Skip to content

Commit

Permalink
[ADD] Google fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
Viglino committed Oct 25, 2024
1 parent e7f9ad4 commit 7606d73
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions page/css-dialog.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ <h2 data-help="helpStyleSheet medium">
<option value='cssMarianne'>
Police Marianne
</option>
<option value='cssGFont'>
Google fonts
</option>
<option value='cssRoundButton'>
Boutons ronds
</option>
Expand Down
7 changes: 7 additions & 0 deletions src/menu/onglet-miseenforme.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ body {
font-family: Marianne;
}
`,
cssGFont: `/* Google fonts */
@import url('https://fonts.googleapis.com/css2?family=Kablammo&display=swap');
body {
font-family: Kablammo;
}
`,
cssRoundButton: `/* Boutons ronds */
story .ol-control,
story .ol-control button {
Expand Down

0 comments on commit 7606d73

Please sign in to comment.