crash.software
Projects
Pull Requests
Issues
Builds
gradejs
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
gradejs
Commits
5ea208fd
🤬
Sign In
fix: fontWeight classNames for Chips
Dmitry Shakun
committed
2 years ago
5ea208fd
1 parent
58b3f1cb
Total 3 files
Show one by one
■ ■
■ ■
■ ■
packages/web/src/components/ui/Chip/Chip.module.scss
skipped 92 lines
93
93
font-family: $font-monospace;
94
94
}
95
95
96
-
.400 {
96
+
.normal {
97
97
font-weight: normal;
98
98
}
99
99
100
-
.500 {
100
+
.semiBold {
101
101
font-weight: 500;
102
102
}
103
103
skipped 25 lines
All occurrences
■ ■
■ ■
■ ■
packages/web/src/components/ui/Chip/Chip.tsx
skipped 16 lines
17
17
| 'info';
18
18
size?: 'badge' | 'default' | 'medium' | 'large';
19
19
font?: 'sans-serif' | 'monospace';
20
-
fontWeight?:
400
|
500
;
20
+
fontWeight?:
'
normal
'
|
'
semiBold
'
;
21
21
fontSize?: 'small' | 'regular';
22
22
icon?: React.ReactElement<IconProps>;
23
23
onClick?: React.MouseEventHandler<HTMLSpanElement>;
skipped 5 lines
29
29
variant = 'primary',
30
30
size = 'default',
31
31
font = 'sans-serif',
32
-
fontWeight =
400
,
32
+
fontWeight =
'
normal
'
,
33
33
fontSize = 'regular',
34
34
icon,
35
35
onClick,
skipped 20 lines
All occurrences
■
■
■ ■ ■ ■
packages/web/src/components/ui/PackagePreview/PackagePreview.tsx
skipped 307 lines
308
308
<a href='#' className={styles.tag}>
309
309
#format
310
310
</a>
311
-
<Chip variant='info' size='medium' fontWeight=
{
500
}
>
311
+
<Chip variant='info' size='medium' fontWeight=
'
semiBold
'
>
312
312
+45
313
313
</Chip>
314
314
</div>
skipped 10 lines
All occurrences
Please wait...
Page is in error, reload to recover