feat(主题配置): 扩展主题颜色和渐变配置
This commit is contained in:
@@ -35,7 +35,16 @@ export const designTokens = {
|
|||||||
},
|
},
|
||||||
info: {
|
info: {
|
||||||
main: '#3b82f6',
|
main: '#3b82f6',
|
||||||
|
light: '#60a5fa',
|
||||||
|
dark: '#2563eb',
|
||||||
bg: '#eff6ff',
|
bg: '#eff6ff',
|
||||||
|
gradient: 'linear-gradient(135deg, #3b82f6 0%, #2563eb 100%)',
|
||||||
|
},
|
||||||
|
secondary: {
|
||||||
|
main: '#ec4899',
|
||||||
|
light: '#f472b6',
|
||||||
|
dark: '#db2777',
|
||||||
|
gradient: 'linear-gradient(135deg, #ec4899 0%, #f97316 100%)',
|
||||||
},
|
},
|
||||||
text: {
|
text: {
|
||||||
primary: '#1e293b',
|
primary: '#1e293b',
|
||||||
@@ -73,6 +82,12 @@ export const designTokens = {
|
|||||||
storage: '#8b5cf6',
|
storage: '#8b5cf6',
|
||||||
other: '#64748b',
|
other: '#64748b',
|
||||||
},
|
},
|
||||||
|
purple: {
|
||||||
|
main: '#8b5cf6',
|
||||||
|
light: '#a78bfa',
|
||||||
|
dark: '#7c3aed',
|
||||||
|
gradient: 'linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%)',
|
||||||
|
},
|
||||||
status: {
|
status: {
|
||||||
normal: '#10b981',
|
normal: '#10b981',
|
||||||
running: '#10b981',
|
running: '#10b981',
|
||||||
@@ -87,6 +102,14 @@ export const designTokens = {
|
|||||||
text: '#94a3b8',
|
text: '#94a3b8',
|
||||||
border: '#334155',
|
border: '#334155',
|
||||||
},
|
},
|
||||||
|
fieldType: {
|
||||||
|
string: '#3b82f6',
|
||||||
|
number: '#10b981',
|
||||||
|
boolean: '#f59e0b',
|
||||||
|
select: '#8b5cf6',
|
||||||
|
date: '#06b6d4',
|
||||||
|
textarea: '#64748b',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
shadows: {
|
shadows: {
|
||||||
small: '0 1px 2px 0 rgba(0, 0, 0, 0.05)',
|
small: '0 1px 2px 0 rgba(0, 0, 0, 0.05)',
|
||||||
|
|||||||
Reference in New Issue
Block a user