okay actually fixed light mode issue (#4398)

This commit is contained in:
sirbread 2025-12-06 18:53:54 -07:00 committed by GitHub
parent 08d2f06cb7
commit 21162b2b0e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,161 +1,161 @@
/** /**
* Copyright (c) 2025 taskylizard. Apache License 2.0. * Copyright (c) 2025 taskylizard. Apache License 2.0.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
import type { Theme } from '../types' import type { Theme } from '../types'
export const christmasTheme: Theme = { export const christmasTheme: Theme = {
name: 'Christmas', name: 'Christmas',
displayName: 'Christmas', displayName: 'Christmas',
preview: 'https://raw.githubusercontent.com/SamidyFR/edit/refs/heads/main/docs/.vitepress/theme/themes/configs/christmas_tree.png', preview: 'https://raw.githubusercontent.com/SamidyFR/edit/refs/heads/main/docs/.vitepress/theme/themes/configs/christmas_tree.png',
modes: { modes: {
light: { light: {
brand: { brand: {
1: '#BD2F2F', 1: '#BD2F2F',
2: '#22ff00ff', 2: '#22ff00ff',
3: '#155C2F', 3: '#155C2F',
soft: '#a200ffff' soft: '#a200ffff'
}, },
bg: '#ffffffff', bg: '#ffffffff',
bgAlt: '#f9fafb', bgAlt: '#f9fafb',
bgElv: 'rgba(255, 255, 255, 0.7)', bgElv: 'rgba(255, 255, 255, 0.7)',
bgMark: 'rgb(232, 232, 232)', bgMark: 'rgb(232, 232, 232)',
text: { text: {
1: '#DEDDD4', 1: '#353638ff',
2: '#4b5563', 2: '#4b5563',
3: '#353638ff' 3: '#DEDDD4'
}, },
button: { button: {
brand: { brand: {
bg: '#155C2F', bg: '#155C2F',
border: '#0E3B1F', border: '#0E3B1F',
text: 'rgba(255, 255, 255)', text: 'rgba(255, 255, 255)',
hoverBorder: '#072a15ff', hoverBorder: '#072a15ff',
hoverText: 'rgba(255, 255, 255)', hoverText: 'rgba(255, 255, 255)',
hoverBg: '#072a15ff', hoverBg: '#072a15ff',
activeBorder: '#072a15ff', activeBorder: '#072a15ff',
activeText: 'rgba(255, 255, 255)', activeText: 'rgba(255, 255, 255)',
activeBg: '#072a15ff' activeBg: '#072a15ff'
}, },
alt: { alt: {
bg: '#484848', bg: '#484848',
text: '#f0eeee', text: '#f0eeee',
hoverBg: '#484848', hoverBg: '#484848',
hoverText: '#f0eeee' hoverText: '#f0eeee'
} }
}, },
customBlock: { customBlock: {
info: { info: {
bg: '#dbeafe', bg: '#dbeafe',
border: '#1e40af', border: '#1e40af',
text: '#1e40af', text: '#1e40af',
textDeep: '#1e3a8a' textDeep: '#1e3a8a'
}, },
tip: { tip: {
bg: '#D8F8E4', bg: '#D8F8E4',
border: '#447A61', border: '#447A61',
text: '#2D6A58', text: '#2D6A58',
textDeep: '#166534' textDeep: '#166534'
}, },
warning: { warning: {
bg: '#FCEFC3', bg: '#FCEFC3',
border: '#9A8034', border: '#9A8034',
text: '#9C701B', text: '#9C701B',
textDeep: '#92400e' textDeep: '#92400e'
}, },
danger: { danger: {
bg: '#FBE1E2', bg: '#FBE1E2',
border: '#B3565E', border: '#B3565E',
text: '#912239', text: '#912239',
textDeep: '#991b1b' textDeep: '#991b1b'
} }
}, },
selection: { selection: {
bg: '#bfdbfe' bg: '#bfdbfe'
}, },
home: { home: {
heroNameColor: 'transparent', heroNameColor: 'transparent',
heroNameBackground: '-webkit-linear-gradient(120deg, #BD2F2F 30%, #f9fafb)', heroNameBackground: '-webkit-linear-gradient(120deg, #BD2F2F 30%, #f9fafb)',
heroImageBackground: 'linear-gradient(-45deg, #BD2F2F 50%, #f9fafb 50%)', heroImageBackground: 'linear-gradient(-45deg, #BD2F2F 50%, #f9fafb 50%)',
heroImageFilter: 'blur(44px)' heroImageFilter: 'blur(44px)'
} }
}, },
dark: { dark: {
brand: { brand: {
1: '#2CA03C', 1: '#2CA03C',
2: '#22ff00ff', 2: '#22ff00ff',
3: '#5C151A', 3: '#5C151A',
soft: '#a200ffff' soft: '#a200ffff'
}, },
bg: 'rgb(26, 26, 26)', bg: 'rgb(26, 26, 26)',
bgAlt: 'rgb(23, 23, 23)', bgAlt: 'rgb(23, 23, 23)',
bgElv: 'rgba(23, 23, 23, 0.8)', bgElv: 'rgba(23, 23, 23, 0.8)',
button: { button: {
brand: { brand: {
bg: '#155C2F', bg: '#155C2F',
border: '#0E3B1F', border: '#0E3B1F',
text: 'rgba(255, 255, 255)', text: 'rgba(255, 255, 255)',
hoverBorder: '#072a15ff', hoverBorder: '#072a15ff',
hoverText: 'rgba(255, 255, 255)', hoverText: 'rgba(255, 255, 255)',
hoverBg: '#072a15ff', hoverBg: '#072a15ff',
activeBorder: '#072a15ff', activeBorder: '#072a15ff',
activeText: 'rgba(255, 255, 255)', activeText: 'rgba(255, 255, 255)',
activeBg: '#072a15ff' activeBg: '#072a15ff'
}, },
alt: { alt: {
bg: '#484848', bg: '#484848',
text: '#f0eeee', text: '#f0eeee',
hoverBg: '#484848', hoverBg: '#484848',
hoverText: '#f0eeee' hoverText: '#f0eeee'
} }
}, },
customBlock: { customBlock: {
info: { info: {
bg: '#0c4a6e', bg: '#0c4a6e',
border: '#0284c7', border: '#0284c7',
text: '#bae6fd', text: '#bae6fd',
textDeep: '#bae6fd' textDeep: '#bae6fd'
}, },
tip: { tip: {
bg: '#0C2A20', bg: '#0C2A20',
border: '#184633', border: '#184633',
text: '#B0EBC9', text: '#B0EBC9',
textDeep: '#166534' textDeep: '#166534'
}, },
warning: { warning: {
bg: '#403207', bg: '#403207',
border: '#7E6211', border: '#7E6211',
text: '#F9DE88', text: '#F9DE88',
textDeep: '#92400e' textDeep: '#92400e'
}, },
danger: { danger: {
bg: '#3F060A', bg: '#3F060A',
border: '#7C0F18', border: '#7C0F18',
text: '#F7C1BC', text: '#F7C1BC',
textDeep: '#991b1b' textDeep: '#991b1b'
} }
}, },
selection: { selection: {
bg: '#1e3a8a' bg: '#1e3a8a'
}, },
home: { home: {
heroNameColor: 'transparent', heroNameColor: 'transparent',
heroNameBackground: '-webkit-linear-gradient(120deg, #f9fafb 30%, #BD2F2F)', heroNameBackground: '-webkit-linear-gradient(120deg, #f9fafb 30%, #BD2F2F)',
heroImageBackground: 'linear-gradient(-45deg, #f9fafb 50%,#BD2F2F 50%)', heroImageBackground: 'linear-gradient(-45deg, #f9fafb 50%,#BD2F2F 50%)',
heroImageFilter: 'blur(44px)' heroImageFilter: 'blur(44px)'
} }
} }
} }
} }