mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-31 06:34:00 +00:00
chore(ui): cleanup unused color CSS (#7898)
Careful removal of unused classes and rules from editable CSS. One class was used once in the UI and could have been easily replaced, others were only used in a devtest page. Removed completely: * pink * olive * violet * background Removed partially: * blue Some of them are also present in generated Fomantic code, but it's not possible to remove them easily here. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7898 Reviewed-by: Otto <otto@codeberg.org> Co-authored-by: 0ko <0ko@noreply.codeberg.org> Co-committed-by: 0ko <0ko@noreply.codeberg.org>
This commit is contained in:
parent
b6dcae9b50
commit
75258cfa2a
5 changed files with 1 additions and 230 deletions
|
@ -676,10 +676,6 @@ img.ui.avatar,
|
|||
color: var(--color-yellow) !important;
|
||||
}
|
||||
|
||||
.text.olive {
|
||||
color: var(--color-olive) !important;
|
||||
}
|
||||
|
||||
.text.green {
|
||||
color: var(--color-green) !important;
|
||||
}
|
||||
|
@ -692,18 +688,10 @@ img.ui.avatar,
|
|||
color: var(--color-blue) !important;
|
||||
}
|
||||
|
||||
.text.violet {
|
||||
color: var(--color-violet) !important;
|
||||
}
|
||||
|
||||
.text.purple {
|
||||
color: var(--color-purple) !important;
|
||||
}
|
||||
|
||||
.text.pink {
|
||||
color: var(--color-pink) !important;
|
||||
}
|
||||
|
||||
.text.brown {
|
||||
color: var(--color-brown) !important;
|
||||
}
|
||||
|
@ -853,46 +841,6 @@ img.ui.avatar,
|
|||
font-weight: var(--font-weight-normal);
|
||||
}
|
||||
|
||||
.ui .background.red {
|
||||
background-color: var(--color-red) !important;
|
||||
}
|
||||
|
||||
.ui .background.blue {
|
||||
background-color: var(--color-blue) !important;
|
||||
}
|
||||
|
||||
.ui .background.black {
|
||||
background-color: var(--color-black) !important;
|
||||
}
|
||||
|
||||
.ui .background.grey {
|
||||
background-color: var(--color-grey) !important;
|
||||
}
|
||||
|
||||
.ui .background.light.grey {
|
||||
background-color: var(--color-grey) !important;
|
||||
}
|
||||
|
||||
.ui .background.green {
|
||||
background-color: var(--color-green) !important;
|
||||
}
|
||||
|
||||
.ui .background.purple {
|
||||
background-color: var(--color-purple) !important;
|
||||
}
|
||||
|
||||
.ui .background.yellow {
|
||||
background-color: var(--color-yellow) !important;
|
||||
}
|
||||
|
||||
.ui .background.orange {
|
||||
background-color: var(--color-orange) !important;
|
||||
}
|
||||
|
||||
.ui .background.gold {
|
||||
background-color: var(--color-gold) !important;
|
||||
}
|
||||
|
||||
.ui .migrate {
|
||||
color: var(--color-text-light-2) !important;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue