Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
faye1225 committed May 26, 2023
1 parent 61579c9 commit 84027ae
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/stablestudio-ui/src/App/TopBar/Right/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Theme } from "~/Theme";
export const Right = () => {
const { setIsOpen } = Shortcut.Palette.use();
const isMobileDevice = Theme.useIsMobileDevice();
const [dark, setDark] = useState(false);
const [dark, setDark] = useState(true);

useEffect(() => {
const root = document.querySelectorAll("#modal-root, #app");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ function Field({
) : (
name
)}
<span className="text-white/90">{value}</span>
<span className="dark:text-white/90 text-slate-800">{value}</span>
</h1>
);
}
Expand Down
8 changes: 4 additions & 4 deletions packages/stablestudio-ui/src/Theme/Icon/SVGs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ export function Generate(props: Props) {
}

export function Variation(props: Props) {
return defaults(props)(({ width, height, ...props }) => (
return defaults(props)(({ width, height, color, ...props }) => (
<svg
width={width}
height={height}
Expand All @@ -321,19 +321,19 @@ export function Variation(props: Props) {
>
<path
d="M3.67183 13.5269L3.67184 11.1072C3.67184 10.0026 4.56727 9.10722 5.67184 9.10722L9.86719 9.10722C10.9718 9.10722 11.8672 8.21179 11.8672 7.10722L11.8672 2.25825"
stroke="#F9FAFB"
stroke={color}
strokeLinecap="round"
strokeLinejoin="round"
/>
<path
d="M14.3262 3.94141L11.9116 1.52683L9.49701 3.94141"
stroke="#F9FAFB"
stroke={color}
strokeLinecap="round"
strokeLinejoin="round"
/>
<path
d="M3.67188 13.5269L3.67188 4.30708"
stroke="#F9FAFB"
stroke={color}
strokeLinecap="round"
/>
</svg>
Expand Down

0 comments on commit 84027ae

Please sign in to comment.