Skip to content

Commit

Permalink
Merge pull request #30 from zhuowenli/dev
Browse files Browse the repository at this point in the history
💄 优化样式
  • Loading branch information
zhuowenli authored Nov 28, 2018
2 parents c99c498 + da31aad commit 6d6f97f
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "githuber",
"version": "1.3.0",
"version": "1.4.0",
"main": "index.js",
"repository": "git@github.com:zhuowenli/githuber.git",
"author": "卓文理 <531840344@qq.com>",
Expand Down
9 changes: 6 additions & 3 deletions src/stylesheet/index.sass
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ html
overflow: hidden
-webkit-font-smoothing: antialiased

body
--borderColor: #ebeef5

*, *:before, *:after
box-sizing: border-box

Expand Down Expand Up @@ -53,7 +56,7 @@ html
border-color: var(--borderColor)


.el-select
.el-select
&:hover .el-input__inner,
.el-input.is-focus .el-input__inner,
.el-input__inner:focus
Expand All @@ -68,7 +71,7 @@ html
background-color: var(--backgroundLightest)
&--info
color: var(--fontColor)

.el-tabs__item
color: var(--fontColor)

Expand All @@ -88,7 +91,7 @@ html
border-bottom-color: var(--background)


.el-select-dropdown
.el-select-dropdown
border: 1px solid var(--borderColor)
background-color: var(--background)
.popper__arrow
Expand Down
2 changes: 1 addition & 1 deletion src/theme/black.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
export default {
'--fontColor': '#ffffff',
'--background': '#282828',
'--backgroundMedian': '#232222',
'--backgroundLighter': '#232222',
'--backgroundMedian': '#232222',
'--backgroundLightest': '#000000',
'--borderColor': '#252323',
'--shadowColor': '#191414',
Expand Down
2 changes: 1 addition & 1 deletion src/theme/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
export default {
'--fontColor': '#303133',
'--background': '#ffffff',
'--backgroundLighter': '#f1f3f4',
'--backgroundMedian': '#ebeff1',
'--backgroundLighter': '#eaeaea',
'--backgroundLightest': '#c0c4cc',
'--borderColor': '#ebeef5',
'--shadowColor': '#dddddd',
Expand Down
2 changes: 1 addition & 1 deletion src/views/components/bookmark.sass
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
display: flex
padding: 10px 0
cursor: pointer
border-bottom: 1px solid var(--borderColor)
border-bottom: 1px solid var(--backgroundLighter)
transition: all .3s ease
user-select: none
color: var(--fontColor)
Expand Down
2 changes: 1 addition & 1 deletion src/views/main.sass
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

&-content
flex: 1
background: var(--backgroundMedian)
background: var(--backgroundLighter)

// 头部
&__header
Expand Down
2 changes: 1 addition & 1 deletion static/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "GITHUBER - 开发者的新标签页",
"description": "这是一个帮助 GitHub 开发者每日发现优质内容的 Chrome 主页拓展。",
"version": "1.3.0",
"version": "1.4.0",
"icons": {
"16": "assets/icon/icon-16.png",
"48": "assets/icon/icon-48.png",
Expand Down

0 comments on commit 6d6f97f

Please sign in to comment.