intelliwaketssveltekitv25 0.3.54 → 0.3.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -0
- package/dist/ListGroupItems.svelte +1 -0
- package/dist/MasterDetailLayout.svelte +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,6 +4,25 @@ Everything you need to build a Svelte library, powered by [`create-svelte`](http
|
|
|
4
4
|
|
|
5
5
|
Read more about creating a library [in the docs](https://kit.svelte.dev/docs/packaging).
|
|
6
6
|
|
|
7
|
+
## App-specific settings
|
|
8
|
+
|
|
9
|
+
### Tailwind
|
|
10
|
+
|
|
11
|
+
You must use tailwind, and the colors that are to be defined include:
|
|
12
|
+
|
|
13
|
+
- `primary-main`
|
|
14
|
+
- `primary-face`
|
|
15
|
+
- `primary-hover`
|
|
16
|
+
- `primary-light`
|
|
17
|
+
- `primary-selected`
|
|
18
|
+
- `secondary-main`
|
|
19
|
+
- `secondary-light`
|
|
20
|
+
|
|
21
|
+
### Classes to configure
|
|
22
|
+
|
|
23
|
+
- `mdMasterHR` which determines how the <hr/> separator looks on the Master Detail - Master Header
|
|
24
|
+
- `mdDetailHR` which determines how the <hr/> separator looks on the Master Detail - Detail Header
|
|
25
|
+
|
|
7
26
|
## Creating a project
|
|
8
27
|
|
|
9
28
|
If you're seeing this, you've probably already done this step. Congrats!
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
{#if header}
|
|
119
119
|
{@render header()}
|
|
120
120
|
{#if rounded}
|
|
121
|
-
<hr class="
|
|
121
|
+
<hr class="mdMasterHR" />
|
|
122
122
|
{/if}
|
|
123
123
|
{/if}
|
|
124
124
|
{#if subheader}
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
{/if}
|
|
170
170
|
{typeof showDetailShowHeader === 'string' ? showDetailShowHeader : openItem?.title ?? ''}
|
|
171
171
|
</h2>
|
|
172
|
-
<hr class="
|
|
172
|
+
<hr class="mdDetailHR" />
|
|
173
173
|
{/if}
|
|
174
174
|
</div>
|
|
175
175
|
<div
|