Make style setter create an often used base03-border class, use that class in notifications, navpanel and statuses.

This commit is contained in:
shpuld 2017-03-09 01:09:23 +02:00
parent 5997492795
commit 6c8fc99d5a
6 changed files with 18 additions and 6 deletions

View file

@ -45,6 +45,7 @@ const setStyle = (href, commit) => {
styleSheet.insertRule(`a { color: ${colors['base08']}`, 'index-max')
styleSheet.insertRule(`body { color: ${colors['base05']}`, 'index-max')
styleSheet.insertRule(`.base05-border { border-color: ${colors['base05']}`, 'index-max')
styleSheet.insertRule(`.base03-border { border-color: ${colors['base03']}`, 'index-max')
body.style.display = 'initial'
}
cssEl.addEventListener('load', setDynamic)