Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(portal): add Montserrat font to portal #10450

Merged
merged 1 commit into from
Jan 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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