Skip to content

Commit 32cea84

Browse files
committed
fix: 1.0.0-beta.4 release - fix styles
1 parent ce3efe1 commit 32cea84

File tree

3 files changed

+28
-19
lines changed

3 files changed

+28
-19
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@coreui/icons-react",
3-
"version": "1.0.0-beta.3",
3+
"version": "1.0.0-beta.4",
44
"description": "CoreUI Icons React component",
55
"sideEffects": "src/CIcon.css",
66
"license": "MIT",

src/CIcon.css

Lines changed: 26 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,67 +3,76 @@
33
color: inherit;
44
text-align: center;
55
fill: currentColor;
6+
}
7+
8+
.c-icon:not(.c-icon-c-s):not(.c-icon-custom-size) {
69
width: 1rem;
710
height: 1rem;
811
font-size: 1rem;
912
}
10-
.c-icon-2xl {
13+
14+
.c-icon:not(.c-icon-c-s):not(.c-icon-custom-size).c-icon-2xl {
1115
width: 2rem;
1216
height: 2rem;
1317
font-size: 2rem;
1418
}
15-
.c-icon-3xl {
19+
20+
.c-icon:not(.c-icon-c-s):not(.c-icon-custom-size).c-icon-3xl {
1621
width: 3rem;
1722
height: 3rem;
1823
font-size: 3rem;
1924
}
20-
.c-icon-4xl {
25+
26+
.c-icon:not(.c-icon-c-s):not(.c-icon-custom-size).c-icon-4xl {
2127
width: 4rem;
2228
height: 4rem;
2329
font-size: 4rem;
2430
}
25-
.c-icon-5xl {
31+
32+
.c-icon:not(.c-icon-c-s):not(.c-icon-custom-size).c-icon-5xl {
2633
width: 5rem;
2734
height: 5rem;
2835
font-size: 5rem;
2936
}
30-
.c-icon-6xl {
37+
38+
.c-icon:not(.c-icon-c-s):not(.c-icon-custom-size).c-icon-6xl {
3139
width: 6rem;
3240
height: 6rem;
3341
font-size: 6rem;
3442
}
35-
.c-icon-7xl {
43+
44+
.c-icon:not(.c-icon-c-s):not(.c-icon-custom-size).c-icon-7xl {
3645
width: 7rem;
3746
height: 7rem;
3847
font-size: 7rem;
3948
}
40-
.c-icon-8xl {
49+
50+
.c-icon:not(.c-icon-c-s):not(.c-icon-custom-size).c-icon-8xl {
4151
width: 8rem;
4252
height: 8rem;
4353
font-size: 8rem;
4454
}
45-
.c-icon-9xl {
55+
56+
.c-icon:not(.c-icon-c-s):not(.c-icon-custom-size).c-icon-9xl {
4657
width: 9rem;
4758
height: 9rem;
4859
font-size: 9rem;
4960
}
50-
.c-icon-xl {
61+
62+
.c-icon:not(.c-icon-c-s):not(.c-icon-custom-size).c-icon-xl {
5163
width: 1.5rem;
5264
height: 1.5rem;
5365
font-size: 1.5rem;
5466
}
55-
.c-icon-lg {
67+
68+
.c-icon:not(.c-icon-c-s):not(.c-icon-custom-size).c-icon-lg {
5669
width: 1.25rem;
5770
height: 1.25rem;
5871
font-size: 1.25rem;
5972
}
60-
.c-icon-sm {
73+
74+
.c-icon:not(.c-icon-c-s):not(.c-icon-custom-size).c-icon-sm {
6175
width: 0.875rem;
6276
height: 0.875rem;
6377
font-size: 0.875rem;
64-
}
65-
.c-icon-c-s,
66-
.c-icon-custom-size {
67-
width: initial !important;
68-
height: initial !important;
69-
}
78+
}

0 commit comments

Comments
 (0)