Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 26 additions & 1 deletion .stylelintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,25 @@
"overrides": [
{
"customSyntax": "postcss-html",
"files": ["**/*.svelte"]
"files": ["**/*.svelte"],
"rules": {
"csstools/value-no-unknown-custom-properties": [
true,
{
"ignoreLocallyDefined": true,
"importFrom": [
"src/styles/bass.css",
"src/styles/buttons.css",
"src/styles/layout.css",
"src/styles/reset.css",
"src/styles/theme.css",
"src/styles/typography.css",
"src/styles/utilities.css",
"src/styles/variables.css"
]
}
]
}
}
],
"plugins": [
Expand All @@ -18,6 +36,7 @@
"csstools/value-no-unknown-custom-properties": [
true,
{
"ignoreProperties": ["--ideal-font-size", "--max-font-size"],
"importFrom": [
"src/styles/bass.css",
"src/styles/buttons.css",
Expand Down Expand Up @@ -47,6 +66,12 @@
"expandShorthand": true,
"ignoreValues": ["inherit", "unset", "initial", "transparent"]
}
],
"selector-pseudo-class-no-unknown": [
true,
{
"ignorePseudoClasses": ["global"]
}
]
}
}
12 changes: 11 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,26 @@
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"cSpell.words": [
"Aaah",
"consolas",
"Deepgram",
"flushall",
"maxres",
"menlo",
"nohotkeys",
"oklch",
"Oopsie",
"openai",
"pocketcasts",
"popovertarget",
"raah",
"recents",
"shownumber",
"testid",
"Tolinski",
"waait"
"waait",
"wght",
"xtra",
"xxlarge"
]
}
284 changes: 142 additions & 142 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,144 +1,144 @@
{
"name": "syntax",
"version": "3.0.0",
"private": true,
"scripts": {
"dev": "node ./scripts/preheat.js",
"preheat": "node ./scripts/preheat.js --env-only",
"vite-dev": "vite dev",
"copy-files": "zx ./why_do_i_need_this.mjs",
"build": "run-s --print-name build:svelte copy-files",
"build:svelte": "vite build",
"preview": "vite preview",
"test": "svelte-kit sync && playwright test",
"test:ui": "svelte-kit sync && playwright test --ui",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"test:unit": "svelte-kit sync && vitest",
"eslint": "eslint .",
"lint": "prettier --plugin-search-dir . --check . && eslint . && pnpm stylelint",
"format": "prettier --plugin-search-dir . --write .",
"site:update": "pnpm update -i -L",
"db:studio": "prisma studio",
"db:generate": "prisma generate",
"db:push": "prisma db push",
"db:seed": "prisma db seed",
"i-changed-the-schema": "pnpm run db:push && pnpm run db:generate",
"postinstall": "pnpm db:generate && pnpm exec playwright install",
"stylelint": "NODE_OPTIONS=--no-deprecation stylelint \"**/*.css\"",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
},
"devDependencies": {
"@codecov/sveltekit-plugin": "1.9.1",
"@eslint/compat": "^1.3.2",
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.33.0",
"@playwright/test": "^1.54.2",
"@spiriit/vite-plugin-svg-spritemap": "^5.0.0",
"@storybook/addon-docs": "^9.1.2",
"@storybook/addon-queryparams": "^7.0.1",
"@storybook/addon-svelte-csf": "^5.0.7",
"@storybook/sveltekit": "^9.1.2",
"@sveltejs/kit": "^2.27.3",
"@sveltejs/vite-plugin-svelte": "^6.1.1",
"@types/chroma-js": "^3.1.1",
"@types/js-cookie": "^3.0.6",
"@types/node": "^24.2.1",
"@types/speakingurl": "^13.0.6",
"@typescript-eslint/eslint-plugin": "^8.39.0",
"@typescript-eslint/parser": "^8.39.0",
"dotenv": "^17.2.1",
"eslint": "^9.33.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-storybook": "^9.1.2",
"eslint-plugin-svelte": "^3.11.0",
"globals": "^16.3.0",
"mysql2": "^3.14.3",
"postcss": "^8.5.6",
"postcss-custom-media": "^11.0.6",
"postcss-html": "^1.8.0",
"postcss-import": "^16.1.1",
"postcss-import-ext-glob": "^2.1.1",
"postcss-load-config": "^6.0.1",
"postcss-preset-env": "^10.2.4",
"prettier": "^3.6.2",
"prettier-plugin-svelte": "^3.4.0",
"prisma": "6.13.0",
"semver": "^7.7.2",
"storybook": "^9.1.2",
"stylelint": "^16.23.1",
"stylelint-config-standard": "^39.0.0",
"stylelint-declaration-strict-value": "^1.10.11",
"stylelint-media-use-custom-media": "^4.0.0",
"stylelint-no-undefined-classes": "^0.2.0",
"stylelint-value-no-unknown-custom-properties": "^6.0.1",
"svelte": "^5.38.0",
"svelte-check": "^4.3.1",
"svelte-preprocess": "^6.0.3",
"tslib": "^2.8.1",
"typescript": "^5.9.2",
"vite": "^7.1.1",
"vitest": "^3.2.4"
},
"type": "module",
"engines": {
"node": ">=18.13 || ^20",
"pnpm": ">=8"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.6.8",
"@deepgram/sdk": "^2.4.0",
"@ffmpeg.wasm/core-mt": "0.13.2",
"@ffmpeg.wasm/main": "^0.13.1",
"@leveluptuts/svelte-side-menu": "^1.1.0",
"@oddbird/popover-polyfill": "^0.6.1",
"@prisma/client": "6.13.0",
"@sentry/profiling-node": "^10.3.0",
"@sentry/sveltekit": "^10.3.0",
"@sparticuz/chromium": "132.0.0",
"@svelte-put/shortcut": "^4.1.0",
"@sveltejs/adapter-vercel": "^5.8.2",
"@types/core-js": "^2.5.8",
"@upstash/redis": "^1.35.3",
"chroma-js": "^3.1.2",
"core-js": "^3.45.0",
"date-fns": "^4.1.0",
"dotenv-expand": "^12.0.2",
"flexsearch": "^0.8.205",
"gpt-3-encoder": "^1.1.4",
"gray-matter": "^4.0.3",
"js-cookie": "^3.0.5",
"linkedom": "^0.18.11",
"media-chrome": "^4.12.0",
"npm-run-all2": "^8.0.4",
"openai": "^4.93.0",
"p-map": "^7.0.3",
"puppeteer-core": "24.6.1",
"rehype-autolink-headings": "^7.1.0",
"rehype-highlight": "^7.0.2",
"rehype-raw": "^7.0.0",
"rehype-stringify": "^10.0.1",
"remark-gfm": "^4.0.1",
"remark-heading-id": "^1.0.1",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.1.2",
"sk-form-data": "^2.0.2",
"speakingurl": "^14.0.1",
"svelte-french-toast": "1.2.0",
"svelte-local-storage-store": "^0.6.4",
"svelte-turnstile": "^0.11.0",
"sveltekit-search-params": "^3.0.0",
"ts-node": "^10.9.2",
"unified": "^11.0.5",
"waait": "^1.0.5",
"youtube-video-element": "^1.6.2",
"zod": "^4.0.16",
"zx": "^8.8.0"
},
"eslintConfig": {
"extends": [
"plugin:storybook/recommended"
]
}
"name": "syntax",
"version": "3.0.0",
"private": true,
"scripts": {
"dev": "node ./scripts/preheat.js",
"preheat": "node ./scripts/preheat.js --env-only",
"vite-dev": "vite dev",
"copy-files": "zx ./why_do_i_need_this.mjs",
"build": "run-s --print-name build:svelte copy-files",
"build:svelte": "vite build",
"preview": "vite preview",
"test": "svelte-kit sync && playwright test",
"test:ui": "svelte-kit sync && playwright test --ui",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"test:unit": "svelte-kit sync && vitest",
"eslint": "eslint .",
"lint": "prettier --plugin-search-dir . --check . && eslint . && pnpm stylelint",
"format": "prettier --plugin-search-dir . --write .",
"site:update": "pnpm update -i -L",
"db:studio": "prisma studio",
"db:generate": "prisma generate",
"db:push": "prisma db push",
"db:seed": "prisma db seed",
"i-changed-the-schema": "pnpm run db:push && pnpm run db:generate",
"postinstall": "pnpm db:generate && pnpm exec playwright install",
"stylelint": "NODE_OPTIONS=--no-deprecation stylelint \"**/*.{css,svelte}\"",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
},
"devDependencies": {
"@codecov/sveltekit-plugin": "1.9.1",
"@eslint/compat": "^1.3.2",
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.33.0",
"@playwright/test": "^1.54.2",
"@spiriit/vite-plugin-svg-spritemap": "^5.0.0",
"@storybook/addon-docs": "^9.1.2",
"@storybook/addon-queryparams": "^7.0.1",
"@storybook/addon-svelte-csf": "^5.0.7",
"@storybook/sveltekit": "^9.1.2",
"@sveltejs/kit": "^2.27.3",
"@sveltejs/vite-plugin-svelte": "^6.1.1",
"@types/chroma-js": "^3.1.1",
"@types/js-cookie": "^3.0.6",
"@types/node": "^24.2.1",
"@types/speakingurl": "^13.0.6",
"@typescript-eslint/eslint-plugin": "^8.39.0",
"@typescript-eslint/parser": "^8.39.0",
"dotenv": "^17.2.1",
"eslint": "^9.33.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-storybook": "^9.1.2",
"eslint-plugin-svelte": "^3.11.0",
"globals": "^16.3.0",
"mysql2": "^3.14.3",
"postcss": "^8.5.6",
"postcss-custom-media": "^11.0.6",
"postcss-html": "^1.8.0",
"postcss-import": "^16.1.1",
"postcss-import-ext-glob": "^2.1.1",
"postcss-load-config": "^6.0.1",
"postcss-preset-env": "^10.2.4",
"prettier": "^3.6.2",
"prettier-plugin-svelte": "^3.4.0",
"prisma": "6.13.0",
"semver": "^7.7.2",
"storybook": "^9.1.2",
"stylelint": "^16.23.1",
"stylelint-config-standard": "^39.0.0",
"stylelint-declaration-strict-value": "^1.10.11",
"stylelint-media-use-custom-media": "^4.0.0",
"stylelint-no-undefined-classes": "^0.2.0",
"stylelint-value-no-unknown-custom-properties": "^6.0.1",
"svelte": "^5.38.0",
"svelte-check": "^4.3.1",
"svelte-preprocess": "^6.0.3",
"tslib": "^2.8.1",
"typescript": "^5.9.2",
"vite": "^7.1.1",
"vitest": "^3.2.4"
},
"type": "module",
"engines": {
"node": ">=18.13 || ^20",
"pnpm": ">=8"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.6.8",
"@deepgram/sdk": "^2.4.0",
"@ffmpeg.wasm/core-mt": "0.13.2",
"@ffmpeg.wasm/main": "^0.13.1",
"@leveluptuts/svelte-side-menu": "^1.1.0",
"@oddbird/popover-polyfill": "^0.6.1",
"@prisma/client": "6.13.0",
"@sentry/profiling-node": "^10.3.0",
"@sentry/sveltekit": "^10.3.0",
"@sparticuz/chromium": "132.0.0",
"@svelte-put/shortcut": "^4.1.0",
"@sveltejs/adapter-vercel": "^5.8.2",
"@types/core-js": "^2.5.8",
"@upstash/redis": "^1.35.3",
"chroma-js": "^3.1.2",
"core-js": "^3.45.0",
"date-fns": "^4.1.0",
"dotenv-expand": "^12.0.2",
"flexsearch": "^0.8.205",
"gpt-3-encoder": "^1.1.4",
"gray-matter": "^4.0.3",
"js-cookie": "^3.0.5",
"linkedom": "^0.18.11",
"media-chrome": "^4.12.0",
"npm-run-all2": "^8.0.4",
"openai": "^4.93.0",
"p-map": "^7.0.3",
"puppeteer-core": "24.6.1",
"rehype-autolink-headings": "^7.1.0",
"rehype-highlight": "^7.0.2",
"rehype-raw": "^7.0.0",
"rehype-stringify": "^10.0.1",
"remark-gfm": "^4.0.1",
"remark-heading-id": "^1.0.1",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.1.2",
"sk-form-data": "^2.0.2",
"speakingurl": "^14.0.1",
"svelte-french-toast": "1.2.0",
"svelte-local-storage-store": "^0.6.4",
"svelte-turnstile": "^0.11.0",
"sveltekit-search-params": "^3.0.0",
"ts-node": "^10.9.2",
"unified": "^11.0.5",
"waait": "^1.0.5",
"youtube-video-element": "^1.6.2",
"zod": "^4.0.16",
"zx": "^8.8.0"
},
"eslintConfig": {
"extends": [
"plugin:storybook/recommended"
]
}
}
2 changes: 1 addition & 1 deletion src/icons/Icons.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
}

.icon-name {
font-size: var(--fs-caption);
font-size: var(--fs-2);
color: var(--c-fg);
text-align: center;
}
Expand Down
4 changes: 2 additions & 2 deletions src/lib/AdminSearch.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
border: var(--border);
padding: 10px;
font-size: var(--font-size-base);
color: var(--fg);
border-radius: var(--brad);
color: var(--c-fg);
border-radius: var(--br-medium);
}
</style>
3 changes: 2 additions & 1 deletion src/lib/ComponentWindow.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<div class="content">
<Component />
</div>
<div class="full zone" style:--bg="var(--black)" style:--fg="var(--white)">
<div class="full zone" style:--c-bg="var(--c-black)" style:--c-fg="var(--c-white)">
<Component />
</div>
</div>
Expand All @@ -36,6 +36,7 @@
resize: both;
overflow: auto;
border: var(--border);

> span {
position: absolute;
}
Expand Down
Loading
Loading