Make style setter create an often used base03-border class, use that class in notifications, navpanel and statuses.
This commit is contained in:
parent
5997492795
commit
6c8fc99d5a
6 changed files with 18 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue