You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/component-tests-overview.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ setups and runs the test suite once.
23
23
setups and runs the test suite and watches for code changes will then retrigger the test suite.
24
24
25
25
## Writing Tests
26
-
New test files will need their namespace added to either the file "src/quo2/core_spec.cljs" or "src/status_im2/core_spec.cljs. These locations may update overtime but it is dependent on the entrypoint in shadow-cljs config discussed below.
26
+
New test files will need their namespace added to either the file "src/quo/core_spec.cljs" or "src/status_im2/core_spec.cljs. These locations may update overtime but it is dependent on the entrypoint in shadow-cljs config discussed below.
Copy file name to clipboardExpand all lines: doc/pixel-perfection.md
+9-3
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,22 @@
1
1
# Pixel Perfection
2
2
The Status Mobile team aims to align the design implementation perfectly according to a given screens respective Figma design spec.
3
3
4
-
Currently the Figma Designs match up with an "iPhone 11 Pro" screen size.
4
+
Currently, the Figma Designs match up with both "iPhone 11 Pro" and "iPhone 13" screen size.
5
+
6
+
The Dimension reference for iPhone 11 Pro is 375 x 812 (width x height) and for iPhone 13 is 390 x 844.
5
7
6
8
To test your implementation is correct you can take the following steps
7
9
8
10
- Open a new Figma file so that you have write privileges.
11
+
9
12
- Copy in the component or screen from the Figma file.
10
13
11
-
- Using the "iPhone 11 Pro" simulator (it is the default now) you take a screenshot of your component and paste it into your Figma file.
14
+
- Using the "iPhone 11 Pro" or the "iPhone 13" simulator (it is the default now) you take a screenshot of your component and paste it into your Figma file.
15
+
16
+
- To get the right size, set your screenshot to width according to your simulator:
17
+
- for iPhone 13 set 390
18
+
- for iPhone 11 Pro set 375
12
19
13
-
- To get the right size, set your screenshot to width 375px
0 commit comments