Documentation #

This library contails following components for Svelte Runes project.

Use the utils and +layout.svelte examples how to set up Nav and DynamicCodeBlockStyle.

Runes Webkit #

If you prefer to use the starter, please refer to https://github.com/shinokada/runes-webkit-starter.

Installation #

Setting #

Layout #

Create +layout.svelte, utils/Nav.svelte, utils/DynamicCodeBlockStyle.svelte and create a directory named utils/highlight and add all styles to it.

Style #

There are two ways to style components.

Use Developer tools to find CSS class names. It starts and ends with underscore, like _iconPage_div_1_.

The first part is the abbriviation of the component name and the second part is tag name.

The props names are without underscore, like iconPage_div_1. Use the props name to add the styles to a component.

Another way is to add style to the app.pcss file using a class name with underbars, like _iconPage_div_1_, etc.

Guide Directory Layout #

Add the following to the guide/+layout.svelte:

Home Page #

Home page has SupportBanner, HomeCards, TechInfo components.

Icon Page #

Icon page uses IconPage component with threeTabs and titel props.

Tests #

Please refer to tests/test.ts