Skip to content
Snippets Groups Projects
Commit a89f0b7f authored by Sjoerd's avatar Sjoerd Committed by Leonardo Christino
Browse files

fix: dark mode

parent dd12e644
No related branches found
Tags v1.66.1
1 merge request!228fix: dark mode
Pipeline #138919 failed
...@@ -88,7 +88,7 @@ export const Navbar = () => { ...@@ -88,7 +88,7 @@ export const Navbar = () => {
</div> </div>
</PopoverTrigger> </PopoverTrigger>
<PopoverContent className="w-56 z-30 bg-white rounded-sm border-[1px] outline-none"> <PopoverContent className="w-56 z-30 bg-light rounded-sm border-[1px] outline-none">
<div className="p-2 text-sm border-b"> <div className="p-2 text-sm border-b">
<h2 className="font-bold">user: {authCache.username}</h2> <h2 className="font-bold">user: {authCache.username}</h2>
<h3 className="text-xs break-words">session: {authCache.sessionID}</h3> <h3 className="text-xs break-words">session: {authCache.sessionID}</h3>
......
...@@ -9,7 +9,7 @@ export type VisualizationTooltipProps = { ...@@ -9,7 +9,7 @@ export type VisualizationTooltipProps = {
export const VisualizationTooltip: React.FC<VisualizationTooltipProps> = ({ name, colorHeader, children }) => { export const VisualizationTooltip: React.FC<VisualizationTooltipProps> = ({ name, colorHeader, children }) => {
return ( return (
<div className="border-1 border-sec-200 bg-white w-[12rem] -mx-2 -my-2"> <div className="border-1 border-sec-200 bg-light w-[12rem] -mx-2 -my-2">
<div className="flex m-0 justify-start items-stretch border-b border-sec-200 relative"> <div className="flex m-0 justify-start items-stretch border-b border-sec-200 relative">
<div className="left-0 top-0 h-auto w-1.5" style={{ backgroundColor: colorHeader }}></div> <div className="left-0 top-0 h-auto w-1.5" style={{ backgroundColor: colorHeader }}></div>
<div className="px-2.5 py-1 truncate flex"> <div className="px-2.5 py-1 truncate flex">
......
...@@ -15,10 +15,10 @@ export function ActionBar({ isSearching, setIsSearching, setSearchResult, setSel ...@@ -15,10 +15,10 @@ export function ActionBar({ isSearching, setIsSearching, setSearchResult, setSel
return ( return (
<div> <div>
<div className="absolute left-0 top-0 m-1"> <div className="absolute left-0 top-0 m-1">
<div className="cursor-pointer p-1 pb-0 bg-white shadow-md rounded" onClick={() => setSelectingRectangle(true)}> <div className="cursor-pointer p-1 pb-0 bg-light shadow-md rounded" onClick={() => setSelectingRectangle(true)}>
<Icon component="icon-[ic--baseline-highlight-alt]" /> <Icon component="icon-[ic--baseline-highlight-alt]" />
</div> </div>
<div className="cursor-pointer p-1 mt-1 pb-0 bg-white shadow-md rounded" onClick={() => setIsSearching(!isSearching)}> <div className="cursor-pointer p-1 mt-1 pb-0 bg-light shadow-md rounded" onClick={() => setIsSearching(!isSearching)}>
<Icon component="icon-[ic--outline-search]" /> <Icon component="icon-[ic--outline-search]" />
</div> </div>
</div> </div>
......
...@@ -35,7 +35,7 @@ export const SearchBar: React.FC<SearchBarProps> = ({ onSearch }) => { ...@@ -35,7 +35,7 @@ export const SearchBar: React.FC<SearchBarProps> = ({ onSearch }) => {
}; };
return ( return (
<div className="absolute bottom-0 left-1/2 transform -translate-x-1/2 z-50 m-1 p-2 bg-white shadow-md rounded w-full max-w-xl"> <div className="absolute bottom-0 left-1/2 transform -translate-x-1/2 z-50 m-1 p-2 bg-light shadow-md rounded w-full max-w-xl">
<div className="flex gap-2 items-center"> <div className="flex gap-2 items-center">
<Input type="text" size="xs" value={query} onChange={(value) => setQuery(value)} /> <Input type="text" size="xs" value={query} onChange={(value) => setQuery(value)} />
<Button label="Search" size="xs" onClick={handleSearch} disabled={isLoading} /> <Button label="Search" size="xs" onClick={handleSearch} disabled={isLoading} />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment