refactor: migrate legacy wire namespace to wrn
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Auth layout: centers a single card (login/signup). Uses the Wire UI card,
|
||||
// Auth layout: centers a single card (login/signup). Uses the WrNexus UI card,
|
||||
// passing an extra `class` so we can constrain its width.
|
||||
component AuthLayout {
|
||||
view {
|
||||
@@ -20,9 +20,9 @@ component AuthLayout {
|
||||
.auth-card {
|
||||
width: min(100%, 28rem);
|
||||
padding: 2rem;
|
||||
border: 1px solid var(--wire-color-border);
|
||||
border-radius: var(--wire-radius-lg);
|
||||
background: var(--wire-color-surface);
|
||||
border: 1px solid var(--wrn-color-border);
|
||||
border-radius: var(--wrn-radius-lg);
|
||||
background: var(--wrn-color-surface);
|
||||
box-shadow: 0 1.25rem 3rem rgb(0 0 0 / 0.18);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ component DashboardLayout {
|
||||
<a href="/ui">Components</a>
|
||||
<a href="/">Home</a>
|
||||
</nav>
|
||||
<button type="button" data-wire-theme-toggle aria-label="Toggle color theme">Theme</button>
|
||||
<button type="button" data-wrn-theme-toggle aria-label="Toggle color theme">Theme</button>
|
||||
</aside>
|
||||
|
||||
<main class="dash-main">
|
||||
|
||||
@@ -13,9 +13,9 @@ component PublicLayout {
|
||||
<a href="/about">{t:nav.about}</a>
|
||||
<a href="/navigation">{t:nav.navigation}</a>
|
||||
<a href="/layout">{t:nav.layout}</a>
|
||||
<button type="button" data-wire-theme-toggle aria-label="Toggle color theme">Theme</button>
|
||||
<button class="wire-btn wire-btn--ghost wire-btn--sm" data-wire-lang-set="en">EN</button>
|
||||
<button class="wire-btn wire-btn--ghost wire-btn--sm" data-wire-lang-set="es">ES</button>
|
||||
<button type="button" data-wrn-theme-toggle aria-label="Toggle color theme">Theme</button>
|
||||
<button class="wrn-btn wrn-btn--ghost wrn-btn--sm" data-wrn-lang-set="en">EN</button>
|
||||
<button class="wrn-btn wrn-btn--ghost wrn-btn--sm" data-wrn-lang-set="es">ES</button>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
@@ -23,7 +23,7 @@ component PublicLayout {
|
||||
<slot></slot>
|
||||
</main>
|
||||
|
||||
<footer class="site-footer">Built with WrNexus · Wire UI + theming</footer>
|
||||
<footer class="site-footer">Built with WrNexus · WrNexus UI + theming</footer>
|
||||
</div>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user