diff options
author | silverwind <me@silverwind.io> | 2022-05-20 00:08:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-20 00:08:08 +0200 |
commit | 9da3d78e74d6c8f363799dc2157540ea005ea102 (patch) | |
tree | 2512ad31657613614e8a1a41295de9fe0e0690bf /templates/user/auth | |
parent | ce52514762b914a5467a48c89fe67535ecc1a801 (diff) | |
download | gitea-9da3d78e74d6c8f363799dc2157540ea005ea102.tar.gz gitea-9da3d78e74d6c8f363799dc2157540ea005ea102.zip |
Replace blue button and label classes with primary (#19763)
* make blue really blue
* replace blue button and label classes with primary
* add --color-blue-dark
* add light color variants, tweak a few colors
* fix colors
* add comment
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'templates/user/auth')
-rw-r--r-- | templates/user/auth/activate.tmpl | 2 | ||||
-rw-r--r-- | templates/user/auth/forgot_passwd.tmpl | 2 | ||||
-rw-r--r-- | templates/user/auth/reset_passwd.tmpl | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/templates/user/auth/activate.tmpl b/templates/user/auth/activate.tmpl index 65dfd6b6a6..bb5d2a16f3 100644 --- a/templates/user/auth/activate.tmpl +++ b/templates/user/auth/activate.tmpl @@ -38,7 +38,7 @@ <p>{{.i18n.Tr "auth.has_unconfirmed_mail" (.SignedUser.Name|Escape) (.SignedUser.Email|Escape) | Str2html}}</p> <div class="ui divider"></div> <div class="text right"> - <button class="ui blue button">{{.i18n.Tr "auth.resend_mail"}}</button> + <button class="ui primary button">{{.i18n.Tr "auth.resend_mail"}}</button> </div> {{end}} {{end}} diff --git a/templates/user/auth/forgot_passwd.tmpl b/templates/user/auth/forgot_passwd.tmpl index 2ff7acb97d..59789ef7cb 100644 --- a/templates/user/auth/forgot_passwd.tmpl +++ b/templates/user/auth/forgot_passwd.tmpl @@ -19,7 +19,7 @@ <div class="ui divider"></div> <div class="inline field"> <label></label> - <button class="ui blue button">{{.i18n.Tr "auth.send_reset_mail"}}</button> + <button class="ui primary button">{{.i18n.Tr "auth.send_reset_mail"}}</button> </div> {{else if .IsResetDisable}} <p class="center"> diff --git a/templates/user/auth/reset_passwd.tmpl b/templates/user/auth/reset_passwd.tmpl index 927cf6f5c3..66d4ffc115 100644 --- a/templates/user/auth/reset_passwd.tmpl +++ b/templates/user/auth/reset_passwd.tmpl @@ -51,7 +51,7 @@ <div class="ui divider"></div> <div class="inline field"> <label></label> - <button class="ui blue button">{{.i18n.Tr "auth.reset_password_helper"}}</button> + <button class="ui primary button">{{.i18n.Tr "auth.reset_password_helper"}}</button> {{if and .has_two_factor (not .scratch_code)}} <a href="{{.Link}}?code={{.Code}}&scratch_code=true">{{.i18n.Tr "auth.use_scratch_code" | Str2html}}</a> {{end}} |