Skip to content
Discussion options

You must be logged in to vote

Hey @Hugos68! The best way to do all of this is using CSS imports so you can place the @source rules local relative to the files they refer to:

/* @skeletonlabs/skeleton-svelte/index.css */
@import "@skeletonlabs/skeleton-common";
@source "./";
/* @skeletonlabs/skeleton-common/index.css */
@source "./";

Then in your apps you can just import @skeletonlabs/skeleton-svelte:

/* my-project/styles.css */
@import "tailwindcss";
@import "@skeletonlabs/skeleton-svelte";

Now all of those source paths are private implementation details and you don't have to worry about where the package managers put everything.

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
6 replies
@Hugos68
Comment options

@wongjn
Comment options

wongjn Aug 28, 2025
Collaborator

@Hugos68
Comment options

@wongjn
Comment options

wongjn Aug 28, 2025
Collaborator

@Hugos68
Comment options

Comment options

You must be logged in to vote
4 replies
@Hugos68
Comment options

@Hugos68
Comment options

@adamwathan
Comment options

@Hugos68
Comment options

Answer selected by Hugos68
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants