digama0 / mm0

Metamath Zero specification language
Creative Commons Zero v1.0 Universal
307 stars 40 forks source link

annotate binders, light doc styling #65

Closed ammkrn closed 3 years ago

ammkrn commented 3 years ago
digama0 commented 3 years ago

Thanks. I added the dark style as well. I removed the :link selectors because I found it confusing that "wff" was red and "nat" was orange until I realized that I had clicked on one and not the other. The colors can be better put to use tracking semantic info.

ammkrn commented 3 years ago

I removed the :link selectors because I found it confusing that "wff" was red and "nat" was orange until I realized that I had clicked on one and not the other.

I just noticed it, but another minor tweak (actually I think this is what caused the thing you saw too) that needs to be made is that declarations rendered by thm_doc for subpages don't differentiate between the kinds of term/theorem, so the sub-pages for axioms show axioms with the "thm" class.

digama0 commented 3 years ago

that's true, probably also in conv proof steps it needs to use def (actually it should always be def)