Comments (6)
we can stick with Menlo, i wonder if it is possible to make sure code font is 1px smaller than paragraph font, for example 14px open sans with 13px menlo
from assembly.
We shouldn't use a webfont – no need to weigh down the page for code styling. Lets find a nice fontstack that uses default monoweight fonts.
from assembly.
Our options are either:
- Stick with a Menlo stack
- Use a webfont
I can get inconsolata down to 26kb, maybe smaller. We'd need bold and regular weights. Source code pro has a license that doesn't allow it to be modified (fontsquirrel declined it when i tried to upload it).
If I'm not mistaken, fonts only get loaded if the font is on the page. I am pretty neutral about adding an extra 25-50kb to the page just for monospaced fonts, but I could be influenced either way.
from assembly.
i wonder if it is possible to make sure code font is 1px smaller than paragraph font
We can do something like that using em
units.
from assembly.
em units on .txt-mono
make sense to me.
from assembly.
done with #322
from assembly.
Related Issues (20)
- Icon for boolean
- 1.0.0 migration guide
- Switch handles are not perfect circles
- loading--dark modifier not working as expected HOT 1
- css and js CDN addresses are 404 HOT 1
- Remove `flex-grow` from `.col` HOT 1
- assembly.min.css missing `border-top-color` in `.loading--dark` HOT 1
- Add `flex-basis: 0;` to col--auto
- Create ESLint plugin for using Assembly with React HOT 1
- Consider setting color-scheme to opt-out of Chrome Auto Dark Themes HOT 1
- Dependency on specific npm Version
- Do we need to resolve custom properties? HOT 1
- Rework range input so track is easier to click HOT 5
- Make it easier to style borderless select elements HOT 3
- Remove `btn--stroked--2` and `select--stroked--2`? HOT 1
- Rework color variants in order to reduce file size HOT 1
- Implement gutter classes with CSS grid instead of using margin/padding hacks HOT 2
- Can we deprecate flex-child?
- Future of the flex-child rule? HOT 3
- Improve focus states for text inputs and textareas
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 assembly.