https://ton.org/en/brand-assets
Atomic CSS
.atom {
@apply ... (tw-classes)
}
Atomic Components using Declarative components with Raw Framework
import { tags } from './package/raw'
const { div, button } = tags;
export const Button = () => {
return (
div(
{ className='px-2 py-2 h-full flex' },
button(
{ class: "custom-classname", variant="default" },
'Cross-platform button (default)'
)
);
};
ton-design-system/registry
next-typescript
rn-typescript
npx "@designervoid/ton-design-system"@"latest" cli -g
npx "@designervoid/ton-design-system"@"latest" cli -t
npx "@designervoid/ton-design-system"@"latest" cli -tds
MIT