mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
(ui) use custom branding
This commit is contained in:
parent
897ef8e6f0
commit
6720ec5c1f
3 changed files with 24 additions and 5 deletions
|
|
@ -936,7 +936,14 @@
|
|||
"mode": "chat"
|
||||
},
|
||||
"openrouter/mistralai/mistral-7b-instruct": {
|
||||
"max_tokens": 4096,
|
||||
"max_tokens": 8192,
|
||||
"input_cost_per_token": 0.00000013,
|
||||
"output_cost_per_token": 0.00000013,
|
||||
"litellm_provider": "openrouter",
|
||||
"mode": "chat"
|
||||
},
|
||||
"openrouter/mistralai/mistral-7b-instruct:free": {
|
||||
"max_tokens": 8192,
|
||||
"input_cost_per_token": 0.0,
|
||||
"output_cost_per_token": 0.0,
|
||||
"litellm_provider": "openrouter",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
/** @type {import('tailwindcss').Config} */
|
||||
|
||||
const colors = require("tailwindcss/colors");
|
||||
const userColors = require('./ui_colors.json') || {};
|
||||
module.exports = {
|
||||
content: [
|
||||
"./src/**/*.{js,ts,jsx,tsx}",
|
||||
|
|
@ -15,10 +16,10 @@ module.exports = {
|
|||
// light mode
|
||||
tremor: {
|
||||
brand: {
|
||||
faint: colors.indigo[50],
|
||||
muted: colors.indigo[200],
|
||||
subtle: colors.indigo[400],
|
||||
DEFAULT: colors.indigo[500],
|
||||
faint: userColors.brand.faint,
|
||||
muted: userColors.brand.muted,
|
||||
subtle: userColors.brand.subtle,
|
||||
DEFAULT: userColors.brand.DEFAULT,
|
||||
emphasis: colors.indigo[700],
|
||||
inverted: colors.white,
|
||||
},
|
||||
|
|
|
|||
11
ui/litellm-dashboard/ui_colors.json
Normal file
11
ui/litellm-dashboard/ui_colors.json
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"brand": {
|
||||
"DEFAULT": "#6366f1",
|
||||
"faint": "#6c6fed",
|
||||
"muted": "#8688ef",
|
||||
"subtle": "#8e91eb",
|
||||
"emphasis": "#5558eb",
|
||||
"inverted": "indigo"
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Add table
Reference in a new issue