antonycourtney / tad

A desktop application for viewing and analyzing tabular data
http://tadviewer.com
MIT License
3.18k stars 118 forks source link

add basic css variables for font-family and font-size #238

Closed hamilton closed 1 year ago

hamilton commented 1 year ago

It's not currently possible to change tad's styling in an application-specific way. The right way to enable applications to change basic elements of Tad's css is to thread in CSS variables, using Tad's current stylesheet values as the default. Using variables enables us to also change the implementation of Tad's styling while preserving application-specific choices.

With this in mind, this PR adds two variables to Tad: --tad-font-family and --tad-font-size.

hamilton commented 1 year ago

good catch. Made the change