Skip to content

Commit

Permalink
🔖 v2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Achuan-2 committed Apr 10, 2024
1 parent d83f79d commit 4ea554f
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## v2.0.1 / 2024.04.10

- 💄 引述块样式调整
- 💄 集市左侧栏调低
- 💄 集市左侧栏调低,已下载tab优化

## v2.0.0 / 2024.03.08

Expand Down
16 changes: 14 additions & 2 deletions theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -1126,6 +1126,18 @@ body
}

/* 集市样式调整 */
.config-bazaar__readme .item__img {
margin: 150px auto 28px;
#configBazaarReadme .item__side {
padding: 16px;
justify-content: center;
}

.config-bazaar__panel[data-type=downloaded] .config-bazaar__content {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
gap: 20px;
margin: 10px 20px 20px;
width: auto;
}
.config-bazaar__panel[data-type=downloaded] .b3-card {
margin: 5px;
}
12 changes: 9 additions & 3 deletions theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,16 @@ window.theme.updateStyle = function (id, href) {

function create_theme_button() {
// light 主题下更新样式:为了新建窗口也能自动加载样式
const drag = document.getElementById('barMode'); // 标题栏
let drag;
console.log(window.theme.clientMode);
if (window.theme.clientMode == 'mobile') {
drag = document.getElementsByClassName('.toolbar--border'); // 标题栏
} else {

drag = document.getElementById('barMode'); // 标题栏
}
const themeStyle = document.getElementById('themeStyle'); // 当前主题引用路径

if (themeStyle) {
const THEME_ROOT = new URL(themeStyle.href).pathname.replace('theme.css', ''); // 当前主题根目录
const colors_href = [];
Expand Down Expand Up @@ -768,8 +776,6 @@ window.destroyTheme = () => {
};

(async () => {
/*创建日历按钮 */
// initcalendar();
//各种列表转xx
ClickMonitor();
/*创建主题按钮 */
Expand Down

0 comments on commit 4ea554f

Please sign in to comment.