mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Adjust styles to match the design system (#11118)
### What problem does this PR solve? - Modify and adjust styles (CSS vars, components) to match the design system - Adjust file and directory structure of admin UI ### Type of change - [x] Refactoring
This commit is contained in:
@ -27,6 +27,9 @@ module.exports = {
|
||||
'4xl': '1980px',
|
||||
},
|
||||
extend: {
|
||||
borderWidth: {
|
||||
0.5: '0.5px',
|
||||
},
|
||||
colors: {
|
||||
border: 'var(--border-default)',
|
||||
input: 'hsl(var(--input))',
|
||||
@ -75,7 +78,9 @@ module.exports = {
|
||||
'bg-list': {
|
||||
DEFAULT: 'rgb(var(--bg-list) / <alpha-value>)',
|
||||
},
|
||||
'text-primary': 'var(--text-primary)',
|
||||
'text-primary': {
|
||||
DEFAULT: 'rgb(var(--text-primary) / <alpha-value>)',
|
||||
},
|
||||
'text-secondary': 'var(--text-secondary)',
|
||||
'text-disabled': 'var(--text-disabled)',
|
||||
'text-input-tip': 'var(--text-input-tip)',
|
||||
@ -175,7 +180,7 @@ module.exports = {
|
||||
},
|
||||
backgroundImage: {
|
||||
'metallic-gradient':
|
||||
'linear-gradient(104deg, var(--text-primary) 30%, var(--metallic) 50%, var(--text-primary) 70%)',
|
||||
'linear-gradient(104deg, rgb(var(--text-primary)) 30%, var(--metallic) 50%, rgb(var(--text-primary)) 70%)',
|
||||
},
|
||||
borderRadius: {
|
||||
lg: `var(--radius)`,
|
||||
|
||||
Reference in New Issue
Block a user