🛠️ Update window.nostr.min.js with optimized logic and improved syntax for better performance and readability

This commit is contained in:
HolgerHatGarKeineNode
2026-01-18 17:42:01 +01:00
parent 5476a74c8c
commit ddb79476ca
15 changed files with 17 additions and 445 deletions

View File

@@ -1,33 +1,8 @@
@import './utility-patterns.css' layer(base);
@import './flatpickr.css' layer(base);
@import 'tailwindcss';
@config '../../tailwind.config.js';
/*
The default border color has changed to `currentcolor` in Tailwind CSS v4,
so we've added these compatibility styles to make sure everything still
looks the same as it did with Tailwind CSS v3.
If we ever want to remove these styles, we need to add an explicit border
color utility to any element that depends on these defaults.
*/
@layer base {
*,
::after,
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentcolor);
}
}
@import '../../vendor/livewire/flux/dist/flux.css';
@custom-variant dark (&:where(.dark, .dark *));
/* See Alpine.js: https://github.com/alpinejs/alpine#x-cloak */
[x-cloak=""] {
display: none;
}
@media screen and (max-width: --theme(--breakpoint-lg)) {
[x-cloak="lg"] { display: none; }
}