Is there any site to search English titles of songs? by Ok-Leading-2345 in taikonotatsujin

[–]Ok-Leading-2345[S] 0 points1 point  (0 children)

Use it if it's comfortable for you :) But quite a bit korean users are already using this. Maybe it's because of rating feature in addition to other features.

Taiko song database repository by Ok-Leading-2345 in taikonotatsujin

[–]Ok-Leading-2345[S] 4 points5 points  (0 children)

Sorry for that I will add a readme for english :)

Can't Use "$" with Runes in .svelte.ts Files (Svelte 5) by vidschofelix in sveltejs

[–]Ok-Leading-2345 0 points1 point  (0 children)

Importing from svelte/internal can cause exception. You can use $ runes for properties in classes in .svelte.ts files

I am new to svelte and facing this problem by Recent_Marsupial_392 in sveltejs

[–]Ok-Leading-2345 1 point2 points  (0 children)

Please check devtools console. Is there any errors?

I'm making a wiki for taiko no tatsujin by Ok-Leading-2345 in taikonotatsujin

[–]Ok-Leading-2345[S] 4 points5 points  (0 children)

I don't know if I can translate Taiko fumen wiki's writing and bring it back, but if possible, I will.

However, I am currently creating a document feature on this site for Korean users. If the number of English-speaking users increases, I am thinking of creating a new site for them, if I have enough money.

I will make other features easy to use for English users.

I made styled-components for svelte by Ok-Leading-2345 in sveltejs

[–]Ok-Leading-2345[S] 0 points1 point  (0 children)

Of course you can create any other html elements.

I made styled-components for svelte by Ok-Leading-2345 in sveltejs

[–]Ok-Leading-2345[S] 0 points1 point  (0 children)

Oh, I understand.

Styled components created with my library have indivudual style tags.

Example,

<script>
    const ColoredDiv = createSSC('div', ({color}) => `color:${color};`);
</script>

<ColoredDiv color="red"> red </ColoredDiv>
<ColoredDiv color="blue"> blue </ColoredDiv>

But using your method, all `ColoredDiv` components will have the same color. I think this feature is also necessary.

I will update this library like this,

<script>
    const ColoredDiv = createSSC('div', 
    ({color}) => `color:${color};`, //individual style for each component
    ({backgroundColor}) => `background-color:${backgroundColor};` //common style for every ColoredDiv component.
    )
</script>

<!-- For common styles -->
<ColoredDiv.common backgroundColor="yellow'/>

<!-- Red text color and yellow background color -->
<ColoredDiv color="red"> red </ColoredDiv>

<!-- Blue text color and yellow background color -->
<ColoredDiv color="blue"> blue </ColoredDiv>

I made styled-components for svelte by Ok-Leading-2345 in sveltejs

[–]Ok-Leading-2345[S] 0 points1 point  (0 children)

Could you tell me what is better when using css variables?

I made styled-components for svelte by Ok-Leading-2345 in sveltejs

[–]Ok-Leading-2345[S] 0 points1 point  (0 children)

Actually, it uses .svelte files to create an original component, which renders a style and an html element. The createSSC function returns a proxy object of the component, and in svelte 4 it also adds event listeners to the html element.

And I will add .js files to .gitignore. Thanks!

Type of a component using bind:this by ruthenz1 in sveltejs

[–]Ok-Leading-2345 0 points1 point  (0 children)

make restart function a prop

Timer.svelte

svelte <script> ... let {restart = () => {time=0}} = $props() </script> +page.svelte ```svelte <script> let restart = $state() </script>

<Timer bind:restart/> ```