fix css references to make suitable for import
This commit is contained in:
@@ -462,7 +462,7 @@
|
|||||||
{/snippet}
|
{/snippet}
|
||||||
|
|
||||||
<style lang="postcss">
|
<style lang="postcss">
|
||||||
@reference "../app.css";
|
@reference "./styles/theme.css";
|
||||||
|
|
||||||
.picker {
|
.picker {
|
||||||
--outer-gap: 0.5rem;
|
--outer-gap: 0.5rem;
|
||||||
|
|||||||
@@ -311,7 +311,7 @@
|
|||||||
{/snippet}
|
{/snippet}
|
||||||
|
|
||||||
<style lang="postcss">
|
<style lang="postcss">
|
||||||
@reference "$lib/styles/theme.css";
|
@reference "./styles/theme.css";
|
||||||
|
|
||||||
.date-input {
|
.date-input {
|
||||||
@apply ring-accent dark:ring-accent/50 h-6 min-w-[1ch] outline-0 transition-all focus:ring-2;
|
@apply ring-accent dark:ring-accent/50 h-6 min-w-[1ch] outline-0 transition-all focus:ring-2;
|
||||||
|
|||||||
@@ -1,8 +1,16 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
let { size }: { size: string } = $props();
|
import type { ClassValue } from 'svelte/elements';
|
||||||
|
|
||||||
|
interface Props {
|
||||||
|
size: string;
|
||||||
|
class?: ClassValue;
|
||||||
|
color?: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
let { size, class: classValue, color = '#fff' }: Props = $props();
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="lds-ring" style="--size: {size}">
|
<div class={['lds-ring border-white', classValue]} style="--size: {size};--color: {color}">
|
||||||
<div></div>
|
<div></div>
|
||||||
<div></div>
|
<div></div>
|
||||||
<div></div>
|
<div></div>
|
||||||
|
|||||||
@@ -435,7 +435,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<style lang="postcss">
|
<style lang="postcss">
|
||||||
@reference "../app.css";
|
@reference "./styles/theme.css";
|
||||||
|
|
||||||
:global(.circle-initial) {
|
:global(.circle-initial) {
|
||||||
transition: opacity 1s;
|
transition: opacity 1s;
|
||||||
|
|||||||
@@ -363,7 +363,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<style lang="postcss">
|
<style lang="postcss">
|
||||||
@reference "../app.css";
|
@reference "./styles/theme.css";
|
||||||
|
|
||||||
:global(.time-input) {
|
:global(.time-input) {
|
||||||
@apply h-16 w-24 text-center text-xl;
|
@apply h-16 w-24 text-center text-xl;
|
||||||
|
|||||||
@@ -5,6 +5,8 @@
|
|||||||
@plugin '@tailwindcss/container-queries';
|
@plugin '@tailwindcss/container-queries';
|
||||||
@plugin 'tailwindcss-animate';
|
@plugin 'tailwindcss-animate';
|
||||||
|
|
||||||
|
@custom-variant dark (&:where(.dark, .dark *));
|
||||||
|
|
||||||
@theme {
|
@theme {
|
||||||
/* Fonts - easily overrideable */
|
/* Fonts - easily overrideable */
|
||||||
--font-*: initial;
|
--font-*: initial;
|
||||||
|
|||||||
Reference in New Issue
Block a user