Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dify
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ai-tech
dify
Commits
b30706ff
Commit
b30706ff
authored
Jul 25, 2023
by
Joel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: model color
parent
663705a0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
3 deletions
+21
-3
index.tsx
...ents/explore/universal-chat/config-view/summary/index.tsx
+3
-3
style.module.css
...plore/universal-chat/config-view/summary/style.module.css
+18
-0
No files found.
web/app/components/explore/universal-chat/config-view/summary/index.tsx
View file @
b30706ff
...
...
@@ -16,12 +16,12 @@ export type ISummaryProps = {
const
getColorInfo
=
(
modelId
:
string
)
=>
{
if
(
modelId
===
'gpt-4'
)
return
'bg-[#EBE9FE] border-[#F4F3FF]'
return
s
.
gpt4
if
(
modelId
===
'claude-2'
)
return
'bg-[#F9EBDF] border-[#FCF3EB]'
return
s
.
claude
return
'bg-[#D3F8DF] border-[#EDFCF2]'
return
s
.
gpt3
}
const
getPlugIcon
=
(
pluginId
:
string
)
=>
{
...
...
web/app/components/explore/universal-chat/config-view/summary/style.module.css
View file @
b30706ff
.border
{
border
:
1px
solid
rgba
(
0
,
0
,
0
,
0.05
);
}
.gpt3
{
background
:
linear-gradient
(
0deg
,
#D3F8DF
,
#D3F8DF
),
linear-gradient
(
0deg
,
#EDFCF2
,
#EDFCF2
);
border
:
1px
solid
rgba
(
211
,
248
,
223
,
1
)
}
.gpt4
{
background
:
linear-gradient
(
0deg
,
#EBE9FE
,
#EBE9FE
),
linear-gradient
(
0deg
,
#F4F3FF
,
#F4F3FF
);
border
:
1px
solid
rgba
(
235
,
233
,
254
,
1
)
}
.claude
{
background
:
linear-gradient
(
0deg
,
#F9EBDF
,
#F9EBDF
),
linear-gradient
(
0deg
,
#FCF3EB
,
#FCF3EB
);
border
:
1px
solid
rgba
(
249
,
235
,
223
,
1
)
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment