mirror of
https://github.com/catppuccin/userstyles.git
synced 2026-03-09 00:05:30 +08:00
19 lines
464 B
TypeScript
19 lines
464 B
TypeScript
import CATEGORIES_SCHEMA from "@catppuccin/catppuccin/resources/categories.schema.json" with {
|
|
type: "json",
|
|
};
|
|
import USERSTYLES_SCHEMA from "@/userstyles.schema.json" with {
|
|
type: "json",
|
|
};
|
|
|
|
import * as path from "@std/path";
|
|
|
|
const ROOT = import.meta.dirname;
|
|
if (!ROOT) throw new Error("ROOT was not located.");
|
|
|
|
/**
|
|
* Absolute path to the repository.
|
|
*/
|
|
export const REPO_ROOT = path.join(ROOT, "..");
|
|
|
|
export { CATEGORIES_SCHEMA, USERSTYLES_SCHEMA };
|