-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- pandaCSS로 스타일 이전 - cva사용 - red.500 -> red 로 변경 (토큰값) - isLoading 표시 올바르게 변경 - dummy error boolean값 삭제
- Loading branch information
Showing
5 changed files
with
49 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,31 @@ | ||
import { css } from "@styled-system/css"; | ||
|
||
export const container = css({ | ||
display: "flex", | ||
}); | ||
import { css, cva } from "@styled-system/css"; | ||
|
||
export const content = css({ | ||
position: "relative", | ||
padding: "md", | ||
}); | ||
|
||
export const workSpaceContainer = cva({ | ||
base: { | ||
display: "flex", | ||
transition: "opacity 0.3s ease-in-out", | ||
}, | ||
variants: { | ||
visibility: { | ||
visible: { | ||
visibility: "visible", | ||
}, | ||
hidden: { | ||
visibility: "hidden", | ||
}, | ||
}, | ||
opacity: { | ||
1: { | ||
opacity: 1, | ||
}, | ||
0: { | ||
opacity: 0, | ||
}, | ||
}, | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
client/src/features/workSpace/components/IntroScreen.style.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { css, cva } from "@styled-system/css"; | ||
Check warning on line 1 in client/src/features/workSpace/components/IntroScreen.style.ts GitHub Actions / Lint and Unit Test
|
||
|
||
export const IntroScreenContainer = css({ | ||
display: "flex", | ||
zIndex: 50, | ||
position: "fixed", | ||
inset: 0, | ||
justifyContent: "center", | ||
alignItems: "center", | ||
backgroundImage: "linear-gradient(135deg, gray, green)", | ||
backgroundSize: "cover", | ||
transition: "opacity 0.5s ease-in-out", | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters