style: perf

This commit is contained in:
元凛
2022-02-10 14:24:22 +08:00
parent 92b9e397a9
commit 2b4519585f
4 changed files with 27 additions and 23 deletions

View File

@@ -24,8 +24,6 @@
- Remove title body default
- `month-statistics` is removed, can use [issues-month-statistics](https://github.com/actions-cool/issues-month-statistics)
<!-- V3 -->
## v2.5.0
`2021.10.19`

1
dist/index.js vendored
View File

@@ -15673,7 +15673,6 @@ class IssueCoreEngine {
repo,
issue_number: issueNumber,
});
console.log(issue);
return issue.data;
});
}

View File

@@ -136,7 +136,6 @@ export class IssueCoreEngine implements IIssueCoreEngine {
repo,
issue_number: issueNumber,
});
console.log(issue)
return issue.data as unknown as TIssueInfo;
}

View File

@@ -8,10 +8,10 @@ html {
.__dumi-default-code-block {
background-color: rgba(0, 0, 0, 0.04) !important;
border-radius: 4px;
box-shadow: inset 0 0 10px 2px rgba(0,0,0,.2);
box-shadow: inset 0 0 10px 2px rgba(0, 0, 0, .2);
[data-prefers-color=dark] & {
box-shadow: inset 0 0 10px 2px rgba(0,0,0,.8);
box-shadow: inset 0 0 10px 2px rgba(0, 0, 0, .8);
}
}
@@ -31,7 +31,7 @@ html {
button {
margin-right: 0 !important;
background: linear-gradient(45deg,#72a2de 30%,#5db8c7 90%) !important;
background: linear-gradient(45deg, #72a2de 30%, #5db8c7 90%) !important;
border: none !important;
border-radius: 8px !important;
text-align: center;
@@ -44,11 +44,9 @@ html {
z-index: -1;
display: inline-block;
height: 10px;
background: radial-gradient(
ellipse at center,
rgba(0, 0, 0, 0.35) 0%,
rgba(0, 0, 0, 0) 80%
);
background: radial-gradient(ellipse at center,
rgba(0, 0, 0, 0.35) 0%,
rgba(0, 0, 0, 0) 80%);
opacity: 0;
transition-duration: 0.3s;
transition-property: transform, opacity;
@@ -57,6 +55,7 @@ html {
&:hover {
transform: translateY(-5px);
&::before {
transform: translateY(5px);
opacity: 1;
@@ -74,13 +73,15 @@ html {
}
.__dumi-default-locale-select {
background: linear-gradient(45deg,#72a2de 30%,#5db8c7 90%) !important;
background: linear-gradient(45deg, #72a2de 30%, #5db8c7 90%) !important;
border-radius: 2px !important;
border: none !important;
a {
color: #fff !important;
letter-spacing: 0.6px;
}
&::before {
position: absolute;
top: 0;
@@ -90,26 +91,33 @@ html {
display: inline-block;
width: 0;
height: 0;
background: linear-gradient(
225deg,
white 45%,
#aaa 50%,
#ccc 56%,
white 80%
);
background: linear-gradient(225deg,
white 45%,
#aaa 50%,
#ccc 56%,
white 80%);
box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.4);
opacity: 1;
transition-duration: 0.3s;
transition-property: width, height;
content: '';
[data-prefers-color=dark] & {
background: linear-gradient(225deg,
#141414 45%,
#aaa 50%,
#ccc 56%,
white 80%);
}
}
&:hover::before {
width: 14px;
height: 14px;
}
}
.__dumi-default-menu + .__dumi-default-layout-content {
.__dumi-default-menu+.__dumi-default-layout-content {
tbody tr:hover {
background: #fafafa;
@@ -120,7 +128,7 @@ html {
}
.__dumi-default-alert {
box-shadow: 0 6px 16px 2px rgba(0,0,0,.06) !important;
box-shadow: 0 6px 16px 2px rgba(0, 0, 0, .06) !important;
border-radius: 2px !important;
border: 1px solid #0000000f;
}
@@ -144,5 +152,5 @@ code {
color: #ff7875 !important;
background: rgba(0, 0, 0, 0.06) !important;
box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.1);
border: 1px solid rgba(0,0,0,0.1);
border: 1px solid rgba(0, 0, 0, 0.1);
}