Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #56

Merged
merged 2 commits into from
May 13, 2024
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
1 change: 0 additions & 1 deletion Crypto

This file was deleted.

25 changes: 24 additions & 1 deletion src/routes/+layout.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,29 @@
<script lang="ts">
import { SvelteToast } from '@zerodevx/svelte-toast';
import '../app.css';

import { settings } from 'svelte-ux';

settings({
components: {
Button: {
// same as <Button class="flex-2">
classes: 'flex-2',
// All component that wrap Button will also use this variant by default,
variant: 'outline'
},
Field: {
// All components based on Field will use this as well.
labelPlacement: 'top'
},
MultiSelect: {
classes: {
root: 'text-white'
}
}
}
});
</script>

<SvelteToast />
<slot />
<slot />
2 changes: 1 addition & 1 deletion src/routes/app/devices/[dev_eui]/history/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
<DateRangeField bind:value stepper rounded center />
</div>

<div class="grid lg:grid-flow-col grid-flow-rowgrid-cols-1 md:grid-cols-2 my-4 gap-2">
<div class="grid lg:grid-flow-col grid-flow-rowgrid-cols-1 md:grid-cols-2 my-4 gap-2 text-white">
<DarkCard2>
<MultiSelect
{options}
Expand Down
3 changes: 2 additions & 1 deletion themes.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"danger": "#ff8f8f",
"surface-100": "#FFFEF4",
"surface-200": "#F2F2F2",
"surface-300": "#E5E6E6"
"surface-300": "#E5E6E6",
"surface-content": "#A6ADBB"
}

}