Skip to content

Commit

Permalink
Add InterStatus as monospace font
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferossgp committed Apr 28, 2020
1 parent dad9154 commit a364085
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 2 deletions.
Binary file not shown.
2 changes: 2 additions & 0 deletions ios/StatusIm.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = StatusIm/main.m; sourceTree = "<group>"; };
1426DF592BA248FC81D955CB /* Inter-Regular.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Inter-Regular.otf"; path = "../resources/fonts/Inter-Regular.otf"; sourceTree = "<group>"; };
38A44830EC5708E89387F641 /* Pods-StatusIm.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-StatusIm.release.xcconfig"; path = "Pods/Target Support Files/Pods-StatusIm/Pods-StatusIm.release.xcconfig"; sourceTree = "<group>"; };
3A0B103024581B74004B0F23 /* InterStatus-Regular.otf */ = {isa = PBXFileReference; lastKnownFileType = file; name = "InterStatus-Regular.otf"; path = "../resources/fonts/InterStatus-Regular.otf"; sourceTree = "<group>"; };
439B6B4B407A4E2AACAFE5BE /* RCTStatus.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RCTStatus.xcodeproj; path = "../modules/react-native-status/ios/RCTStatus/RCTStatus.xcodeproj"; sourceTree = "<group>"; };
4C16DE0B1F89508700AA10DB /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
4E586E1B0E544F64AA9F5BD1 /* libz.tbd */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = usr/lib/libz.tbd; sourceTree = SDKROOT; };
Expand Down Expand Up @@ -180,6 +181,7 @@
CD4A2C27D6D5473184DC1F7E /* Inter-Bold.otf */,
B321D25F4493470980039457 /* Inter-BoldItalic.otf */,
B07176ACDAA1422E8F0A3D6B /* Inter-Italic.otf */,
3A0B103024581B74004B0F23 /* InterStatus-Regular.otf */,
B2A38FC3D3954DE7B2B171F8 /* Inter-Medium.otf */,
C6B1215047604CD59A4C74D6 /* Inter-MediumItalic.otf */,
1426DF592BA248FC81D955CB /* Inter-Regular.otf */,
Expand Down
Binary file added resources/fonts/InterStatus-Regular.otf
Binary file not shown.
2 changes: 1 addition & 1 deletion src/quo/design_system/typography.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@

(def font-bold {:font-family "Inter-Bold"}) ; 700

(def monospace (if platform/ios? "Menlo-Regular" "monospace"))
(def monospace {:font-family "InterStatus-Regular"})
2 changes: 1 addition & 1 deletion src/quo/previews/text.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[rn/scroll-view {:flex 1
:padding-horizontal 16}
(for [size [:tiny :small :base :large :x-large :xx-large]
weight [:regular :medium :semi-bold :bold]]
weight [:regular :medium :semi-bold :bold :monospace]]
^{:key (str)}
[rn/view {:padding-vertical 16}
[quo/text {:weight weight
Expand Down

0 comments on commit a364085

Please sign in to comment.