Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/dull-ads-serve.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@astrojs/starlight': patch
---

Adds 1 new icon: `whatsApp`
2 changes: 2 additions & 0 deletions packages/starlight/components-internals/Icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ export const BuiltInIcons = {
'<path d="M15.72 0 14 1.28l6.4 8.58 1.7-1.26L15.73 0zm-3.94 3.42-1.36 1.64 8.22 6.85 1.37-1.64-8.23-6.85zM8.64 7.88l-.91 1.94 9.7 4.52.9-1.94-9.7-4.52zm-1.86 4.86-.44 2.1 10.48 2.2.44-2.1-10.47-2.2zM1.9 15.47V24h19.19v-8.53h-2.13v6.4H4.02v-6.4H1.9zm4.26 2.13v2.13h10.66V17.6H6.15Z"/>',
telegram:
'<path d="M22.265 2.428a2.048 2.048 0 0 0-2.078-.324L2.266 9.339a2.043 2.043 0 0 0 .104 3.818l3.625 1.261 2.02 6.682a.998.998 0 0 0 .119.252c.008.012.019.02.027.033a.988.988 0 0 0 .211.215.972.972 0 0 0 .07.05.986.986 0 0 0 .31.136l.013.001.006.003a1.022 1.022 0 0 0 .203.02l.018-.003a.993.993 0 0 0 .301-.052c.023-.008.042-.02.064-.03a.993.993 0 0 0 .205-.114 250.76 250.76 0 0 1 .152-.129l2.702-2.983 4.03 3.122a2.023 2.023 0 0 0 1.241.427 2.054 2.054 0 0 0 2.008-1.633l3.263-16.017a2.03 2.03 0 0 0-.693-1.97ZM9.37 14.736a.994.994 0 0 0-.272.506l-.31 1.504-.784-2.593 4.065-2.117Zm8.302 5.304-4.763-3.69a1.001 1.001 0 0 0-1.353.12l-.866.955.306-1.487 7.083-7.083a1 1 0 0 0-1.169-1.593L6.745 12.554 3.02 11.191 20.999 4Z"/>',
whatsApp:
'<path d="M11.96 0a11.78 11.78 0 0 1 8.387 3.477 11.8 11.8 0 0 1 3.47 8.389c-.003 6.472-5.216 11.75-11.661 11.855l-.196.002h-.005a11.85 11.85 0 0 1-5.586-1.4l-.08-.043-6.286 1.649 1.682-6.145a11.84 11.84 0 0 1-1.583-5.928C.105 5.32 5.424 0 11.96 0m.004 2.003c-5.436 0-9.857 4.42-9.86 9.854 0 1.834.505 3.62 1.463 5.174l.044.071.235.373-.996 3.636 3.73-.978.36.214a9.84 9.84 0 0 0 4.932 1.373h.088c5.432 0 9.853-4.42 9.855-9.855a9.8 9.8 0 0 0-2.884-6.972 9.8 9.8 0 0 0-6.967-2.89M7.762 6.38c.197 0 .395.002.568.01.182.01.426-.069.666.509.092.221.233.563.376.913l.031.075A51 51 0 0 0 9.91 9.1c.074.148.123.32.024.519-.098.197-.148.32-.296.494-.148.173-.31.386-.444.519l-.022.022-.022.022c-.132.136-.242.293-.086.56.173.297.767 1.268 1.648 2.053 1.132 1.01 2.086 1.322 2.383 1.47.296.149.469.124.641-.074.173-.197.741-.865.939-1.161s.394-.247.666-.149c.13.047.526.234.939.433l.128.062c.414.2.817.399.957.47.297.148.494.222.568.345.074.124.074.717-.172 1.409-.247.692-1.431 1.324-2 1.409-.51.076-1.156.108-1.866-.117a17 17 0 0 1-1.69-.625c-2.971-1.283-4.912-4.275-5.06-4.473l-.01-.014c-.18-.24-1.2-1.622-1.2-3.051 0-1.458.765-2.175 1.037-2.472a1.1 1.1 0 0 1 .79-.37"/>',
rss: '<path d="M2.88 16.88a3 3 0 0 0 0 4.24 3 3 0 0 0 4.24 0 3 3 0 0 0-4.24-4.24Zm2.83 2.83a1 1 0 0 1-1.42-1.42 1 1 0 0 1 1.42 0 1 1 0 0 1 0 1.42ZM5 12a1 1 0 0 0 0 2 5 5 0 0 1 5 5 1 1 0 0 0 2 0 7 7 0 0 0-7-7Zm0-4a1 1 0 0 0 0 2 9 9 0 0 1 9 9 1 1 0 0 0 2 0 11.08 11.08 0 0 0-3.22-7.78A11.08 11.08 0 0 0 5 8Zm10.61.39A15.11 15.11 0 0 0 5 4a1 1 0 0 0 0 2 13 13 0 0 1 13 13 1 1 0 0 0 2 0 15.11 15.11 0 0 0-4.39-10.61Z"/>',
facebook:
'<path d="M20.9 2H3.1A1.1 1.1 0 0 0 2 3.1v17.8A1.1 1.1 0 0 0 3.1 22h9.58v-7.75h-2.6v-3h2.6V9a3.64 3.64 0 0 1 3.88-4 20.26 20.26 0 0 1 2.33.12v2.7H17.3c-1.26 0-1.5.6-1.5 1.47v1.93h3l-.39 3H15.8V22h5.1a1.1 1.1 0 0 0 1.1-1.1V3.1A1.1 1.1 0 0 0 20.9 2Z"/>',
Expand Down