mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2026-10-28 09:44:55 +00:00
Adaptation for version 1.26
This commit is contained in:
149 files changed
+6349
-2896
No files matched your search
@@ -1,3 +1,22 @@
|
||||
/*!
|
||||
* Copyright (c) https://github.com/lutinglt
|
||||
*
|
||||
* See the NOTICE file distributed with this work for additional
|
||||
* information regarding copyright ownership.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @author lutinglt
|
||||
*/
|
||||
@@ -35,9 +54,12 @@ export const colorblindDarkGithubColors: GithubColor = {
|
||||
button: {
|
||||
primary: {
|
||||
fgColor: { accent: "#58a6ff", rest: "#ffffff" },
|
||||
bgColor: { rest: themeVars.github.bgColor.success.emphasis, hover: "#2a7aef" },
|
||||
bgColor: { rest: themeVars.github.bgColor.success.emphasis, hover: "#2a7aef", active: "#3685f3" },
|
||||
},
|
||||
danger: {
|
||||
fgColor: { rest: "#f0883e", hover: "#ffffff" },
|
||||
bgColor: { hover: "#9b4215", active: themeVars.github.bgColor.danger.emphasis },
|
||||
},
|
||||
danger: { fgColor: { rest: "#f0883e", hover: "#ffffff" }, bgColor: { hover: "#9b4215" } },
|
||||
star: darkGithubColors.button.star,
|
||||
},
|
||||
control: darkGithubColors.control,
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
/*!
|
||||
* Copyright (c) https://github.com/lutinglt
|
||||
*
|
||||
* See the NOTICE file distributed with this work for additional
|
||||
* information regarding copyright ownership.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @author lutinglt
|
||||
*/
|
||||
@@ -35,9 +54,9 @@ export const colorblindLightGithubColors: GithubColor = {
|
||||
button: {
|
||||
primary: {
|
||||
fgColor: { accent: "#0969da", rest: "#ffffff" },
|
||||
bgColor: { rest: themeVars.github.bgColor.success.emphasis, hover: "#0864d1" },
|
||||
bgColor: { rest: themeVars.github.bgColor.success.emphasis, hover: "#0864d1", active: "#075fc8" },
|
||||
},
|
||||
danger: { fgColor: { rest: "#bc4c00", hover: "#ffffff" }, bgColor: { hover: "#bc4c00" } },
|
||||
danger: { fgColor: { rest: "#bc4c00", hover: "#ffffff" }, bgColor: { hover: "#bc4c00", active: "#953800" } },
|
||||
star: lightGithubColors.button.star,
|
||||
},
|
||||
control: lightGithubColors.control,
|
||||
|
||||
+32
-5
@@ -1,3 +1,22 @@
|
||||
/*!
|
||||
* Copyright (c) https://github.com/lutinglt
|
||||
*
|
||||
* See the NOTICE file distributed with this work for additional
|
||||
* information regarding copyright ownership.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @author lutinglt
|
||||
*/
|
||||
@@ -41,7 +60,7 @@ export const darkGithubColors: GithubColor = {
|
||||
success: "#3fb950",
|
||||
black: "#010409",
|
||||
white: "#ffffff",
|
||||
onEmphasis: "#ffffff",
|
||||
onEmphasis: "#f0f6fc",
|
||||
},
|
||||
bgColor: {
|
||||
accent: { emphasis: "#1f6feb", muted: "#388bfd1a" },
|
||||
@@ -51,7 +70,7 @@ export const darkGithubColors: GithubColor = {
|
||||
done: { emphasis: "#8957e5" },
|
||||
emphasis: "#3d444d",
|
||||
muted: "#151b23",
|
||||
neutral: { muted: "#656c7633" },
|
||||
neutral: { muted: "#656c7633", emphasis: "#656c76" },
|
||||
success: { emphasis: "#238636", muted: "#2ea04326" },
|
||||
inset: "#010409",
|
||||
},
|
||||
@@ -63,20 +82,28 @@ export const darkGithubColors: GithubColor = {
|
||||
success: { emphasis: "#238636" },
|
||||
muted: "#3d444db3",
|
||||
translucent: "#ffffff26",
|
||||
emphasis: "#656c76",
|
||||
},
|
||||
button: {
|
||||
primary: {
|
||||
fgColor: { accent: "#3fb950", rest: "#ffffff" },
|
||||
bgColor: { rest: themeVars.github.bgColor.success.emphasis, hover: "#29903b" },
|
||||
bgColor: { rest: themeVars.github.bgColor.success.emphasis, hover: "#29903b", active: "#2e9a40" },
|
||||
},
|
||||
danger: {
|
||||
fgColor: { rest: "#fa5e55", hover: "#ffffff" },
|
||||
bgColor: { hover: "#b62324", active: themeVars.github.bgColor.danger.emphasis },
|
||||
},
|
||||
danger: { fgColor: { rest: "#fa5e55", hover: "#ffffff" }, bgColor: { hover: "#b62324" } },
|
||||
star: { iconColor: "#e3b341" },
|
||||
},
|
||||
control: {
|
||||
bgColor: { active: "#2a313c", hover: "#262c36", rest: "#212830" },
|
||||
transparent: { bgColor: { active: "#656c7640", hover: "#656c7633", selected: "#656c761a" } },
|
||||
},
|
||||
shadow: { floating: { small: "#01040966" }, resting: { small: "#01040999" } },
|
||||
shadow: {
|
||||
floating: { small: "#01040966" },
|
||||
inset: "#0104093d",
|
||||
resting: { small: "#01040999", medium: "#010409cc" },
|
||||
},
|
||||
overlay: { backdrop: { bgColor: "#21283066" }, bgColor: "#010409" },
|
||||
underlineNav: { borderColor: { active: "#f78166" } },
|
||||
contribution: {
|
||||
|
||||
+28
-4
@@ -1,3 +1,22 @@
|
||||
/*!
|
||||
* Copyright (c) https://github.com/lutinglt
|
||||
*
|
||||
* See the NOTICE file distributed with this work for additional
|
||||
* information regarding copyright ownership.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @author lutinglt
|
||||
*/
|
||||
@@ -51,7 +70,7 @@ export const lightGithubColors: GithubColor = {
|
||||
done: { emphasis: "#8250df" },
|
||||
emphasis: "#25292e",
|
||||
muted: "#f6f8fa",
|
||||
neutral: { muted: "#818b981f" },
|
||||
neutral: { muted: "#818b981f", emphasis: "#59636e" },
|
||||
success: { emphasis: "#1f883d", muted: "#dafbe1" },
|
||||
inset: "#f6f8fa",
|
||||
},
|
||||
@@ -63,20 +82,25 @@ export const lightGithubColors: GithubColor = {
|
||||
success: { emphasis: "#1a7f37" },
|
||||
muted: "#d1d9e0b3",
|
||||
translucent: "#1f232826",
|
||||
emphasis: "#818b98",
|
||||
},
|
||||
button: {
|
||||
primary: {
|
||||
fgColor: { accent: "#1a7f37", rest: "#ffffff" },
|
||||
bgColor: { rest: themeVars.github.bgColor.success.emphasis, hover: "#1c8139" },
|
||||
bgColor: { rest: themeVars.github.bgColor.success.emphasis, hover: "#1c8139", active: "#197935" },
|
||||
},
|
||||
danger: { fgColor: { rest: "#d1242f", hover: "#ffffff" }, bgColor: { hover: "#cf222e" } },
|
||||
danger: { fgColor: { rest: "#d1242f", hover: "#ffffff" }, bgColor: { hover: "#cf222e", active: "#a40e26" } },
|
||||
star: { iconColor: "#eac54f" },
|
||||
},
|
||||
control: {
|
||||
bgColor: { active: "#e6eaef", hover: "#eff2f5", rest: "#f6f8fa" },
|
||||
transparent: { bgColor: { active: "#818b9826", hover: "#818b981a", selected: "#818b9826" } },
|
||||
},
|
||||
shadow: { floating: { small: "#25292e0a" }, resting: { small: "#1f23280f" } },
|
||||
shadow: {
|
||||
floating: { small: "#25292e0a" },
|
||||
inset: "#1f23280a",
|
||||
resting: { small: "#1f23280f", medium: "#25292e1f" },
|
||||
},
|
||||
overlay: { backdrop: { bgColor: "#c8d1da66" }, bgColor: "#ffffff" },
|
||||
underlineNav: { borderColor: { active: "#fd8c73" } },
|
||||
contribution: {
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
/*!
|
||||
* Copyright (c) https://github.com/lutinglt
|
||||
*
|
||||
* See the NOTICE file distributed with this work for additional
|
||||
* information regarding copyright ownership.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @author lutinglt
|
||||
*/
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
/*!
|
||||
* Copyright (c) https://github.com/lutinglt
|
||||
*
|
||||
* See the NOTICE file distributed with this work for additional
|
||||
* information regarding copyright ownership.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @author lutinglt
|
||||
*/
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
/*!
|
||||
* Copyright (c) https://github.com/lutinglt
|
||||
*
|
||||
* See the NOTICE file distributed with this work for additional
|
||||
* information regarding copyright ownership.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @author lutinglt
|
||||
*/
|
||||
|
||||
+28
-5
@@ -1,3 +1,22 @@
|
||||
/*!
|
||||
* Copyright (c) https://github.com/lutinglt
|
||||
*
|
||||
* See the NOTICE file distributed with this work for additional
|
||||
* information regarding copyright ownership.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @author lutinglt
|
||||
*/
|
||||
@@ -35,7 +54,7 @@ export const softDarkGithubColors: GithubColor = {
|
||||
success: "#57ab5a",
|
||||
black: "#010409",
|
||||
white: "#cdd9e5",
|
||||
onEmphasis: "#ffffff",
|
||||
onEmphasis: "#f0f6fc",
|
||||
},
|
||||
bgColor: {
|
||||
accent: { emphasis: "#316dca", muted: "#4184e41a" },
|
||||
@@ -45,7 +64,7 @@ export const softDarkGithubColors: GithubColor = {
|
||||
done: { emphasis: "#8256d0" },
|
||||
emphasis: "#3d444d",
|
||||
muted: "#262c36",
|
||||
neutral: { muted: "#656c7633" },
|
||||
neutral: darkGithubColors.bgColor.neutral,
|
||||
success: { emphasis: "#347d39", muted: "#46954a26" },
|
||||
inset: "#151b23",
|
||||
},
|
||||
@@ -57,20 +76,24 @@ export const softDarkGithubColors: GithubColor = {
|
||||
success: { emphasis: "#347d39" },
|
||||
muted: "#3d444db3",
|
||||
translucent: "#cdd9e526",
|
||||
emphasis: "#656c76",
|
||||
},
|
||||
button: {
|
||||
primary: {
|
||||
fgColor: { accent: "#57ab5a", rest: "#ffffff" },
|
||||
bgColor: { rest: themeVars.github.bgColor.success.emphasis, hover: "#3b8640" },
|
||||
bgColor: { rest: themeVars.github.bgColor.success.emphasis, hover: "#3b8640", active: "#428f46" },
|
||||
},
|
||||
danger: {
|
||||
fgColor: { rest: "#ea5c53", hover: "#ffffff" },
|
||||
bgColor: { hover: "#ad2e2c", active: themeVars.github.bgColor.danger.emphasis },
|
||||
},
|
||||
danger: { fgColor: { rest: "#ea5c53", hover: "#ffffff" }, bgColor: { hover: "#ad2e2c" } },
|
||||
star: { iconColor: "#daaa3f" },
|
||||
},
|
||||
control: {
|
||||
bgColor: { active: "#3d444d", hover: "#2f3742", rest: "#2a313c" },
|
||||
transparent: { bgColor: { active: "#656c7633", hover: "#656c7626", selected: "#656c761a" } },
|
||||
},
|
||||
shadow: { floating: { small: "#01040966" }, resting: { small: "#01040999" } },
|
||||
shadow: darkGithubColors.shadow,
|
||||
overlay: { backdrop: { bgColor: "#262c3666" }, bgColor: "#2a313c" },
|
||||
underlineNav: { borderColor: { active: "#ec775c" } },
|
||||
contribution: {
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
/*!
|
||||
* Copyright (c) https://github.com/lutinglt
|
||||
*
|
||||
* See the NOTICE file distributed with this work for additional
|
||||
* information regarding copyright ownership.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @author lutinglt
|
||||
*/
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
/*!
|
||||
* Copyright (c) https://github.com/lutinglt
|
||||
*
|
||||
* See the NOTICE file distributed with this work for additional
|
||||
* information regarding copyright ownership.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @author lutinglt
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user