Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/current.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
pull_request:
branches:
- main
repository_dispatch:
types: [lapikit-updated]

jobs:
build:
Expand Down
20 changes: 15 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<script lang="ts">
import { Button } from 'lapikit/components';
</script>

<Button variant="filled">Click me</Button>
<kit:btn variant="filled">Click me</kit:btn>
```

### Documentation
Expand Down
6 changes: 4 additions & 2 deletions src/content/docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: "changelog"
description: "Follow the latest Lapikit developments, updates and fixes. Transparency and continuous improvement for your components."
title: 'changelog'
description: 'Follow the latest Lapikit developments, updates and fixes. Transparency and continuous improvement for your components.'
---

# Changelog

<p>Changelog Content</p>
4 changes: 2 additions & 2 deletions src/lib/@legacy/background-star.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions src/lib/@legacy/earth-moon-lapikit.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
18 changes: 0 additions & 18 deletions src/plugins/lapikit.ts

This file was deleted.

Loading