Comments (5)
Awesome find! Indeed, I was testing it the wrong way. Would it be possible to apply these changes only to the sidebar? This way we donβt have to concern about other fonts.
from ex_doc.
Ah, thanks for confirming.
Yes, as mentioned, we can limit the application of the alternative anti-aliasing method to the sidebar. This comes with the disadvantage of the main content continuing to be inconsistent across OSes, and so I recommend we only take this approach if you don't like the lighter rendering of Merriweather for the main text.
I appreciate we're most concerned with Lato at small sizes in light on dark, which is mostly/all(?) the sidebar, but, nonetheless, it seems like a good opportunity to get everything as consistent as possible. But if you confirm the light rendering of Merriweather in Mac OS as in the last screenshot above is not desired, I'll proceed and limit to the sidebar.
from ex_doc.
Can you please send a PR? I am unable to make these configurations have an effect and I think I am missing something up.
I am also happy to change the font if we think it is too thin and there isn't an increased weight. :)
from ex_doc.
Is that a PR to apply the alternative anti-aliasing to everything, so that you can test the effect? I'm happy to do that, perhaps in a couple of stages so that you can test the main effect before I tweak details here and there or scale back to just the sidebar if necessary.
Edit: now I read your last sentence again I think that is what you meant - sorry. But if you could confirm/clarify so that we're definitely on the same page, that would be great.
Hopefully we can keep the same fonts and character as at present. :)
from ex_doc.
A basic PR you used to validate and generate the screenshots is perfect.
from ex_doc.
Related Issues (20)
- v0.29.3 not in master branch HOT 1
- Load `dist/html-3CAFJ3W7.js` script as deferred? HOT 4
- ** (FunctionClauseError) no function clause matching in ExDoc.Utils.source_url_pattern/3 HOT 3
- No formatting inside of details elements HOT 2
- ExDocs prints errors on case insensitive filesystems in some cases HOT 4
- on-hover anchor's are overlapped by admonition block icons HOT 2
- H3 Heading renders as black for admonition block title
- Proposal: Custom markdown interpolation HOT 28
- Improve named typespec HOT 2
- Compilation warnings from `makeup_html` and `makeup_erlang` HOT 8
- Code within admonition block is hard to read in dark mode HOT 1
- Error generating docs for Elixir 1.15.2 HOT 4
- Elixir ExDocs Search index too big for SessionStorage HOT 5
- Error on Elixir 1.15.2/Erlang 26.0.2 Umbrella HOT 6
- scroll to top on iOS
- Regression in headers on small screens HOT 4
- Proposal: --warnings-as-errors HOT 2
- ** (MatchError) no match of right hand side value: {:error, {:earmark, {'no such file or directory', 'earmark.app'}}} HOT 1
- Using `filter_modules` doesn't produce warning referencing `hidden or private` docs HOT 6
- Building docs for Erlang fails since v0.30.0 HOT 1
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 ex_doc.