Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Color and Style enhancements (#21784, #21799) #21868

Merged
merged 3 commits into from
Nov 20, 2022

Commits on Nov 19, 2022

  1. Simplify text color selectors and tweak arc-green colors (go-gitea#21784

    )
    
    Move the text color rules out of the unneeded `.ui` block, add missing
    colors, tweak colors on arc-green to be more readable (red was
    particulary bad to read).
    
    Also, this removes the previous inheritance of link colors. I think
    links should always be in primary color and if they are to be
    discolored, the color should be set on them explicitely.
    
    <img width="165" alt="Screenshot 2022-11-12 at 13 28 30"
    src="https://user-images.githubusercontent.com/115237/201474098-700d9fed-3133-43c7-b57e-d4cc5c2795cb.png">
    
    <img width="152" alt="Screenshot 2022-11-12 at 13 18 48"
    src="https://user-images.githubusercontent.com/115237/201474156-b6de4cb5-bce8-4553-b3d4-8365aff9a3a7.png">
    
    HTML to test with:
    
    ```html
    <div class="text red">some text with <a href="#foo">a link</a>.</div>
    <div class="text orange">some text with <a href="#foo">a link</a>.</div>
    <div class="text yellow">some text with <a href="#foo">a link</a>.</div>
    <div class="text olive">some text with <a href="#foo">a link</a>.</div>
    <div class="text green">some text with <a href="#foo">a link</a>.</div>
    <div class="text teal">some text with <a href="#foo">a link</a>.</div>
    <div class="text blue">some text with <a href="#foo">a link</a>.</div>
    <div class="text violet">some text with <a href="#foo">a link</a>.</div>
    <div class="text purple">some text with <a href="#foo">a link</a>.</div>
    <div class="text pink">some text with <a href="#foo">a link</a>.</div>
    <div class="text brown">some text with <a href="#foo">a link</a>.</div>
    <div class="text grey">some text with <a href="#foo">a link</a>.</div>
    silverwind committed Nov 19, 2022
    Configuration menu
    Copy the full SHA
    5c0de39 View commit details
    Browse the repository at this point in the history
  2. Timeline and color tweaks (go-gitea#21799)

    Followup to go-gitea#21784.
    
    - Restore muted effect on timeline author and issuelist comment icon
    - Remove whitespace inside shared user templates, fixing link hover
    underline
    - Use shared author link template more
    - Use `bold` class instead of CSS
    - Fix grey-light color being too dark on arc-green
    - Add missing black-light color
    - Fix issuelist progress bar color
    - Fix various other cases of missing `.muted`
    
    <img width="416" alt="Screenshot 2022-11-13 at 12 15 22"
    src="https://user-images.githubusercontent.com/115237/201519497-1d4725c6-bc8b-47b5-9f68-1278ac9a8c92.png">
    <img width="324" alt="Screenshot 2022-11-13 at 12 16 52"
    src="https://user-images.githubusercontent.com/115237/201519501-c0d03700-f9af-4316-ab46-482f2c7c738b.png">
    <img width="79" alt="Screenshot 2022-11-13 at 12 30 55"
    src="https://user-images.githubusercontent.com/115237/201519502-46dc2d73-bbdf-4a2e-84d3-d2976f793163.png">
    <img width="440" alt="Screenshot 2022-11-13 at 12 41 03"
    src="https://user-images.githubusercontent.com/115237/201519876-ada33948-f84a-4aeb-a40d-5c873f9a49e9.png">
    <img width="213" alt="Screenshot 2022-11-13 at 12 52 54"
    src="https://user-images.githubusercontent.com/115237/201520291-a4d7238e-aeca-46c7-9008-8b644b1b676e.png">
    <img width="208" alt="Screenshot 2022-11-13 at 12 56 16"
    src="https://user-images.githubusercontent.com/115237/201520436-aa8ba109-b959-42fb-831a-021e806c7082.png">
    
    Co-authored-by: Lauris BH <lauris@nix.lv>
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
    4 people committed Nov 19, 2022
    Configuration menu
    Copy the full SHA
    ace3015 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2022

  1. Configuration menu
    Copy the full SHA
    24413b9 View commit details
    Browse the repository at this point in the history