Comments (7)
Hopefully this gets merged asap and people update their shit, this shit makes everything blurry and painful to read
Please mind your language.
I will not mind my language when people fuck up things and refuse to admit they have fucked up things
from mkdocs.
@ryuukk Blocked.
from mkdocs.
I found the cause, i submitted a PR squidfunk/mkdocs-material#6916
Hopefully this gets merged asap and people update their shit, this shit makes everything blurry and painful to read
from mkdocs.
Hopefully this gets merged asap and people update their shit, this shit makes everything blurry and painful to read
Please mind your language.
from mkdocs.
@ryuukk Thanks for pointing me towards the *-font-smoothing
options. I definitely agree with you - if a user has configured their preference for font rendering, what business do individual websites have overriding that preference and standing out like a sore thumb against the entire system?
I am in the opposite camp (grayscale forever!), and I'm guessing probably my browser doesn't support this setting, because I instantly snipe the christmasy-lit-up looking letters when subpixel rendering somehow sneaks into my system, but I've never observed it in Firefox.
And of course for this case, I don't notice if MkDocs themes set it to grayscale because that's what I already have. But I will always support removing any such overrides whenever possible :)
So yes, it is sad that the most used theme for MkDocs - "material" - now considers it a fundamental change to un-mess with the fonts.
As for MkDocs' built-in themes:
-
The "mkdocs" theme never has any mentions of "font-smoothing".
-
The "readthedocs" theme unfortunately inherits some instances of "font-smoothing". But weirdly, of any noticeable things, it is applied only to admonitions from what I observed, and otherwise it's applied only to tiny controls.
So the original claim from the issue "Mkdocs (any mkdocs theme)" by @stojan97 is either wrong or simply a different claim than @ryuukk 's
Even more weirdly, @stojan97 links to Docusaurus as a "good" opposite example, but their website sets the exact same CSS as mkdocs-material! - -webkit-font-smoothing:antialiased
- so this claim makes even less sense then.
But hopefully we can at least agree that MkDocs shouldn't start messing with font rendering in all themes.
from mkdocs.
@ryuukk whether you're right or wrong, that is not a way to speak to anyone. I invite you to read the code of conduct followed by MkDocs. Please try to maintain a respectful and constructive attitude when interacting with other people within the MkDocs community.
from mkdocs.
@stojan97 - Thanks for the report.
I don't think we'll treat this as an issue unless someone's invested enough to proactively deal with a pull request.
from mkdocs.
Related Issues (20)
- Organizing chapters on toolbar using mkdocs
- Anchor validation false positives after upgrading to 1.6
- Uncaught DOMException: Element.querySelectorAll: '> .dropdown-submenu > a' is not a valid selector HOT 5
- Substring search does not work
- Improve performance and authoring experience of `mkdocs serve` HOT 14
- Emit INFO instead of WARNING for Deprecated options HOT 5
- Break search plugin out into separate package HOT 8
- Empty mkdocs_theme.yml breaks build
- Generate nav with links to headers HOT 1
- ModuleNotFoundError: No module named 'mkdocs.tests' HOT 1
- FR: Anchor validation warning should remind the user it's case sensitive, especially if there are case-insensitive matches. HOT 3
- Anchor validation and special characters. HOT 2
- How to specify the port in MkDocs HOT 1
- AttributeError: 'EntryPoints' object has no attribute 'get' in xarray.backends HOT 1
- Should the markdown renderer treat a single line break as <br>? HOT 2
- Feature Request: Extend the `on_page_context` event with the reference to the Jinja2 Environment HOT 1
- Mkdocs no longer respecting set display text for same .md files. HOT 3
- Cannot get mkdocs to recognize the caseinsensitive plugin HOT 1
- Table display “flickers” when refreshing the page HOT 2
- sourcing an external js library with in mkdocs HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mkdocs.