Skip to content

content: Inline code links should be rendered with the link color #806

Open
@PIG208

Description

@PIG208

We should fix inline code's color when it is a part of a link.

web (expected) flutter
Screenshot from 2024-07-11 21-33-29 1000013523

Since a recent change (299c76be7), inline code links no longer have the ambient color and is always black. We want to fix this to match the behavior of the web app.

For reference, the web app defines a separate CSS variable --color-markdown-code-link

    --color-markdown-link: hsl(200deg 100% 40%);
    --color-markdown-code-link: var(--color-markdown-link);

that applies to inline code that appears inside a link:

    & a {
        color: var(--color-markdown-link);
        text-decoration: none;

        & code {
            color: var(--color-markdown-code-link);
        }

Metadata

Metadata

Assignees

No one assigned

    Labels

    a-contentParsing and rendering Zulip HTML content, notably message contents

    Type

    No type

    Projects

    • Status

      No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions