diff --git a/.github/workflows/current.yml b/.github/workflows/current.yml
index 55e5848f..7186b41b 100644
--- a/.github/workflows/current.yml
+++ b/.github/workflows/current.yml
@@ -7,6 +7,8 @@ on:
pull_request:
branches:
- main
+ repository_dispatch:
+ types: [lapikit-updated]
jobs:
build:
diff --git a/README.md b/README.md
index 344005ed..bcb6e84d 100644
--- a/README.md
+++ b/README.md
@@ -35,14 +35,24 @@ pnpm add -D lapikit
bun add -D lapikit
```
+Connect lapikit on your svelte configuration:
+
+```js
+// svelte.config.js
+import { lapikitPreprocess } from 'lapikit/labs/preprocess';
+
+/** @type {import('@sveltejs/kit').Config} */
+const config = {
+ preprocess: [lapikitPreprocess()]
+};
+
+export default config;
+```
+
Use your first component:
```svelte
-
-
-
+
Changelog Content
diff --git a/src/lib/@legacy/background-star.svelte b/src/lib/@legacy/background-star.svelte index 563a6d90..dd5abb20 100644 --- a/src/lib/@legacy/background-star.svelte +++ b/src/lib/@legacy/background-star.svelte @@ -45,10 +45,10 @@ .dot { position: absolute; - background: color-mix(in oklab, var(--kit-accent-primary) 80%, transparent); + background: color-mix(in oklab, var(--primary-legacy) 80%, transparent); border-radius: 50%; opacity: 0; - box-shadow: 0 0 6px color-mix(in oklab, var(--kit-accent-primary) 80%, transparent); + box-shadow: 0 0 6px color-mix(in oklab, var(--primary-legacy) 80%, transparent); animation-name: blink; animation-timing-function: ease-in-out; animation-iteration-count: infinite; diff --git a/src/lib/@legacy/earth-moon-lapikit.svelte b/src/lib/@legacy/earth-moon-lapikit.svelte index 9131bd66..4eb34856 100644 --- a/src/lib/@legacy/earth-moon-lapikit.svelte +++ b/src/lib/@legacy/earth-moon-lapikit.svelte @@ -64,12 +64,12 @@ } .planet-svg path { - fill: var(--kit-background-primary); + fill: var(--bg-primary-legacy); } .planet-padding { position: relative; - background-color: var(--kit-background-primary); + background-color: var(--bg-primary-legacy); width: 100%; height: 100px; } diff --git a/src/plugins/lapikit.ts b/src/plugins/lapikit.ts deleted file mode 100644 index f4ac7c18..00000000 --- a/src/plugins/lapikit.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * Lapikit - * Library documentation: https://lapikit.dev - */ - -// Styles -import 'lapikit/styles'; -import 'lapikit/themes'; - -// Composables -import createLapikit from 'lapikit'; - -// https://lapikit.dev/docs/getting-started -export default createLapikit({ - theme: { - defaultTheme: 'light' - } -}); diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index cd2cdb1d..f84eb081 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -3,7 +3,7 @@ import BackgroundStar from '$lib/@legacy/background-star.svelte'; import LapinosaureExpertLapikit from '$lib/@legacy/images/lapinosaure-expert-lapikit.webp?enhanced'; import StarMedium from '$lib/@legacy/images/star-medium.webp?enhanced'; - import { Appbar, Button, Card, Chip, Icon, Separator, Toolbar } from 'lapikit/components'; + import { ArrowRight, Box, @@ -13,6 +13,7 @@ Copy, GraduationCap, Images, + MessageSquareText, Package, PencilRuler, Quote, @@ -31,7 +32,7 @@ import LapikitLikeYou from '$lib/@legacy/images/lapinosaure-like-you.webp?enhanced'; import LapinosaureFace from '$lib/@legacy/images/lapinosaure-face.webp?enhanced'; - import '../plugins/lapikit.ts'; + // import '../plugins/lapikit.ts'; import LazyRepl from '../components/lazy-repl.svelte'; import TypeScriptIcon from '$lib/assets/icons/typescript.svg?raw'; import SvelteIcon from '$lib/assets/icons/svelte.svg?raw'; @@ -209,20 +210,16 @@Lapikit
With Lapikit, you write less but build more:
Instead of struggling with redundancy, you focus on the experience you want to offer
-+
+
+
Lapikit is designed to simplify and streamline the work of front-end developers by limiting code redundancy, leaving more time for the development of advanced and complex features.
+
+
GitHub Stars
Open Source and built by developers, for developers @@ -795,39 +819,41 @@ Every contribution helps improve the developer experience for the entire Svelte community.
- +Followers
Members
Learn how to install and use Lapikit in your project
Become a sponsor to help Lapikit create a strong community
Start exploring Lapikit
Design system, themes, components, all in one lib
- +