Skip to content

Commit cddec4f

Browse files
committed
fix: typography, og-preview: Style social icons & links
1 parent 38768da commit cddec4f

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

assets/scss/_typography-custom.scss

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ a {
112112
}
113113

114114
.content :is(:where(a):not(:where([class~="not-prose"], [class~="not-prose"] *, .btn))),
115-
section a:not(.breadcrumb-link-parent, .social-link-container, .btn, .hardware-card-wide-link) {
115+
section a:not(.breadcrumb-link-parent, .social-link-container, .btn, .hardware-card-wide-link, .social-icon) {
116116
font-weight: inherit;
117117
color: inherit !important;
118118
@include styled-link(#d7c7e3, #200435, #288b8c, #bcfbff);
@@ -135,7 +135,7 @@ h1 a, h2 a, h3 a, h4 a, h5 a {
135135
}
136136

137137
.dark .content :is(:where(a):not(:where([class~="not-prose"], [class~="btn"], [class~="not-prose"] *))),
138-
.dark section a:not(.breadcrumb-link-parent, .social-link-container, .btn) {
138+
.dark section a:not(.breadcrumb-link-parent, .social-link-container, .btn, .hardware-card-wide-link, .social-icon) {
139139
color: inherit !important;
140140
}
141141

@@ -223,7 +223,4 @@ a.breadcrumb-link-parent {
223223
}
224224
}
225225
}
226-
}
227-
228-
// NOTE: We no longer need a separate .dark rule for this,
229-
// as the dark semi-transparent background works well in both light and dark modes.
226+
}

assets/scss/components/_og-preview.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@
4747
}
4848

4949
.social-icon {
50-
@apply text-white text-xl w-9 h-9 flex items-center justify-center transition-all duration-300 ease-in-out no-underline;
50+
@apply text-xl w-9 h-9 flex items-center justify-center transition-all duration-300 ease-in-out no-underline;
51+
color: white;
5152
background: rgba(0,0,0, 0.6);
5253
backdrop-filter: blur(2px);
5354
border-radius: 50%;

0 commit comments

Comments
 (0)