tooltips for board themes

This commit is contained in:
Niklas Fiekas 2020-01-05 14:27:01 +01:00
parent 385f997ded
commit ea5df863b1

View file

@ -59,6 +59,7 @@ export function view(ctrl: ThemeCtrl): VNode {
function themeView(current: Theme, set: (t: Theme) => void) {
return (t: Theme) => h('a', {
hook: bind('click', () => set(t)),
attrs: { title: t },
class: { active: current === t }
}, [
h('span.' + t)