Skip to content

Commit

Permalink
Merge pull request #71 from Tencent/develop
Browse files Browse the repository at this point in the history
替换Card组件
  • Loading branch information
xucz authored May 4, 2022
2 parents 06ed5ae + 0431afd commit abb9796
Show file tree
Hide file tree
Showing 33 changed files with 316 additions and 284 deletions.
4 changes: 4 additions & 0 deletions .github/configs/typos_config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
files.extend-exclude = [
"package-lock.json",
"src/configs/color.ts"
]
14 changes: 14 additions & 0 deletions .github/workflows/pr-spelling.temp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# force copy from tencent/tdesign
name: pr-spell-check
on: [pull_request]

jobs:
run:
name: Spell Check with Typos
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Check spelling
uses: crate-ci/typos@master
with:
config: .github/configs/typos_config.toml
193 changes: 171 additions & 22 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
"@types/echarts": "^4.9.13",
"@types/lodash": "^4.14.178",
"@types/mockjs": "^1.0.6",
"@types/node": "^17.0.23",
"@types/node": "^17.0.31",
"@types/qrcode.react": "^1.0.2",
"@types/react": "^17.0.38",
"@types/react-dom": "^17.0.11",
"@types/react-router-dom": "^5.3.3",
"@vitejs/plugin-react": "^1.2.0",
"@vitejs/plugin-react": "^1.3.2",
"eslint": "^8.3.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.4.0",
Expand Down Expand Up @@ -57,7 +57,7 @@
"react-redux": "^7.2.4",
"react-router-dom": "^6.3.0",
"tdesign-icons-react": "0.0.9",
"tdesign-react": "^0.30.1",
"tdesign-react": "^0.32.2",
"tvision-color": "^1.3.1"
},
"browserslist": {
Expand Down
13 changes: 5 additions & 8 deletions src/components/Board/index.module.less
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
.panel {
height: 160px
}

.boardPanelDark {
background: var(--td-brand-color)!important;
.boardTitle, .boardItemLeft, .boardItemDesc, .trendColorUp, .trendColorDown, .boardItemBottom {
Expand All @@ -12,7 +8,11 @@
}
}

.boardTitle {}
.boardTitle{
line-height: 22px;
font-size: 14px;
color: var(--td-text-color-secondary);
}

.boardItem {
display: flex;
Expand All @@ -27,9 +27,6 @@
line-height: 44px;
}

.boardItemRight {
}

.boardItemBottom {
display: flex;
justify-content: space-between;
Expand Down
Loading

0 comments on commit abb9796

Please sign in to comment.