Skip to content

Commit

Permalink
feat(portal): add Montserrat font to portal
Browse files Browse the repository at this point in the history
(cherry picked from commit c1379d3)
  • Loading branch information
jourdiw committed Jan 17, 2025
1 parent 271dce5 commit dfd2605
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ class PortalThemeController {
"Monaco, 'DejaVu Sans Mono', 'Lucida Console', 'Andale Mono', monospace",
"Times, 'Times New Roman', 'Liberation Serif', FreeSerif, serif",
"Georgia, 'DejaVu Serif', Norasi, serif",
'"Montserrat", sans-serif',
];

$scope.hasPreview = () => {
Expand Down
1 change: 1 addition & 0 deletions gravitee-apim-portal-webui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"@asyncapi/web-component": "1.2.23",
"@emoji-mart/data": "1.2.1",
"@fontsource/ibm-plex-sans": "4.5.13",
"@fontsource/montserrat": "5.1.1",
"@gravitee/ui-components": "4.2.6",
"@highcharts/map-collection": "2.0.0",
"@ngx-translate/core": "14.0.0",
Expand Down
1 change: 1 addition & 0 deletions gravitee-apim-portal-webui/src/styles.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* You can add global styles to this file, and also import other style files */
@import '~@fontsource/ibm-plex-sans/latin.css';
@import '~@fontsource/montserrat/latin.css';
@import '~@gravitee/ui-components/assets/css/gravitee-theme.generated.css';

:root {
Expand Down
8 changes: 8 additions & 0 deletions gravitee-apim-portal-webui/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3643,6 +3643,13 @@ __metadata:
languageName: node
linkType: hard

"@fontsource/montserrat@npm:5.1.1":
version: 5.1.1
resolution: "@fontsource/montserrat@npm:5.1.1"
checksum: 10c0/755d3af7026094cbc1cfffb45cd9f06dbf4ef3d0399aa1e18f2a3055c370cdf80f5c6b6a42a98a492244b9207f45da61364c437dba71423fae2a130ab2a6c37c
languageName: node
linkType: hard

"@formatjs/ecma402-abstract@npm:1.11.3":
version: 1.11.3
resolution: "@formatjs/ecma402-abstract@npm:1.11.3"
Expand Down Expand Up @@ -3740,6 +3747,7 @@ __metadata:
"@babel/preset-env": "npm:7.16.11"
"@emoji-mart/data": "npm:1.2.1"
"@fontsource/ibm-plex-sans": "npm:4.5.13"
"@fontsource/montserrat": "npm:5.1.1"
"@gravitee/ui-components": "npm:4.2.6"
"@highcharts/map-collection": "npm:2.0.0"
"@messageformat/core": "npm:3.3.0"
Expand Down

0 comments on commit dfd2605

Please sign in to comment.