Skip to content

Commit

Permalink
refactor: move local styles to separate directory from data (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
sargunv authored Dec 19, 2024
1 parent 0cb33fb commit c9256b7
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1 @@
demo-app/src/commonMain/composeResources/files/data/* linguist-vendored
demo-app/src/commonMain/composeResources/files/* linguist-vendored
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ private val REMOTE_STYLE_URIS =
private val LOCAL_STYLE_PATHS =
listOf(
// from https://tiles.versatiles.org/assets/styles/colorful.json
"Colorful" to "files/data/colorful.json",
"Colorful" to "files/styles/colorful.json",
// from https://tiles.versatiles.org/assets/styles/eclipse.json
"Eclipse" to "files/data/eclipse.json",
"Eclipse" to "files/styles/eclipse.json",
)

val DEFAULT_STYLE = REMOTE_STYLE_URIS[0].second
Expand Down

0 comments on commit c9256b7

Please sign in to comment.