1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-16 07:04:25 +00:00
gitea/web_src/css/modules
HesterG dfd19fa38c
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">
2023-06-21 18:15:51 +08:00
..
animations.css Fix loading state regression in markup content (#25349) 2023-06-19 08:00:18 +00:00
breadcrumb.css Remove fomantic breadcrumb module (#24463) 2023-05-01 11:40:02 -04:00
button.css Fix dropdown icon layout on diff page (#25397) 2023-06-20 23:22:48 +00:00
card.css Change --font-weight-bold to --font-weight-semibold and 600 value, introduce new font weight variables (#24827) 2023-05-21 23:37:32 +00:00
comment.css Consolidate the two review boxes into one (#24738) 2023-05-29 12:44:03 +02:00
modal.css Fine tune project board label colors and modal content background (#25419) 2023-06-21 18:15:51 +08:00
navbar.css Navbar styling rework (#25343) 2023-06-20 20:35:25 +00:00
normalize.css add stylelint-stylistic (#25285) 2023-06-17 13:20:32 +00:00
select.css add stylelint-stylistic (#25285) 2023-06-17 13:20:32 +00:00
tippy.css Change form actions to fetch for submit review box (#25219) 2023-06-14 16:01:37 +08:00