Skip to content

Link colors flash on page load in opposing color scheme #8

@thewildmage

Description

@thewildmage
  1. Change the theme to the opposite of your system setting
  2. Scroll such that the inline bewilderum links are in view
  3. Refresh page
  4. Notice that the color of the link text "flashes"

What's actually happening here is that transition applies on page load. The color of the text is transitioning from the default scheme to the override, along the timing specified by transition. If we remove the transition or limit it to background-size, then the link's hover/focus effect gets choppy.

Note that this probably applies to the page more broadly than just the link text for folks viewing the site on a slow connection or with a slow processor. The whole page has to swap themes away from the default, it just happens too quickly to notice when things are snappy and cached.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions