From b294781ffd78c5968df6caea5005efee37c10f2c Mon Sep 17 00:00:00 2001 From: Gabriel Donadel Date: Fri, 2 Feb 2024 16:38:33 -0300 Subject: [PATCH 1/2] [menu-bar] Add Inter fonts to electron --- apps/menu-bar/global.css | 17 +++++++++++++++++ apps/menu-bar/index.web.js | 1 + 2 files changed, 18 insertions(+) create mode 100644 apps/menu-bar/global.css diff --git a/apps/menu-bar/global.css b/apps/menu-bar/global.css new file mode 100644 index 0000000..7f684c3 --- /dev/null +++ b/apps/menu-bar/global.css @@ -0,0 +1,17 @@ +/* Fonts */ +@font-face { + src: url('src/assets/fonts/Inter/Inter-Regular.otf'); + font-family: 'Inter-Regular'; +} +@font-face { + src: url('src/assets/fonts/Inter/Inter-Medium.otf'); + font-family: 'Inter-Medium'; +} +@font-face { + src: url('src/assets/fonts/Inter/Inter-SemiBold.otf'); + font-family: 'Inter-SemiBold'; +} +@font-face { + src: url('src/assets/fonts/Inter/Inter-Bold.otf'); + font-family: 'Inter-Bold'; +} diff --git a/apps/menu-bar/index.web.js b/apps/menu-bar/index.web.js index c00a9a2..39f6423 100644 --- a/apps/menu-bar/index.web.js +++ b/apps/menu-bar/index.web.js @@ -3,6 +3,7 @@ import { AppRegistry } from 'react-native'; import App from './src/App'; import './src/windows'; +import './global.css'; const params = new URL(document.location).searchParams; const module = params.get('moduleName'); From d8fbdedd26d6a3dc0a404cf9602dba8a05018c9f Mon Sep 17 00:00:00 2001 From: Gabriel Donadel Date: Fri, 2 Feb 2024 16:53:58 -0300 Subject: [PATCH 2/2] Add changelog entry --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ebdae1a..e1e2afa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ - Add support for launching Expo updates. ([#134](https://github.com/expo/orbit/pull/134), [#137](https://github.com/expo/orbit/pull/137), [#138](https://github.com/expo/orbit/pull/138), [#144](https://github.com/expo/orbit/pull/144), [#148](https://github.com/expo/orbit/pull/148) by [@gabrieldonadel](https://github.com/gabrieldonadel)) - Cache builds by default. ([#156](https://github.com/expo/orbit/pull/156) by [@gabrieldonadel](https://github.com/gabrieldonadel)) -- Add experimental support for Windows and Linux. ([#152](https://github.com/expo/orbit/pull/152), [#157](https://github.com/expo/orbit/pull/157), [#158](https://github.com/expo/orbit/pull/158) by [@gabrieldonadel](https://github.com/gabrieldonadel)) +- Add experimental support for Windows and Linux. ([#152](https://github.com/expo/orbit/pull/152), [#157](https://github.com/expo/orbit/pull/157), [#158](https://github.com/expo/orbit/pull/158), [#160](https://github.com/expo/orbit/pull/160) by [@gabrieldonadel](https://github.com/gabrieldonadel)) - Improve fatal CLI error handling. ([#163](https://github.com/expo/orbit/pull/163) by [@gabrieldonadel](https://github.com/gabrieldonadel)) ### 🐛 Bug fixes