Comments (5)
Ok, I see font-family
isn't specified at all as for now.
from csstree.
Ok, reopening because I think it is worth describing constants like monospace
, serif
, sans-serif
and system
along with some prefixed ones like -apple-system
. What do you think?
from csstree.
@andreypopp You are talking about <generic-family>
. All keywords except system
are defined, see font-family
syntax.
I'm not sure about adding -apple-system
(unprefixed version nobody supports so we shouldn't add it for sure). But current syntax allows using -apple-system
w/o additions.
from csstree.
I'm interested in having as much information about types of values as possible. Even if -apple-system
is allows it won't show up as a suggestion if we don't describe it, for example.
Feel free to close the issue. I can fix that on my side with a set of patches if needed.
from csstree.
Thanks!
from csstree.
Related Issues (20)
- Mix no longer deep copies for node values
- Keep Spaces/Comments/Layout HOT 5
- Missing token name `comment`
- Built-in type definitions / JSDoc HOT 2
- The `speak` property definition is different from the W3 standard. HOT 2
- `oklch()` support HOT 6
- csstree.lexer.matchProperty doesn't give an error on "filter" property with "blur(4px)empx"
- `font-weight` descriptor in `@font-face` doesn't allow two values HOT 2
- Support hask mark next to curly braces in CSS grammar
- Migrate to `@webref/css` for syntax data HOT 3
- Parsing invalid input with specified base location doesn't work properly HOT 1
- Customizable tokenizer in the fork API
- SyntaxError: ")" is expected HOT 2
- consider dropping some builds
- @import rule with supports() and/or layer() parsed as Raw HOT 3
- Do you have plans to replace mdn-data with other packages? HOT 2
- Imported Object.prototype conflict with csstree module! HOT 1
- Value Definition Syntax parser fails on "<an+b>" HOT 2
- Throws if the value of :lang() pseudo-class is quoted
- Nested attribute selector without & is parsed as raw
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 csstree.