File tree Expand file tree Collapse file tree 3 files changed +28
-18
lines changed Expand file tree Collapse file tree 3 files changed +28
-18
lines changed Original file line number Diff line number Diff line change @@ -13,14 +13,16 @@ export const ColorsTitleStyled = styled.h2`
13
13
14
14
export const ColorsContainerStyled = styled . div `
15
15
margin-top: 30px;
16
+ display: flex;
17
+ flex-direction: column;
18
+ gap: 2rem;
16
19
` ;
17
20
18
21
export const ColorsColorDataStyled = styled . div `
19
22
display: flex;
20
23
justify-content: space-between;
21
- margin-bottom: 50px;
22
24
border-bottom: 1px solid #d7d7d7;
23
- padding-bottom: 10px ;
25
+ padding-bottom: 20px ;
24
26
padding-left: 20px;
25
27
padding-right: 20px;
26
28
align-items: center;
@@ -36,11 +38,13 @@ export const ColorsCicleStyled = styled.div`
36
38
width: 40px;
37
39
height: 40px;
38
40
border-radius: 100%;
41
+ box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
39
42
` ;
40
43
41
44
export const ColorsNameStyled = styled . div `
42
45
display: flex;
43
46
flex-direction: column;
47
+ gap: 5px;
44
48
` ;
45
49
46
50
export const ColorsHexNameStyled = styled . div `
Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ export const Colors = (): JSX.Element[] | JSX.Element => {
20
20
if ( themeObject === undefined || ! themeObject ) {
21
21
return (
22
22
< div >
23
- < h1 > Illustrations </ h1 >
24
- < p > There are no illustrations for the selected theme ({ theme } )</ p >
23
+ < h1 > Colors </ h1 >
24
+ < p > There are no colors for the selected theme ({ theme } )</ p >
25
25
</ div >
26
26
) ;
27
27
}
@@ -41,12 +41,12 @@ export const Colors = (): JSX.Element[] | JSX.Element => {
41
41
} }
42
42
/>
43
43
< ColorsNameStyled >
44
- < span > color name</ span >
44
+ < b > color name</ b >
45
45
< span > { _key } </ span >
46
46
</ ColorsNameStyled >
47
47
</ ColorsCircleNameStyled >
48
48
< ColorsHexNameStyled >
49
- < span > Hex</ span >
49
+ < b > Hex</ b >
50
50
< span > { value as ReactNode } </ span >
51
51
</ ColorsHexNameStyled >
52
52
</ ColorsColorDataStyled >
Original file line number Diff line number Diff line change @@ -2,29 +2,35 @@ import styled from 'styled-components';
2
2
3
3
export const IconsStyled = styled . div `
4
4
display: flex;
5
- gap: 30px;
6
5
flex-wrap: wrap;
7
- justify-content: center;
8
6
` ;
9
7
10
8
export const IconsDataStyled = styled . div `
11
- display: inline-flex;
9
+ width: 20%;
10
+ display: flex;
12
11
flex-direction: column;
13
- gap: 10px ;
12
+ -webkit-box-align: center ;
14
13
align-items: center;
15
- flex-wrap: wrap;
16
- width: calc(100% / 4);
14
+ -webkit-box-pack: center;
15
+ justify-content: center;
16
+ padding: 2.5rem 1rem 1rem;
17
+ gap: 3rem;
18
+ background-color: rgb(255, 255, 255);
19
+ border: 1px solid rgb(209, 209, 209);
20
+ word-break: break-all;
17
21
` ;
18
22
19
23
export const IconsInputStyled = styled . input `
20
- border: 1px solid rgba(153, 153, 153, 0.4);
21
- height: 50px;
22
24
width: 100%;
23
- border-radius: 28px;
24
- padding: 0 28px;
25
- margin-bottom: 50px;
25
+ border: 1px solid rgb(0, 0, 0);
26
+ padding: 0.5rem;
27
+ position: sticky;
28
+ top: 10px;
29
+ background-color: rgb(255, 255, 255);
30
+ z-index: 1;
31
+ margin-bottom: 2rem;
26
32
` ;
27
33
28
34
export const IconNameStyled = styled . span `
29
- font-size: 14px ;
35
+ font-size: 12px ;
30
36
` ;
You can’t perform that action at this time.
0 commit comments