Skip to content

Commit 8fa0290

Browse files
committed
Update social coponent twitter brand and logo to X
1 parent 0cf10de commit 8fa0290

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

css/components/social.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
flex: none;
2020
block-size: 1.6rem;
2121
inline-size: 1.6rem;
22-
background-color: oklch(68.18% 0.158 243.35deg); /* twitter blue */
23-
mask: url('data-url:npm:fa-brands/twitter.svg') center / contain;
22+
background-color: black;
23+
mask: url('data-url:npm:fa-brands/x-twitter.svg') center / contain;
2424
}
2525
}

elements/3-components/social.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module.exports = {
33
context: {
44
social: {
55
url: 'https://twitter.com/caldiglib',
6-
text: 'Follow us on Twitter'
6+
text: 'Follow us on X'
77
}
88
}
99
};

0 commit comments

Comments
 (0)