Last update: Sat, Feb 11, 2017 at 11:04 PM.
Macros in CSS
- I'm ready to define my first macro, and start building a way to specifiy them.
- The macro is <%textFont%>. I set the default to Georgia.
- It will be used in places where written text is being viewed.
- For example, the text you're reading right now.
- In our internal parlance, this is a directoryComment.
- It's in a serif font, which is good for reading.
- There will be a Prefs page where you can enter a different value for the font.
- Next one: <%textFontSize%>. I set the default to 16px.
- Finally: <%textLineHeight%>, default 20px.