diff options
author | silverwind <me@silverwind.io> | 2024-03-23 19:45:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-23 18:45:11 +0000 |
commit | fabe01478ab449cc4870b7e2a9a1db3911bb14bd (patch) | |
tree | a826847497e29b312326746bcbcb493fce9d5413 /templates/repo/sub_menu.tmpl | |
parent | d9e33959b38d1463f69f6f8807bc50095cf6dbdb (diff) | |
download | gitea-fabe01478ab449cc4870b7e2a9a1db3911bb14bd.tar.gz gitea-fabe01478ab449cc4870b7e2a9a1db3911bb14bd.zip |
Migrate font-weight helpers to tailwind (#30027)
Commands ran:
```sh
perl -p -i -e 's#gt-font-light#tw-font-light#g' web_src/js/**/* templates/**/*
perl -p -i -e 's#gt-font-normal#tw-font-normal#g' web_src/js/**/* templates/**/*
perl -p -i -e 's#gt-font-medium#tw-font-medium#g' web_src/js/**/* templates/**/*
perl -p -i -e 's#gt-font-semibold#tw-font-semibold#g' web_src/js/**/* templates/**/*
perl -p -i -e 's#gt-font-bold#tw-font-bold#g' web_src/js/**/* templates/**/*
```
Diffstat (limited to 'templates/repo/sub_menu.tmpl')
-rw-r--r-- | templates/repo/sub_menu.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/sub_menu.tmpl b/templates/repo/sub_menu.tmpl index 8edb0c1516..654a65fa5c 100644 --- a/templates/repo/sub_menu.tmpl +++ b/templates/repo/sub_menu.tmpl @@ -25,7 +25,7 @@ {{range .LanguageStats}} <div class="item"> <i class="color-icon" style="background-color: {{.Color}}"></i> - <span class="gt-font-semibold"> + <span class="tw-font-semibold"> {{if eq .Language "other"}} {{ctx.Locale.Tr "repo.language_other"}} {{else}} |