fix: port to core 5

This commit is contained in:
TrèsAbhi committed 2024-09-08 10:46:12 -05:00
1 parent 3d23ea1497
commit 7249c3be9e
24 files changed
+41 -53

No files matched your search

-1
View File
@@ -1,4 +1,3 @@
export * from '../../../website/src/core/blitzkit/tankCharacteristics';
export * from './assertSecret';
export * from './asset';
export * from './availableProvisions';
+1 -1
View File
@@ -1,4 +1,4 @@
import { context } from '@blitzkit/core/src/blitzkit/context';
import { context } from '@blitzkit/core';
export function withCORSProxy(url: string) {
return context === 'website'
-1
View File
@@ -6,7 +6,6 @@ export * from './imgur';
export * from './math';
export * from './patreon';
export * from './protobuf';
export * from './radix';
export * from './statistics';
export * from './streams';
export * from './types';
-1
View File
@@ -1 +0,0 @@
export * from './var';
-9
View File
@@ -1,9 +0,0 @@
type Name =
| `color-${'background' | `panel-${'solid' | 'translucent'}` | 'surface' | 'overlay'}`
| `radius-${1 | 2 | 3 | 4 | 5 | 6 | 'full'}`
| `space-${1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9}`
| string;
export function Var(name: Name) {
return `var(--${name})`;
}
+1 -5
View File
@@ -1,8 +1,4 @@
{
"extends": "../../tsconfig.json",
"include": [
"src/**/*",
"../website/src/core/blitzkit/filterTank.ts",
"../website/src/core/blitzkit/tankCharacteristics.ts"
, "../scripts/src/core/blitz/writeDVPL.ts" ]
"include": ["src/**/*", "../website/src/core/radix/var.ts"]
}