forked from forgejo/forgejo
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/**/* ``` (cherry picked from commit fabe01478ab449cc4870b7e2a9a1db3911bb14bd) Conflicts: templates/repo/header.tmpl prefered Forgejo file & re-ran the commands to ensure the migration is done
This commit is contained in:
parent
9968139b6b
commit
76315e0919
12 changed files with 18 additions and 17 deletions
|
@ -36,12 +36,6 @@ Gitea's private styles use `g-` prefix.
|
|||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.gt-font-light { font-weight: var(--font-weight-light) !important; }
|
||||
.gt-font-normal { font-weight: var(--font-weight-normal) !important; }
|
||||
.gt-font-medium { font-weight: var(--font-weight-medium) !important; }
|
||||
.gt-font-semibold { font-weight: var(--font-weight-semibold) !important; }
|
||||
.gt-font-bold { font-weight: var(--font-weight-bold) !important; }
|
||||
|
||||
.interact-fg { color: inherit !important; }
|
||||
.interact-fg:hover { color: var(--color-primary) !important; }
|
||||
.interact-fg:active { color: var(--color-primary-active) !important; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue