bslib icon indicating copy to clipboard operation
bslib copied to clipboard

Provide tab completion for Bootstrap Sass variables

Open cpsievert opened this issue 3 years ago • 3 comments

Using ?utils::rc.options, and maybe borrow some ideas from https://github.com/jimhester/completeme

cpsievert avatar Dec 16 '20 18:12 cpsievert

Also, if completion isn't possible, we should throw an error/warning if we receive a variable name that we don't recognize.

cpsievert avatar Jan 27 '21 15:01 cpsievert

Maybe the best way to handle this is to just provide a bs4_theme() and bs3_theme() which explicitly list all the variables in their arguments (and we'd have the update script to automatically parse Sass vars and transpile into functions)

cpsievert avatar Jan 27 '21 15:01 cpsievert

(and have the function start with ...)

schloerke avatar Jan 27 '21 16:01 schloerke