-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: create shadow theme #1004
feat: create shadow theme #1004
Conversation
Deploy preview for smarthr-ui ready! Built with commit 0c43d92 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1点質問しました!
BASE?: string | ||
DIALOG?: string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[ask] SmartHR Design の「影」の項目を見た感じだとここらへんのキーはまだ WIP なのかなと思ったのですが、今回の BASE, DIALOG っていうのは一時的にって感じでしょうか?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nabeliwo 現時点でもデザインとのブレがあるので、まずは定数を使いたくてキーは一時的に設定しておりますー 🙏
|
||
interface ThemeProperty { | ||
palette?: PaletteProperty | ||
size?: SizeProperty | ||
frame?: FrameProperty | ||
interaction?: InteractionProperty | ||
shadow?: ShadowProperty |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nits] 今回対応してほしい、みたいな話じゃないですが、 frame と shadow って一つにまとめて別の名前を当てられないかな〜ってちょっと思いました
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
あー、そこまで考えてなかったっす。いちど定例あたりで相談できますとー
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🎉
Related URL
Overview
What I did
src/themes/createShadow.ts
を追加Capture