- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Custom CSS is not reflected when dark mode is selected for some mermaid configurations. #3665
Comments
Added markdown code. |
@squidfunk that definitely looks like the same issue! Flowchart clusters labels. |
Released as part of 8.2.5. |
I made an update, but it didn't improve. $ pip show mkdocs-material | grep -E ^Version |
@btbf are you trying to apply custom styling to Mermaid diagrams through that |
Yes, |
I mean, what's in your |
http://49.12.225.142:8000/stylesheets/extra.css
Is this not good enough? |
I'm no expert but I believe it should be |
I fixed it, but it didn't change. |
Have a look at #3618 and #3657 |
This phenomenon occurs when you specify the following in mkdocs.yml.
In the following cases, css is applied normally, But js doesn't apply until refresh browser.
|
This issue is not yet closed |
You cannot apply custom styles via If you fork the theme, you can add adjust the styles in this file, but you will need to rebuild/compile the theme. |
Contribution guidelines
I've found a bug and checked that ...
mkdocs
orreadthedocs
themescustom_dir
,extra_javascript
andextra_css
Description
I am using
flowchart BT
on mermaid and the CSS is not reflected when I set it to dark mode.In the case of graph LR, it switches.
Expected behaviour
I want to apply the style specified in extra.css.
Actual behaviour
Steps to reproduce
N/A
Package versions
python --version
Python 3.8
mkdocs --version
mkdocs, version 1.2.3
pip show mkdocs-material | grep -E ^Version
Version: 8.2.4+insiders.4.10.1
Configuration
System information
The text was updated successfully, but these errors were encountered: