chore: 更新 logo 及链接为新的配色 (#2812)

This commit is contained in:
吴多益 2021-11-01 13:06:31 +08:00 committed by GitHub
parent f32d1ad08b
commit 859a4a78dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 24 additions and 24 deletions

View File

@ -3,7 +3,7 @@
<title>编组</title>
<desc>Created with Sketch.</desc>
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="编组" fill="#108CEE" fill-rule="nonzero">
<g id="编组" fill="#2468f2" fill-rule="nonzero">
<g id="amis">
<g id="am">
<path d="M38.3,3.31 C40.36,2.23 42.51,0.84 44.93,0.97 C47.92,1.48 50.46,3.26 53.06,4.7 C41.63,11.56 29.89,17.91 18.6,25.01 C21.36,26.73 24.15,28.39 26.96,30.02 C38.64,23.32 50.15,16.35 61.93,9.83 C67.69,13.15 84.64,23.27 87.11,25.33 C72.73,33.41 58.58,41.91 44.19,49.99 C41.54,48.35 38.88,46.7 36.26,45 C47.03,38.04 58.56,32.33 69.44,25.58 C69.44,25.29 69.42,24.7 69.41,24.41 C67.13,22.58 64.48,21.28 61.96,19.83 C50.19,26.34 38.67,33.28 27,39.96 C21.29,36.8 15.77,33.29 9.83,30.56 C9.72,33.73 9.65,36.9 9.6,40.06 C17.95,44.84 26.28,49.63 34.63,54.41 C37.77,56.15 40.7,58.35 44.1,59.59 C45.71,59.26 47.17,58.45 48.6,57.67 C61.59,50.02 74.75,42.65 87.79,35.08 C87.68,42.41 87.66,49.73 87.78,57.05 C87.71,59.65 87.91,62.39 86.91,64.86 C85.74,66.42 83.99,67.39 82.36,68.4 C71.96,74.32 61.51,80.15 51.24,86.28 C49.24,87.39 47.21,88.59 44.92,88.99 C42.51,89.14 40.35,87.78 38.29,86.71 C27.78,80.5 17.17,74.46 6.53,68.46 C4.75,67.32 2.69,66.31 1.59,64.42 C0.73,61.38 1.05,58.18 1,55.06 C15.34,63.52 29.81,71.75 44.16,80.18 C56.02,73.73 67.55,66.7 79.29,60.03 C79.25,56.7 79.21,53.38 79.16,50.05 C67.54,56.71 55.96,63.44 44.24,69.93 C29.87,61.58 15.39,53.41 1.01,45.07 C1.02,40.02 0.76,34.97 0.99,29.93 C1.18,27.86 1.15,25.36 2.98,23.98 C5.99,21.49 9.58,19.88 12.93,17.92 C21.4,13.08 29.9,8.27 38.3,3.31 Z" id="路径"></path>

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 9.7 KiB

View File

@ -290,13 +290,13 @@ body {
&:hover,
&.is-active {
color: #108cee;
color: var(--primary);
position: relative;
text-decoration: none;
&::before {
content: '';
border-bottom: 2px solid #108cee;
border-bottom: 2px solid var(--primary);
position: absolute;
width: 100%;
left: 0;
@ -440,11 +440,11 @@ body {
&.is-active {
> a {
color: #108cee;
color: var(--primary);
background: transparent;
&:hover {
color: #108cee;
color: var(--primary);
background: transparent;
}
}
@ -496,14 +496,14 @@ body {
&.is-active {
&::before {
content: ' ';
border-left: px2rem(2px) solid #108cee;
border-left: px2rem(2px) solid var(--primary);
position: absolute;
left: 0;
height: px2rem(20px);
transform: translateY(px2rem(4px));
}
> a {
color: #108cee;
color: var(--primary);
}
}
}
@ -536,7 +536,7 @@ body {
}
&:hover {
font-weight: 700;
color: #108cee;
color: var(--primary);
}
}
}
@ -578,7 +578,7 @@ body {
text-align: right;
> a {
color: #108cee;
color: var(--primary);
font-weight: 600;
}
}
@ -602,11 +602,11 @@ body {
text-decoration: none;
&:hover {
border-color: #108cee;
color: #108cee;
border-color: var(--primary);
color: var(--primary);
.Doc-navLinks-title {
color: #108cee;
color: var(--primary);
}
}
@ -714,7 +714,7 @@ body {
&.is-active > a,
&.is-active.is-top > a {
color: #108cee;
color: var(--primary);
}
}
}
@ -747,7 +747,7 @@ body {
.Backtop {
color: #666;
&:hover {
color: #108cee;
color: var(--primary);
}
}
@ -781,7 +781,7 @@ body {
background: #fff;
&:hover {
color: #108cee;
color: var(--primary);
}
&.visible {
@ -978,7 +978,7 @@ body {
&::before {
content: ' ';
border-left: 2px solid #108cee;
border-left: 2px solid var(--primary);
margin-right: 10px;
}
}

View File

@ -196,7 +196,7 @@
}
&.is-active {
border: 1px solid #108cee;
border: 1px solid var(--primary);
&:after {
display: none;
}

View File

@ -5,7 +5,7 @@ $remFactor: 16px;
$ns: 'cxd-';
$info: #2468f2;
$primary: #2468F2;
$primary: #2468f2;
$success: #5fb333;
$warning: #f39000;
$danger: #ea2e2e;
@ -17,7 +17,7 @@ $success-bg: #f1fdeb;
$warning-bg: #fcf7f1;
$danger-bg: #fff5f5;
$text-color: #151A26;
$text-color: #151a26;
$Number-handler-mode: 'horizontal';
// css 变量似乎没法用 !important所以这里用 sass 变量
@ -29,9 +29,9 @@ $Wizard-steps-liAfterBorder: none !important;
:root {
--borderColor: #eceff8;
--body-bg: #ffffff;
--text-color: #151A26;
--text-color: #151a26;
--text--muted-color: #B4B6BA;
--text--muted-color: #b4b6ba;
--text--loud-color: #333;
--link-onHover-decoration: none;
@ -47,10 +47,10 @@ $Wizard-steps-liAfterBorder: none !important;
--Layout-brand-color: #fff;
--Layout-asideLink-iconColor: rgba(255, 255, 255, 0.6);
--Layout-asideLink-color: #fff;
--Layout-asideLink-onHover-color: #108cee;
--Layout-asideLink-onActive-color: #108cee;
--Layout-asideLink-onHover-color: var(--primary);
--Layout-asideLink-onActive-color: var(--primary);
--Layout-asideLink-onHover-iconSize: #{px2rem(16px)};
--Layout-asideLink-onHover-iconColor: #108cee;
--Layout-asideLink-onHover-iconColor: var(--primary);
--Layout-asideLink-fontSize: #{px2rem(12px)};
--Layout-asideLink-arrowFontSize: #{px2rem(12px)};
--Layout-asideLink-arrowColor: #8d99b0;