style(theme): 更新白天主题配色方案为清透玻璃感设计
- 调整白天主题基础背景色从 #FAF7F2 到 #F2F5F9 - 更新卡片、提升层和替代卡片背景色以匹配新主题 - 修改琥珀色系颜色值并调整透明度效果 - 更新珊瑚色、薄荷绿和薰衣草色的视觉表现 - 调整主次文字颜色以提高可读性 - 更新边框、分割线和阴影的颜色及透明度 - 优化导航栏和标签栏的配色方案 - 调整渐变卡片背景色以配合新主题风格
This commit is contained in:
+13
-13
@@ -226,7 +226,7 @@ export function applyTheme(theme) {
|
||||
export function applyNavBarTheme(theme) {
|
||||
const colors = {
|
||||
dark: { backgroundColor: '#0B0B14', frontColor: '#ffffff' },
|
||||
light: { backgroundColor: '#FAF7F2', frontColor: '#000000' }
|
||||
light: { backgroundColor: '#F2F5F9', frontColor: '#000000' }
|
||||
}
|
||||
const c = colors[theme] || colors.dark
|
||||
try {
|
||||
@@ -254,8 +254,8 @@ export function applyTabBarTheme(theme) {
|
||||
borderStyle: 'black'
|
||||
},
|
||||
light: {
|
||||
color: '#B5AEA0',
|
||||
selectedColor: '#D49530',
|
||||
color: '#9BA8BA',
|
||||
selectedColor: '#E09B2D',
|
||||
backgroundColor: '#FFFFFF',
|
||||
borderStyle: 'white'
|
||||
}
|
||||
@@ -274,17 +274,17 @@ export function applyTabBarTheme(theme) {
|
||||
export function getThemeColors(theme) {
|
||||
const isDark = theme !== 'light'
|
||||
return {
|
||||
textPrimary: isDark ? '#FFFFFF' : '#2C2416',
|
||||
textSecondary: isDark ? '#C0C0D2' : '#8C8474',
|
||||
textTertiary: isDark ? '#9494AC' : '#B5AEA0',
|
||||
amber: isDark ? '#E8A838' : '#D49530',
|
||||
bgBase: isDark ? '#0B0B14' : '#FAF7F2',
|
||||
textPrimary: isDark ? '#FFFFFF' : '#16233C',
|
||||
textSecondary: isDark ? '#C0C0D2' : '#5D6B82',
|
||||
textTertiary: isDark ? '#9494AC' : '#9BA8BA',
|
||||
amber: isDark ? '#E8A838' : '#E09B2D',
|
||||
bgBase: isDark ? '#0B0B14' : '#F2F5F9',
|
||||
bgCard: isDark ? '#1A1A28' : '#FFFFFF',
|
||||
cardGradStart: isDark ? '#1A1510' : '#F5F0E8',
|
||||
cardGradEnd: isDark ? '#0D0B08' : '#EDE8DF',
|
||||
borderSubtle: isDark ? 'rgba(232,168,56,0.15)' : 'rgba(212,149,48,0.2)',
|
||||
bgPlaceholder: isDark ? 'rgba(255,255,255,0.03)' : 'rgba(0,0,0,0.04)',
|
||||
emojiBg: isDark ? 'rgba(232,168,56,0.08)' : 'rgba(212,149,48,0.1)'
|
||||
cardGradStart: isDark ? '#1A1510' : '#F8FAFD',
|
||||
cardGradEnd: isDark ? '#0D0B08' : '#EFF3F9',
|
||||
borderSubtle: isDark ? 'rgba(232,168,56,0.15)' : 'rgba(224,155,45,0.18)',
|
||||
bgPlaceholder: isDark ? 'rgba(255,255,255,0.03)' : 'rgba(22,40,70,0.04)',
|
||||
emojiBg: isDark ? 'rgba(232,168,56,0.08)' : 'rgba(224,155,45,0.10)'
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user