Skip to content

Instantly share code, notes, and snippets.

View marek-hanzal's full-sized avatar
😀

Marek Hanzal marek-hanzal

😀
View GitHub Profile
@marek-hanzal
marek-hanzal / tva.ts
Last active April 13, 2025 14:41
A bit different implementation of tailwind-variants; strict, but clean API, extension works perfectly, fully typed
import { twMerge, type ClassNameValue } from "tailwind-merge";
/**
* Recursive proxy; used to hack the type system.
*/
const proxyOf: any = new Proxy(() => proxyOf, {
get: () => proxyOf,
});
export namespace tva {
version: '2'
services:
blackfox:
build: .
image: marekhanzal/blackfox
container_name: blackfox
hostname: blackfox
ports:
- "9088:80"
- "9022:22"