Skip to content

Commit f4e5deb

Browse files
committed
update info icon style
1 parent b095f6d commit f4e5deb

File tree

4 files changed

+14
-20
lines changed

4 files changed

+14
-20
lines changed
Lines changed: 4 additions & 10 deletions
Loading

src/components/Aside.astro

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,13 @@ const icons = {
3838
--aside-bg: var(--color-background-info);
3939
background-color: var(--aside-bg);
4040

41-
display: flex;
42-
@apply p-4 gap-4 rounded-[4px] text-info;
41+
/* display: flex; */
42+
@apply p-[30px] gap-4 rounded-[27px] text-info;
4343
}
4444

45-
.title {
45+
aside p.title {
4646
font-weight: bold;
47-
font-size: 14px;
48-
text-transform: uppercase;
47+
font-size: 18px;
4948
}
5049

5150
aside p {
@@ -55,6 +54,7 @@ const icons = {
5554
.icon {
5655
flex-shrink: 0;
5756
width: 1.5em;
57+
margin-bottom: 10px;
5858
}
5959
.icon svg {
6060
vertical-align: middle;
@@ -63,7 +63,7 @@ const icons = {
6363

6464
aside :global(a),
6565
aside :global(a > code:not([class*="language"])) {
66-
@apply text-link;
66+
@apply text-link underline;
6767
}
6868

6969
aside :global(p),
@@ -93,8 +93,8 @@ const icons = {
9393

9494
.asideContent :global(p) {
9595
margin-bottom: 0;
96-
font-size: 14px;
97-
line-height: 1.4;
96+
font-size: 16px;
97+
line-height: 25px;
9898
}
9999

100100
.asideContent :global(p + p) {

src/styles/design-system/tokens/background.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
--color-background-contrast: var(--blue-900);
66
--color-background-warning: var(--yellow-100);
77
--color-background-success: var(--green-100);
8-
--color-background-info: var(--blue-100);
8+
--color-background-info: var(--orange-200);
99
--color-background-disabled: var(--gray-200);
1010
}

src/styles/design-system/values/colors.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
--black: #000000;
3131
--black-100: #101010;
3232
--orange-100: #fcf1df;
33-
--orange-200: #fee9e0;
33+
--orange-200: #fff8f3;
3434
--orange-300: #f8a077;
3535
--orange-400: #ff684b;
3636
--orange-500: #c58d49;

0 commit comments

Comments
 (0)