Skip to content
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

Merged
merged 5 commits into from
Oct 8, 2020

Conversation

ouji-miyahara
Copy link
Contributor

Related URL

Overview

  • ドロップシャドウのテーマを追加

What I did

  • src/themes/createShadow.ts を追加
  • Base コンポーネントの box-shadow を theme の値に差し替え

Capture

@ouji-miyahara ouji-miyahara requested a review from a team as a code owner September 17, 2020 04:22
@ouji-miyahara ouji-miyahara requested review from diescake and Tokky0425 and removed request for a team September 17, 2020 04:22
@netlify
Copy link

netlify bot commented Sep 17, 2020

Deploy preview for smarthr-ui ready!

Built with commit 0c43d92

https://deploy-preview-1004--smarthr-ui.netlify.app

Copy link
Member

@nabeliwo nabeliwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1点質問しました!

Comment on lines +4 to +5
BASE?: string
DIALOG?: string
Copy link
Member

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 っていうのは一時的にって感じでしょうか?

Copy link
Contributor Author

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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nits] 今回対応してほしい、みたいな話じゃないですが、 frame と shadow って一つにまとめて別の名前を当てられないかな〜ってちょっと思いました

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

あー、そこまで考えてなかったっす。いちど定例あたりで相談できますとー

Tokky0425
Tokky0425 previously approved these changes Sep 25, 2020
Copy link
Member

@Tokky0425 Tokky0425 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 🎉

@nabeliwo nabeliwo self-requested a review October 5, 2020 07:10
nabeliwo
nabeliwo previously approved these changes Oct 5, 2020
@ouji-miyahara ouji-miyahara dismissed stale reviews from nabeliwo and Tokky0425 via 0c43d92 October 5, 2020 07:40
@nabeliwo nabeliwo self-requested a review October 8, 2020 05:05
@nabeliwo nabeliwo merged commit e194e01 into kufu:master Oct 8, 2020
@ouji-miyahara ouji-miyahara deleted the change_dropshadow_constants branch October 13, 2020 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants