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

Need scheme:default to change link color #4594

Closed
5 tasks done
leonardehrenfried opened this issue Nov 4, 2022 · 2 comments
Closed
5 tasks done

Need scheme:default to change link color #4594

leonardehrenfried opened this issue Nov 4, 2022 · 2 comments
Labels
bug Issue reports a bug resolved Issue is resolved, yet unreleased if open

Comments

@leonardehrenfried
Copy link

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

In order to override the primary color with

theme:
    palette:
        primary: blue

you also need the following:

        scheme: default

even though it should already be set by default.

Expected behaviour

I expected the link colour to be set to blue.

Actual behaviour

The link colour remains at indigo.

Steps to reproduce

  1. Set primary colour
  2. Don't set a theme
  3. See that link colour doesn't match primary colour.

Package versions

  • Python: 3.10.7
  • MkDocs: mkdocs 1.4.2
  • Material: 8.5.8

Configuration

theme:
    name: material
    features:
        - navigation.tabs
        - toc.integrate
    palette:
        primary: blue
        accent: blue

System information

  • Operating system: Fedora Linux
  • Browser: Firefox
@squidfunk squidfunk added the bug Issue reports a bug label Nov 4, 2022
@squidfunk
Copy link
Owner

Fixed in 074a0c8.

@squidfunk squidfunk added the resolved Issue is resolved, yet unreleased if open label Nov 8, 2022
@squidfunk
Copy link
Owner

Released as part of 8.5.9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue reports a bug resolved Issue is resolved, yet unreleased if open
Projects
None yet
Development

No branches or pull requests

2 participants