Skip to content

Commit 1fe80f8

Browse files
committed
#8 remove tailwind clamp and fix tailwind load issue
1 parent c2e207d commit 1fe80f8

File tree

7 files changed

+17
-34
lines changed

7 files changed

+17
-34
lines changed

package-lock.json

Lines changed: 0 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@bexis2/bexis2-core-ui",
3-
"version": "0.0.29",
3+
"version": "0.0.30",
44
"private": false,
55
"scripts": {
66
"dev": "vite dev",
@@ -26,7 +26,6 @@
2626
"@sveltejs/kit": "^1.5.0",
2727
"@sveltejs/package": "^2.0.2",
2828
"@tailwindcss/forms": "^0.5.3",
29-
"@tailwindcss/line-clamp": "^0.4.2",
3029
"@tailwindcss/typography": "^0.5.9",
3130
"@typescript-eslint/eslint-plugin": "^5.45.0",
3231
"@typescript-eslint/parser": "^5.45.0",

src/lib/components/page/Page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</script>
1010

1111
<div class="px-5 grid gap-5" >
12-
<h1>{title}</h1>
12+
<h1 class="h1">{title}</h1>
1313
{#if note}
1414
<blockquote class="blockquote">{note}</blockquote>
1515
{/if}

src/routes/+layout.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
// import '@skeletonlabs/skeleton/themes/theme-skeleton.css';
2121
import '$lib/css/themes/theme-bexis2.css';
2222
// If you have source.organizeImports set to true in VSCode, then it will auto change this ordering
23-
import '@skeletonlabs/skeleton/styles/all.css';
23+
import '@skeletonlabs/skeleton/styles/skeleton.css';
2424
// Most of your app wide CSS should be put in this file
2525
import '../app.postcss';
2626
@@ -29,7 +29,7 @@
2929
<AppShell
3030
slotSidebarLeft="flex-none overflow-x-hidden overflow-y-auto bg-surface-50-900-token lg:w-auto"
3131
>
32-
<svelte:fragment slot="header">Header</svelte:fragment>
32+
<!-- <svelte:fragment slot="header">Header</svelte:fragment> -->
3333
<svelte:fragment slot="sidebarLeft">
3434
<Navigation />
3535
</svelte:fragment>
@@ -38,5 +38,5 @@
3838
<slot />
3939
<!-- ---- / ---- -->
4040
<!-- (pageFooter) -->
41-
<svelte:fragment slot="footer">Footer</svelte:fragment>
41+
<!-- <svelte:fragment slot="footer">Footer</svelte:fragment> -->
4242
</AppShell>

src/routes/+page.svelte

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
<div id="toc-target">
2-
<h1 id="topic">BEXIS2 Core UI Documentation</h1>
3-
<h2 id="test1">test1</h2>
4-
<h3 id="test2">test2</h3>
5-
<h2 id="test4">test4</h2>
6-
</div>
1+
<script>
2+
import Page from "$lib/components/page/Page.svelte";
73
4+
</script>
85

9-
<input class="input variant-form-material">
6+
<Page title="BEXIS2 Core UI Documentation" note="test">
7+
8+
9+
<br/>
10+
<input type="text" class="input variant-form-material">
11+
</Page>

src/routes/components/theme/+page.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ $:colorNames = ["primary", "secondary","tertiary","success","warning","error","s
1313
{#each colorNames as colorName}
1414

1515
<!-- hack to load colors-->
16-
<div class="bg-primary-50 bg-primary-100 bg-primary-200 bg-primary-300 bg-primary-400 bg-primary-500 bg-primary-600 bg-primary-700 bg-primary-800 bg-primary-900 hidden">test</div>
16+
<!-- <div class="bg-primary-50 bg-primary-100 bg-primary-200 bg-primary-300 bg-primary-400 bg-primary-500 bg-primary-600 bg-primary-700 bg-primary-800 bg-primary-900 hidden">test</div>
1717
<div class="bg-secondary-50 bg-secondary-100 bg-secondary-200 bg-secondary-300 bg-secondary-400 bg-secondary-500 bg-secondary-600 bg-secondary-700 bg-secondary-800 bg-secondary-900 hidden">test</div>
1818
<div class="bg-tertiary-50 bg-tertiary-100 bg-tertiary-200 bg-tertiary-300 bg-tertiary-400 bg-tertiary-500 bg-tertiary-600 bg-tertiary-700 bg-tertiary-800 bg-tertiary-900 hidden">test</div>
1919
<div class="bg-success-50 bg-success-100 bg-success-200 bg-success-300 bg-success-400 bg-success-500 bg-success-600 bg-success-700 bg-success-800 bg-success-900 hidden">test</div>
2020
<div class="bg-warning-50 bg-warning-100 bg-warning-200 bg-warning-300 bg-warning-400 bg-warning-500 bg-warning-600 bg-warning-700 bg-warning-800 bg-warning-900 hidden">test</div>
2121
<div class="bg-error-50 bg-error-100 bg-error-200 bg-error-300 bg-error-400 bg-error-500 bg-error-600 bg-error-700 bg-error-800 bg-error-900 hidden">test</div>
22-
<div class="bg-surface-50 bg-surface-100 bg-surface-200 bg-surface-300 bg-surface-400 bg-surface-500 bg-surface-600 bg-surface-700 bg-surface-800 bg-surface-900 hidden">test</div>
22+
<div class="bg-surface-50 bg-surface-100 bg-surface-200 bg-surface-300 bg-surface-400 bg-surface-500 bg-surface-600 bg-surface-700 bg-surface-800 bg-surface-900 hidden">test</div> -->
2323

2424
<div class="py-2">
2525
<h3>{colorName}</h3>

tailwind.config.cjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ module.exports = {
1111
plugins: [
1212
require('@tailwindcss/forms'),
1313
require('@tailwindcss/typography'),
14-
require('@tailwindcss/line-clamp'),
15-
...require('@skeletonlabs/skeleton/tailwind/skeleton.cjs')()
14+
...require('@skeletonlabs/skeleton/tailwind/skeleton.cjs')({intellisense:false})
1615
]
1716
};

0 commit comments

Comments
 (0)