File tree Expand file tree Collapse file tree 2 files changed +20
-14
lines changed Expand file tree Collapse file tree 2 files changed +20
-14
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,8 @@ export const Box = styled.div<{ warning?: boolean }>(
18
18
warning && { background : theme . base === 'dark' ? '#342e1a' : theme . background . warning }
19
19
) ;
20
20
21
- export const BoxTitle = styled . b ( ( ) => ( {
22
- display : 'block' ,
23
- marginBottom : 2 ,
24
- } ) ) ;
21
+ export const BoxList = styled . ul ( {
22
+ margin : 0 ,
23
+ padding : 4 ,
24
+ listStylePosition : 'inside' ,
25
+ } ) ;
Original file line number Diff line number Diff line change 1
- import { LockIcon } from '@storybook/icons' ;
2
1
import React from 'react' ;
3
2
4
- import { Box , BoxTitle } from '../../components/Box' ;
3
+ import { Box , BoxList } from '../../components/Box' ;
5
4
import { Code } from '../../components/Code' ;
6
5
import { Container } from '../../components/Container' ;
7
6
import { Link } from '../../components/design-system' ;
@@ -22,19 +21,25 @@ export const GitNotFound = () => {
22
21
< Stack >
23
22
< div >
24
23
< VisualTestsIcon />
25
- < Heading > Visual tests </ Heading >
24
+ < Heading > Setup a Git repository </ Heading >
26
25
< Text center muted >
27
- Catch bugs in UI appearance automatically. Compare image snapshots to detect visual
28
- changes.
26
+ Chromatic requires Git to associate test results with commits and branches.
29
27
</ Text >
30
28
</ div >
31
29
< Box >
32
- < LockIcon style = { { flexShrink : 0 } } />
33
30
< Text >
34
- < BoxTitle > Git not detected</ BoxTitle >
35
- This addon requires Git to associate test results with commits and branches. Run{ ' ' }
36
- < Code > git init</ Code > and make your first commit
37
- < Code > git commit -m</ Code > to get started!
31
+ Run these steps to get started:
32
+ < BoxList >
33
+ < li >
34
+ < Code > git init</ Code >
35
+ </ li >
36
+ < li >
37
+ < Code > git add .</ Code >
38
+ </ li >
39
+ < li >
40
+ < Code > git commit -m "Initial commit"</ Code >
41
+ </ li >
42
+ </ BoxList >
38
43
</ Text >
39
44
</ Box >
40
45
< Link
You can’t perform that action at this time.
0 commit comments