Skip to content

Commit 2db53ec

Browse files
committed
fix(look&feel): align Link Body 2 in common, revert LF weight overrides
1 parent ae9b089 commit 2db53ec

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

packages/canopee-css/src/prospect-client/Link/LinkCommon.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
height: fit-content;
55
align-items: center;
66
gap: var(--rem-4);
7-
font-size: var(--link-font-size, var(--rem-14));
7+
font-size: var(--link-font-size, var(--rem-16));
88
font-weight: var(--link-font-weight, 600);
99
line-height: var(--rem-20);
1010
text-decoration: underline;
@@ -13,7 +13,7 @@
1313
fill: var(--link-text-color, var(--blue-1000));
1414

1515
@media (--desktop-small) {
16-
--link-font-size: var(--rem-16);
16+
--link-font-size: var(--rem-18);
1717
}
1818

1919
svg {

packages/canopee-css/src/prospect-client/Link/LinkLF.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
@import "./LinkCommon.css";
22

33
.af-link {
4+
--link-font-weight: 400;
45
--link-font-size: var(--rem-16);
56

67
@media (--desktop-small) {
@@ -13,3 +14,7 @@
1314
}
1415
}
1516
}
17+
18+
.af-link--openInNewTab {
19+
--link-font-weight: 600;
20+
}

0 commit comments

Comments
 (0)