Major overhaul to the theme and now functioning.

This commit is contained in:
2026-01-05 16:07:30 -05:00
parent 5823ca3c39
commit a475dfeab6
5218 changed files with 1643729 additions and 13229 deletions
@@ -0,0 +1,25 @@
// Types
import type { Ref } from 'vue';
export interface ElevationProps {
elevation?: number | string | null;
}
// Composables
export declare const makeElevationProps: <Defaults extends {
elevation?: unknown;
} = {}>(defaults?: Defaults | undefined) => {
elevation: unknown extends Defaults["elevation"] ? {
type: (NumberConstructor | StringConstructor)[];
validator(v: any): boolean;
} : Omit<{
type: (NumberConstructor | StringConstructor)[];
validator(v: any): boolean;
}, "default" | "type"> & {
type: import("vue").PropType<unknown extends Defaults["elevation"] ? string | number : string | number | Defaults["elevation"]>;
default: unknown extends Defaults["elevation"] ? string | number : Defaults["elevation"] | NonNullable<string | number>;
};
};
type ElevationData = {
elevationClasses: Ref<string[]>;
};
export declare function useElevation(props: ElevationProps | Ref<number | string | undefined>): ElevationData;