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/explore | |
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/explore')
-rw-r--r-- | templates/explore/code.tmpl | 2 | ||||
-rw-r--r-- | templates/explore/repo_search.tmpl | 2 | ||||
-rw-r--r-- | templates/explore/search.tmpl | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/templates/explore/code.tmpl b/templates/explore/code.tmpl index e1056ab312..2801cdfaf0 100644 --- a/templates/explore/code.tmpl +++ b/templates/explore/code.tmpl @@ -14,7 +14,7 @@ <div class="item" data-value="match">{{.i18n.Tr "explore.search.match"}}</div> </div> </div> - <button class="ui blue button"{{if .CodeIndexerUnavailable }} disabled{{end}}>{{.i18n.Tr "explore.search"}}</button> + <button class="ui primary button"{{if .CodeIndexerUnavailable }} disabled{{end}}>{{.i18n.Tr "explore.search"}}</button> </div> </form> <div class="ui divider"></div> diff --git a/templates/explore/repo_search.tmpl b/templates/explore/repo_search.tmpl index bc4572dfcd..3d45305df3 100644 --- a/templates/explore/repo_search.tmpl +++ b/templates/explore/repo_search.tmpl @@ -27,7 +27,7 @@ <input type="hidden" name="language" value="{{$.Language}}"> <div class="ui fluid action input"> <input name="q" value="{{.Keyword}}" placeholder="{{.i18n.Tr "explore.search"}}..." autofocus> - <button class="ui blue button">{{.i18n.Tr "explore.search"}}</button> + <button class="ui primary button">{{.i18n.Tr "explore.search"}}</button> </div> </form> <div class="ui divider"></div> diff --git a/templates/explore/search.tmpl b/templates/explore/search.tmpl index 245cc9f345..2c1687f60e 100644 --- a/templates/explore/search.tmpl +++ b/templates/explore/search.tmpl @@ -19,7 +19,7 @@ <input type="hidden" name="tab" value="{{$.TabName}}"> <div class="ui fluid action input"> <input name="q" value="{{.Keyword}}" placeholder="{{.i18n.Tr "explore.search"}}..." autofocus> - <button class="ui blue button">{{.i18n.Tr "explore.search"}}</button> + <button class="ui primary button">{{.i18n.Tr "explore.search"}}</button> </div> </form> <div class="ui divider"></div> |