diff --git a/docs/snippets/version-badge.mdx b/docs/snippets/version-badge.mdx index d8ef3dd95..cbb28cb9d 100644 --- a/docs/snippets/version-badge.mdx +++ b/docs/snippets/version-badge.mdx @@ -1,13 +1,12 @@ export const VersionBadge = ({ version }) => { return ( -
+

New in version:  - {version} -

+ {version} +

- ); }; \ No newline at end of file diff --git a/docs/style.css b/docs/style.css index be64b3edd..a868d9d79 100644 --- a/docs/style.css +++ b/docs/style.css @@ -17,16 +17,18 @@ h6 code:not(pre code) { display: inline-block; align-items: center; gap: 0.3em; - padding: 0.2em 0.8em; - font-size: 1.1em; - font-weight: 400; - + font-size: 1em; + margin-top: 0px; + margin-bottom: 0px; + padding-top: 6px; + padding-bottom: 6px; + padding-left: 20px; + padding-right: 20px; font-family: "Inter", sans-serif; - letter-spacing: 0.025em; color: #ff5400; - background: #ffeee6; - border: 1px solid rgb(255, 84, 0, 0.5); - border-radius: 6px; + background: #fef2f2; + border: 1px solid rgba(220, 38, 38, 0.3); + border-radius: 12px; box-shadow: none; vertical-align: middle; position: relative; @@ -44,7 +46,7 @@ h6 code:not(pre code) { } .dark .version-badge { - color: #fff; - background: #312e81; - border: 1.5px solid #a78bfa; + color: #f1f5f9; + background: #334155; + border: 1px solid #64748b; }