Update Stacks, restore buttons to featured style
This commit is contained in:
parent
f066c74b39
commit
adbd2bbf60
3 changed files with 5 additions and 8 deletions
7
package-lock.json
generated
7
package-lock.json
generated
|
@ -926,10 +926,9 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/@stackoverflow/stacks": {
|
"node_modules/@stackoverflow/stacks": {
|
||||||
"version": "2.5.4",
|
"version": "2.7.1",
|
||||||
"resolved": "https://registry.npmjs.org/@stackoverflow/stacks/-/stacks-2.5.4.tgz",
|
"resolved": "https://registry.npmjs.org/@stackoverflow/stacks/-/stacks-2.7.1.tgz",
|
||||||
"integrity": "sha512-k11SesaE+bZXNoa7IDinkpmu1BgVq7xIV1Gl1fZ5SM00hPi2S/vCyjIupLvJbSt1PAJTlnpBoUIM1ubb0Y7qFg==",
|
"integrity": "sha512-aKqVyPigMiMUpbGDA3egM2ORmaNGCJQ/e+WJZJgnj0pc/xBpiFdYSojsl/tP3eGKg0cvU7EldGzzvfwFYwUbfA==",
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@hotwired/stimulus": "^3.2.2",
|
"@hotwired/stimulus": "^3.2.2",
|
||||||
"@popperjs/core": "^2.11.8"
|
"@popperjs/core": "^2.11.8"
|
||||||
|
|
|
@ -6,7 +6,7 @@ block body
|
||||||
!= icons.Spots.SpotEmptyXL
|
!= icons.Spots.SpotEmptyXL
|
||||||
p You need to log in to manage your servers.
|
p You need to log in to manage your servers.
|
||||||
.d-flex.jc-center.g8
|
.d-flex.jc-center.g8
|
||||||
a.s-btn.s-btn__icon.s-btn__blurple.s-btn__filled(href=rel("/oauth"))
|
a.s-btn.s-btn__icon.s-btn__featured.s-btn__filled(href=rel("/oauth"))
|
||||||
!= icons.Icons.IconDiscord
|
!= icons.Icons.IconDiscord
|
||||||
= ` Log in with Discord`
|
= ` Log in with Discord`
|
||||||
a.s-btn.s-btn__icon.s-btn__matrix.s-btn__filled(href=rel("/log-in-with-matrix"))
|
a.s-btn.s-btn__icon.s-btn__matrix.s-btn__filled(href=rel("/log-in-with-matrix"))
|
||||||
|
|
|
@ -79,8 +79,6 @@ html(lang="en")
|
||||||
.s-btn__dropdown:has(+ :popover-open) {
|
.s-btn__dropdown:has(+ :popover-open) {
|
||||||
background-color: var(--theme-topbar-item-background-hover, var(--black-200)) !important;
|
background-color: var(--theme-topbar-item-background-hover, var(--black-200)) !important;
|
||||||
}
|
}
|
||||||
+define-theme("blurple", "236", "84%", "64%")
|
|
||||||
+define-themed-button("blurple", "blurple")
|
|
||||||
+define-themed-button("matrix", "black")
|
+define-themed-button("matrix", "black")
|
||||||
body.themed.theme-system
|
body.themed.theme-system
|
||||||
header.s-topbar
|
header.s-topbar
|
||||||
|
@ -97,7 +95,7 @@ html(lang="en")
|
||||||
= ` Log in`
|
= ` Log in`
|
||||||
span(class="sm:d-none")= ` with Matrix`
|
span(class="sm:d-none")= ` with Matrix`
|
||||||
if !session.data.userID
|
if !session.data.userID
|
||||||
a.s-btn.s-btn__icon.s-btn__blurple.s-btn__outlined.as-center(href=rel("/oauth"))
|
a.s-btn.s-btn__icon.s-btn__featured.s-btn__outlined.as-center(href=rel("/oauth"))
|
||||||
!= icons.Icons.IconDiscord
|
!= icons.Icons.IconDiscord
|
||||||
= ` Log in`
|
= ` Log in`
|
||||||
span(class="sm:d-none")= ` with Discord`
|
span(class="sm:d-none")= ` with Discord`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue