mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-27 14:13:52 +03:00
Fine tune project board label colors and modal content background (#25419)
- The label text color on project board is not contrasting enough, changed to colors that are same as places that also used `useLightTextOnBackground` function ([util_render.go](2cdf260f42/modules/templates/util_render.go (L136-L141)
), [Context Popup](2cdf260f42/web_src/js/components/ContextPopup.vue (L81-L84)
)) - background of modal `content` is `#ffffff` (from fomantic) right now, which does not look good on dark mode, so changed to `var(--color-body)` Before: <img width="1378" alt="Screen Shot 2023-06-21 at 14 24 13" src="https://github.com/go-gitea/gitea/assets/17645053/1527ca28-c884-4ca9-a4be-7a72ad1a093a"> <img width="900" alt="Screen Shot 2023-06-21 at 14 25 52" src="https://github.com/go-gitea/gitea/assets/17645053/fab82116-7376-4027-a0a4-9eedf9fb0a30"> After: <img width="1383" alt="Screen Shot 2023-06-21 at 14 19 33" src="https://github.com/go-gitea/gitea/assets/17645053/fe0997e7-fee6-4522-bc4e-545088ec1cc8"> <img width="797" alt="Screen Shot 2023-06-21 at 14 32 42" src="https://github.com/go-gitea/gitea/assets/17645053/b0591af0-950c-4448-9430-34d6c7215971">
This commit is contained in:
parent
59d2189875
commit
dfd19fa38c
2 changed files with 3 additions and 2 deletions
|
@ -214,8 +214,8 @@
|
|||
--color-placeholder-text: #aaa;
|
||||
--color-editor-line-highlight: var(--color-primary-light-6);
|
||||
--color-project-board-bg: var(--color-secondary-light-4);
|
||||
--color-project-board-dark-label: #555555;
|
||||
--color-project-board-light-label: #a6aab5;
|
||||
--color-project-board-dark-label: #111111;
|
||||
--color-project-board-light-label: #eeeeee;
|
||||
--color-caret: var(--color-text-dark);
|
||||
--color-reaction-bg: #0000000a;
|
||||
--color-reaction-hover-bg: var(--color-primary-light-5);
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
.ui.modal > .content,
|
||||
.ui.modal > form > .content {
|
||||
padding: 1.5em;
|
||||
background: var(--color-body);
|
||||
}
|
||||
|
||||
.ui.modal > .actions,
|
||||
|
|
Loading…
Reference in a new issue