mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +02:00
fix: port to core 5
This commit is contained in:
1 parent
3d23ea1497
commit
7249c3be9e
24 files changed
+41
-53
No files matched your search
@@ -1,4 +1,3 @@
|
||||
export * from '../../../website/src/core/blitzkit/tankCharacteristics';
|
||||
export * from './assertSecret';
|
||||
export * from './asset';
|
||||
export * from './availableProvisions';
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -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 +0,0 @@
|
||||
export * from './var';
|
||||
@@ -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})`;
|
||||
}
|
||||
Reference in new issue
Block a user