refactor: switch posts to barrel export

This commit is contained in:
James Xylight committed 2025-09-07 10:20:04 -07:00
1 parent 0281e6f56a
commit bb30a86dc4
47 files changed
+424 -528

No files matched your search

-19
View File
@@ -1,19 +0,0 @@
export const isImage = (url: string | undefined) => {
try {
if (!url) return false
return /\.(jpeg|jpg|gif|png|svg|bmp|webp|avif)/i.test(url)
} catch {
return false
}
}
export const isVideo = (url: string | undefined) => {
try {
if (!url) return false
return /\.(mp4|mov|webm|mkv|avi)/i.test(url)
} catch {
return false
}
}
@@ -1,5 +1,5 @@
import { env } from '$env/dynamic/public'
import type { Theme, ThemeColors } from './colors.svelte'
import type { Theme, ThemeColors } from './theme.svelte'
const PHOTON_DEFAULT = {
slate: {
File renamed without changes.