jan/web/styles/variables.scss
Faisal Amir 539b467141
ui: interface revamp (#429)
* feat: adding create bot functionality

Signed-off-by: James <james@jan.ai>

* update the temperature progress bar

Signed-off-by: James <james@jan.ai>

* WIP baselayout

* Mapping plugins with available preferences

* Added loader component

* WIP working another screen

* Cleanup types and avoid import one by one

* Prepare bottom bar

* Add css variables colors to enable user select the accent

* Enable change accent color

* Seperate css variable

* Fix conflict

* Add blank state of my model empty

* Restyle explore models page

* Enable user config left sidebar

* Restyle my models page

* WIP styling chat page

* Restyling chat message

* Fix conflict

* Adde form preferences setting plugins

* Fixed form bot info

* Sidebar bot chat

* Showing rightbar for both setting when user created bot

* Fix style bot info

* Using overflow auto intead of scroll

* Remove script built UI from root package

* Fix missig import

* Resolve error linter

* fix e2e tests

Signed-off-by: James <james@jan.ai>

---------

Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2023-10-24 10:59:12 +07:00

73 lines
1.8 KiB
SCSS

@layer base {
:root {
--background: 0 0% 100%;
--background-reverse: 240 10% 3.9%;
--border: 240 5.9% 90%;
--muted: 240 4.8% 95.9%;
--muted-foreground: 240 3.8% 46.1%;
// --foreground: 240 10% 3.9%;
// --card: 0 0% 100%;
// --card-foreground: 240 10% 3.9%;
// --popover: 0 0% 100%;
// --popover-foreground: 240 10% 3.9%;
// --primary: 240 5.9% 10%;
// --primary-foreground: 0 0% 98%;
// --secondary: 240 4.8% 95.9%;
// --secondary-foreground: 240 5.9% 10%;
--accent: 217.2 91.2% 59.8%;
// --accent-foreground: 240 5.9% 10%;
// --destructive: 0 84.2% 60.2%;
// --destructive-foreground: 0 0% 98%;
// --input: 240 5.9% 90%;
// --ring: 240 5% 64.9%;
// --radius: 0.5rem;
.accent-green {
--accent: 142 71% 45%;
}
.accent-red {
--accent: 346.8 77.2% 49.8%;
}
.accent-orange {
--accent: 20.5 90.2% 48.2%;
}
}
.dark {
--background: 240 10% 3.9%;
--background-reverse: 0 0% 100%;
--border: 240 3.7% 15.9%;
--muted: 240 3.7% 15.9%;
--muted-foreground: 240 5% 64.9%;
// --foreground: 0 0% 98%;
// --card: 240 10% 3.9%;
// --card-foreground: 0 0% 98%;
// --popover: 240 10% 3.9%;
// --popover-foreground: 0 0% 98%;
// --primary: 0 0% 98%;
// --primary-foreground: 240 5.9% 10%;
// --secondary: 240 3.7% 15.9%;
// --secondary-foreground: 0 0% 98%;
--accent: 217.2 91.2% 59.8%;
// --accent-foreground: 0 0% 98%;
// --destructive: 0 62.8% 30.6%;
// --destructive-foreground: 0 85.7% 97.3%;
// --input: 240 3.7% 15.9%;
// --ring: 240 4.9% 83.9%;
.accent-green {
--accent: 142 71% 45%;
}
.accent-red {
--accent: 346.8 77.2% 49.8%;
}
.accent-orange {
--accent: 20.5 90.2% 48.2%;
}
}
}