Closed sorae42 closed 11 months ago
Thanks for the first feedback ! I'll look into it today
Could you tell me at which step this happens ? Also, are you using Typescript or JS in your projet ?
It happens when I import the library to any .svelte
file. I use TS for my project.
This should be fixed with the last 0.3.92
version. Please update and tell if that works for you.
This brings to my attention that MarqueeckOptions type is not properly exported, thought you should still get autocompletion for Marqueeck props. I'll need to work on that. If you still need to import the MarqueeckOptions type separately, here's a quick workaround until I fix it :
<script lang="ts">
import Marqueeck from '@arisbh/marqueeck';
import type { MarqueeckOptions } from '@arisbh/marqueeck/dist/Marqueeck';
const options: Partial<MarqueeckOptions> = {
direction: 'left'
};
</script>
<Marqueeck {options}>hello</Marqueeck>
I'll update the docs with that workaround right now
Also you should make the Marqueeck to not have any initial styling so people don't have to customize just to inherit some color from their themes (if they use any UI Toolkits/Framework).
You're right, I'll take out the fallback colors from the styles soon 👍 Closing this issue as it seems it's solved this bug
Also you should make the Marqueeck to not have any initial styling so people don't have to customize just to inherit some color from their themes (if they use any UI Toolkits/Framework).
Removed the default fallback colors in version 0.3.94
and updated the CSS variables names ;)
I can't get this to work. Using
svelte
3.59.2 andsvelte-kit
1.25.1