diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css index a86a80ad..62da5d4a 100644 --- a/assets/css/compiled/main.css +++ b/assets/css/compiled/main.css @@ -2542,13 +2542,13 @@ nav .search-wrapper { @supports ( ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) ) { - .hextra-hextra-code-copy-btn { + .hextra-code-copy-btn { --tw-bg-opacity: .85; --tw-backdrop-blur: blur(12px); -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia); backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia); } - :is(html[class~="dark"] .hextra-hextra-code-copy-btn) { + :is(html[class~="dark"] .hextra-code-copy-btn) { --tw-bg-opacity: 0.8; } } diff --git a/assets/css/components/code-copy.css b/assets/css/components/code-copy.css index cea990b3..3bd39f0f 100644 --- a/assets/css/components/code-copy.css +++ b/assets/css/components/code-copy.css @@ -1,7 +1,7 @@ @supports ( (-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px)) ) { - .hextra-hextra-code-copy-btn { + .hextra-code-copy-btn { @apply hx-backdrop-blur-md hx-bg-opacity-[.85] dark:hx-bg-opacity-80; } } diff --git a/exampleSite/hugo_stats.json b/exampleSite/hugo_stats.json index 0eb78017..8bc25bbb 100644 --- a/exampleSite/hugo_stats.json +++ b/exampleSite/hugo_stats.json @@ -87,7 +87,6 @@ "before:hx-transition-transform", "before:hx-w-px", "chroma", - "code-copy-btn", "content", "contrast-more:dark:hover:hx-border-gray-50", "contrast-more:dark:hx-border-current",