Files
crashtestdev/astro.config.mjs
Ken 0fda2d83eb
Deploy to Cloudflare Pages / deploy (push) Failing after 1m16s
feat: migrate hosting to Cloudflare Pages via git.ampbox.io
- Update site URL to https://crashtestdev.com, remove /crashtestdev base path
- Add Gitea Actions workflow for Cloudflare Pages deployment
- Remove GitHub Actions workflows (GitHub Pages + legacy Azure SWA)
- Update tests to match new site config

🤖 Generated with [Amplifier](https://github.com/microsoft/amplifier)

Co-Authored-By: Amplifier <240397093+microsoft-amplifier@users.noreply.github.com>
2026-05-27 22:51:18 +00:00

78 lines
1.9 KiB
JavaScript

import { defineConfig } from 'astro/config';
import mdx from '@astrojs/mdx';
const workbenchTheme = {
name: 'workbench',
type: 'light',
colors: {
'editor.background': '#EEEAE2',
'editor.foreground': '#3D342E',
},
tokenColors: [
{
scope: ['comment', 'comment.line', 'comment.block'],
settings: { foreground: '#948880', fontStyle: 'italic' },
},
{
scope: ['keyword', 'storage', 'keyword.control'],
settings: { foreground: '#A0522D' },
},
{
scope: ['string', 'string.template'],
settings: { foreground: '#7D6C2F' },
},
{
scope: ['constant', 'constant.numeric', 'constant.language'],
settings: { foreground: '#7D6C2F' },
},
{
scope: ['entity.name.function', 'support.function'],
settings: { foreground: '#2B2421', fontStyle: 'bold' },
},
{
scope: ['entity.name.type', 'entity.name.class', 'support.type'],
settings: { foreground: '#B07051' },
},
{
scope: ['variable', 'variable.other'],
settings: { foreground: '#3D342E' },
},
{
scope: ['punctuation', 'punctuation.definition', 'punctuation.separator'],
settings: { foreground: '#6B5F55' },
},
{
scope: ['entity.name.tag'],
settings: { foreground: '#A0522D' },
},
{
scope: ['entity.other.attribute-name'],
settings: { foreground: '#7D6C2F' },
},
{
scope: ['support.type.property-name', 'meta.object-literal.key'],
settings: { foreground: '#2B2421' },
},
{
scope: ['keyword.operator', 'keyword.operator.assignment'],
settings: { foreground: '#6B5F55' },
},
{
scope: ['keyword.control.import', 'keyword.control.export'],
settings: { foreground: '#A0522D' },
},
],
};
export default defineConfig({
site: 'https://crashtestdev.com',
integrations: [
mdx(),
],
markdown: {
shikiConfig: {
theme: workbenchTheme,
},
},
});