mirror of
https://github.com/penpot/penpot.git
synced 2025-02-12 18:18:24 -05:00
🐛 Fix demo account text color
This commit is contained in:
parent
7461126d1a
commit
4a3a5f701f
2 changed files with 15 additions and 12 deletions
|
@ -58,7 +58,6 @@
|
|||
width: 100%;
|
||||
}
|
||||
|
||||
.demo-account,
|
||||
.go-back {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
@ -67,7 +66,6 @@
|
|||
border-block-start: none;
|
||||
}
|
||||
|
||||
.demo-account-link,
|
||||
.go-back-link {
|
||||
@extend .button-secondary;
|
||||
@include uppercaseTitleTipography;
|
||||
|
@ -81,7 +79,8 @@
|
|||
|
||||
.register,
|
||||
.account,
|
||||
.recovery-request {
|
||||
.recovery-request,
|
||||
.demo-account {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: $s-8;
|
||||
|
@ -90,7 +89,8 @@
|
|||
|
||||
.register-text,
|
||||
.account-text,
|
||||
.recovery-text {
|
||||
.recovery-text,
|
||||
.demo-account-text {
|
||||
@include smallTitleTipography;
|
||||
text-align: right;
|
||||
color: var(--title-foreground-color);
|
||||
|
@ -99,7 +99,8 @@
|
|||
.register-link,
|
||||
.account-link,
|
||||
.recovery-link,
|
||||
.forgot-pass-link {
|
||||
.forgot-pass-link,
|
||||
.demo-account-link {
|
||||
@include smallTitleTipography;
|
||||
text-align: left;
|
||||
background-color: transparent;
|
||||
|
|
|
@ -300,11 +300,13 @@
|
|||
[:& lk/link {:action go-register
|
||||
:class (stl/css :register-link)
|
||||
:data-test "register-submit"}
|
||||
(tr "auth.register-submit")]])]
|
||||
(tr "auth.register-submit")]])
|
||||
|
||||
(when (contains? cf/flags :demo-users)
|
||||
[:div {:class (stl/css :link-entry :demo-account)}
|
||||
[:span (tr "auth.create-demo-profile") " "]
|
||||
[:& lk/link {:action create-demo-profile
|
||||
:data-test "demo-account-link"}
|
||||
(tr "auth.create-demo-account")]])]))
|
||||
(when (contains? cf/flags :demo-users)
|
||||
[:div {:class (stl/css :demo-account)}
|
||||
[:span {:class (stl/css :demo-account-text)}
|
||||
(tr "auth.create-demo-profile") " "]
|
||||
[:& lk/link {:action create-demo-profile
|
||||
:class (stl/css :demo-account-link)
|
||||
:data-test "demo-account-link"}
|
||||
(tr "auth.create-demo-account")]])]]))
|
||||
|
|
Loading…
Add table
Reference in a new issue