Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/danielroe/roe.dev. This is the code and content for my personal website, built in Nuxt. roe.dev
Something went wrong. Try again.
TypeScript
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384/* * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT. */
import { l } from '@atproto/lex-schema'import * as ThemeColor from './color.defs.ts'
const $nsid = 'site.standard.theme.basic'
type $nsid = typeof $nsid
export { $nsid }
/** A simplified theme definition for publications, providing basic color customization for content display across different platforms and applications. */type Main = { $type: 'site.standard.theme.basic'
/** * Color used for links and button backgrounds. */ accent: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject
/** * Color used for content background. */ background: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject
/** * Color used for content text. */ foreground: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject
/** * Color used for button text. */ accentForeground: l.$Typed<ThemeColor.Rgb> | l.Unknown$TypedObject}
export type { Main }
/** A simplified theme definition for publications, providing basic color customization for content display across different platforms and applications. */const main = /*#__PURE__*/ l.record<'tid', Main>( 'tid', $nsid, /*#__PURE__*/ l.object({ accent: /*#__PURE__*/ l.typedUnion( [/*#__PURE__*/ l.typedRef<ThemeColor.Rgb>((() => ThemeColor.rgb) as any)], false, ), background: /*#__PURE__*/ l.typedUnion( [/*#__PURE__*/ l.typedRef<ThemeColor.Rgb>((() => ThemeColor.rgb) as any)], false, ), foreground: /*#__PURE__*/ l.typedUnion( [/*#__PURE__*/ l.typedRef<ThemeColor.Rgb>((() => ThemeColor.rgb) as any)], false, ), accentForeground: /*#__PURE__*/ l.typedUnion( [/*#__PURE__*/ l.typedRef<ThemeColor.Rgb>((() => ThemeColor.rgb) as any)], false, ), }),)
export { main }
const $type = $nsid
type $type = typeof $type
export { $type }
export const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main)export const $build = /*#__PURE__*/ main.build.bind(main)export const $assert = /*#__PURE__*/ main.assert.bind(main)export const $check = /*#__PURE__*/ main.check.bind(main)export const $cast = /*#__PURE__*/ main.cast.bind(main)export const $ifMatches = /*#__PURE__*/ main.ifMatches.bind(main)export const $matches = /*#__PURE__*/ main.matches.bind(main)export const $parse = /*#__PURE__*/ main.parse.bind(main)export const $safeParse = /*#__PURE__*/ main.safeParse.bind(main)export const $validate = /*#__PURE__*/ main.validate.bind(main)export const $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main)