mirror of
https://github.com/MeiK2333/github-style.git
synced 2025-10-07 01:54:06 +00:00
修改org系列图标为弹性布局,修复对齐问题
This commit is contained in:
@@ -4,13 +4,13 @@ function switchTheme() {
|
||||
|
||||
if (currentStyle == 'light') {
|
||||
setTheme('dark');
|
||||
iconElement.removeAttribute('fill');
|
||||
iconElement.setAttribute('class', 'octicon Header-link');
|
||||
iconElement.setAttribute('class', 'octicon');
|
||||
iconElement.setAttribute('color', '#f0f6fc');
|
||||
}
|
||||
else {
|
||||
setTheme('light');
|
||||
iconElement.setAttribute('fill', '#24292e');
|
||||
iconElement.setAttribute('class', 'Header-link');
|
||||
iconElement.removeAttribute('color');
|
||||
iconElement.removeAttribute('class');
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user