Skip to content

[style] Add animated text glow on hover to settings menu items #11

Description

@NextDev65

Implement an animated text glow effect when hovering over the labels in the settings menu, in the style of Material Design 3 (MD3).

The effect should be applied to the .toggle-label and use text-shadow for the glow.

The animation should be enabled or disabled based on the user's animation settings.

Sample CSS:

.toggle-label:hover {
    color: #fff;
    text-shadow:
    0 0 7px #fff,
        0 0 10px #fff,
            0 0 21px #fff,
                0 0 42px #0fa,
                    0 0 82px #0fa,
                        0 0 92px #0fa,
                            0 0 102px #0fa,
                                0 0 151px #0fa;
   text-shadow: rgba(255,162,0,1) 0px 0px 10px;
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions