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: nito アイコンのリソースを追加 #278

Merged
merged 1 commit into from
Mar 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions core/designsystem/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ kotlin {
sourceSets {
commonMain {
dependencies {
implementation(compose.components.resources)
Copy link

Choose a reason for hiding this comment

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

compose.components.resourcesの依存関係を追加する際に、バージョンを明示的に指定することをお勧めします。これにより、将来的にライブラリの自動更新による予期しない問題を防ぐことができます。

implementation(compose.materialIconsExtended)
api(libs.imageLoader)
}
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package club.nito.core.designsystem.icon

import nito.core.designsystem.generated.resources.Res
import nito.core.designsystem.generated.resources.nito
import org.jetbrains.compose.resources.DrawableResource
import org.jetbrains.compose.resources.ExperimentalResourceApi

public object NitoDrawables {
@OptIn(ExperimentalResourceApi::class)
public val Nito: DrawableResource = Res.drawable.nito
}
Loading