8000 Buttons are invisible if primary color is white or black · Issue #4571 · squidfunk/mkdocs-material · GitHub
[go: up one dir, main page]

Skip to content

Buttons are invisible if primary color is white or black #4571

@tamasgt

Description

@tamasgt

Contribution guidelines

I've found a bug and checked that ...

  • ... the problem doesn't occur with the mkdocs or readthedocs themes
  • ... the problem persists when all overrides are removed, i.e. custom_dir, extra_javascript and extra_css
  • ... the documentation does not mention anything about my problem
  • ... there are no open or closed issues that are related to my problem

Description

Button is wrong if the palette is white.

Expected behaviour

For example, if it is red.

2022-10-31_00-53-07.mp4

Actual behaviour

2022-10-31_00-54-20.mp4

Cookie

2022-10-31_00-58-46.mp4

Steps to reproduce

Just add buttons:

[Subscribe to our newsletter](#){ .md-button }

[Subscribe to our newsletter](#){ .md-button .md-button--primary }

Package versions

mkdocs: 1.4.1
mkdocs-material: 8.5.7+insiders.4.26.1

Configuration

theme:
  name: material
  palette:
    scheme: default
    primary: white

System information

  • Operating system: Windows 10
  • Browser: Chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue reports a bugresolvedIssue is resolved, yet unreleased if open

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0