From 1cda98d3e8914095de196a51fd2cdceffca1048a Mon Sep 17 00:00:00 2001 From: Mark Hulbert <39801222+m-hulbert@users.noreply.github.com> Date: Mon, 12 Jan 2026 19:43:11 +0100 Subject: [PATCH] chore: re-style important admonition to yellow and remove warn type --- src/components/Layout/mdx/Admonition.tsx | 5 +++-- src/pages/docs/channels/options/encryption.mdx | 2 +- src/pages/docs/platform/architecture/edge-network.mdx | 10 +++++----- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/src/components/Layout/mdx/Admonition.tsx b/src/components/Layout/mdx/Admonition.tsx index 5848d66904..0cd499a8d6 100644 --- a/src/components/Layout/mdx/Admonition.tsx +++ b/src/components/Layout/mdx/Admonition.tsx @@ -34,10 +34,11 @@ const admonitionConfig: Record< title: 'Further reading', }, important: { - borderColor: 'border-l-orange-500 dark:border-l-orange-600', - backgroundColor: 'bg-orange-100 dark:bg-orange-1000', + borderColor: 'border-l-yellow-500 dark:border-l-yellow-500', + backgroundColor: 'bg-yellow-100 dark:bg-yellow-900', title: 'Important', }, + // Unused for now, but available for another type if needed in future. warning: { borderColor: 'border-l-yellow-500 dark:border-l-yellow-400', backgroundColor: 'bg-yellow-100 dark:bg-yellow-800', diff --git a/src/pages/docs/channels/options/encryption.mdx b/src/pages/docs/channels/options/encryption.mdx index a1ba87fbdd..27e1ea6b14 100644 --- a/src/pages/docs/channels/options/encryption.mdx +++ b/src/pages/docs/channels/options/encryption.mdx @@ -22,7 +22,7 @@ All Ably client libraries use TLS by default when communicating with Ably over R If you need to disable TLS (typically to reduce communication overhead for public data streams), you can specify `tls: false` in your [client options](/docs/api/realtime-sdk#client-options) when instantiating a Realtime or REST library. -