File tree Expand file tree Collapse file tree 5 files changed +34
-22
lines changed
Expand file tree Collapse file tree 5 files changed +34
-22
lines changed Original file line number Diff line number Diff line change @@ -173,12 +173,14 @@ export class RNWelcomeImpl extends UI.Widget.VBox implements
173173 </ x-link >
174174 </ div >
175175 ${ launchId ? html `
176- < div class ="rn-session-id-message ">
177- ${ i18nString ( UIStrings . sessionIdMessage ) }
178- < div class ="rn-session-id ">
176+ < aside >
177+ < div class ="rn-session-id-message ">
178+ ${ i18nString ( UIStrings . sessionIdMessage ) }
179+ </ div >
180+ < div class ="code-block rn-session-id ">
179181 ${ launchId }
180182 </ div >
181- </ div >
183+ </ aside >
182184 ` : '' }
183185 ${ this . #reactNativeVersion !== null && this . #reactNativeVersion !== undefined ? html `
184186 < p class ="rn-welcome-version "> React Native: < code > ${ this . #reactNativeVersion} </ code > </ p >
Original file line number Diff line number Diff line change 5252.rn-welcome-icon {
5353 width : 30px ;
5454 height : 30px ;
55- border-radius : 4 px ;
55+ border-radius : 7 px ;
5656 margin-right : 12px ;
5757}
5858
6565.rn-welcome-title-accessory {
6666 margin-left : 12px ;
6767 padding : 4px 8px ;
68- border-radius : 4 px ;
68+ border-radius : 6 px ;
6969 background-color : var (--sys-color-green-bright );
7070 font-size : 12px ;
7171 color : var (--sys-color-primary );
101101 border-right : 1px solid var (--sys-color-on-base-divider );
102102}
103103
104- .rn-session-id-message {
105- display : block;
106- margin-top : 24px ;
107- }
108-
109- .rn-session-id-message > .rn-session-id {
110- user-select : all;
111- }
112-
113104.rn-welcome-version {
114105 position : fixed;
115106 top : 8px ;
116107 right : 8px ;
117108 margin-top : 24px ;
118109 padding : 4px 12px ;
119- border-radius : 6 px ;
120- background-color : var (--sys-color-surface-variant );
110+ border-radius : 8 px ;
111+ background : var (--sys-color-surface2 );
121112 color : var (--color-text-secondary );
122113 font-size : 11px ;
123114}
158149 margin-bottom : 8px ;
159150 padding : 8px ;
160151 padding-right : 16px ;
161- border : 1px solid var (--input-outline );
162- border-radius : 4 px ;
163- background-color : var (--color-background );
152+ border : 1px solid var (--sys-color-divider );
153+ border-radius : 10 px ;
154+ background-color : var (--sys- color-base );
164155 text-align : left;
165156 font-size : 14px ;
166157 cursor : pointer;
187178.rn-welcome-image {
188179 flex-shrink : 0 ;
189180 aspect-ratio : calc (16 / 9 );
190- height : 64 px ;
181+ height : 70 px ;
191182 margin-right : 16px ;
192- border-radius : 2 px ;
183+ border-radius : 6 px ;
193184 background-color : var (--sys-color-on-surface-subtle );
194185 background-position : center;
195186 background-size : cover;
196187}
188+
189+ .rn-session-id-message {
190+ display : block;
191+ margin-top : 64px ;
192+ margin-bottom : 8px ;
193+ }
194+
195+ .rn-session-id {
196+ user-select : all;
197+ cursor : text;
198+ }
199+
200+ .code-block {
201+ background : var (--sys-color-surface2 );
202+ padding : 8px ;
203+ border-radius : 8px ;
204+ color : var (--sys-color-on-surface );
205+ font-family : var (--monospace-font-family );
206+ }
You can’t perform that action at this time.
0 commit comments