https://ton.org/en/brand-assets
/
@designervoid/ton-design-system
/
lib/
folder
20.8 kB
package/
folder
13.3 kB
public/
folder
28.3 kB
LICENSE.md
text/markdown
1.09 kB
README.md
text/markdown
2.03 kB
package.json
application/json
516 B
git count-objects -vH
count: 733
size: 3.45 MiB
in-pack: 1666
packs: 2
size-pack: 3.20 MiB
prune-packable: 55
garbage: 0
size-garbage: 0 bytes
-
Advantages of TailwindCSS
TailwindCSS offers flexibility and scalability with its utility-first approach.
It allows for fast, customizable UI development without imposing design constraints. -
Awesome DX (Developer Experience)
TailwindCSS improves developer experience by offering instant feedback, comprehensive documentation, and tools like
rsbuild
for optimized development workflows. -
Atomic CSS
TailwindCSS automates the generation of atomic classes, where each class does one specific thing, ensuring small, reusable, and predictable CSS.
-
Design Tokens
Design tokens provide a system for values like colors, typography, and spacing.
The example includes the golden ratio for generating dynamic spacing, font sizes, and more, ensuring design consistency across the app. -
Lightweight
TailwindCSS is lightweight, especially with tools like patterns-vanjs, which offer a lean, production-ready solution for creating fast and optimized products.
-
Ready to go patterns
A folder (registry/patterns) with pre-built, customizable UI patterns, enabling quick prototyping and reusable components for rapid development.
Checkout stable patterns. -
CLI
You can copy projects and components from the
registry
with the CLI. See TDS Wiki Quick Start.
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)'
)
);
};
- Examples of usages within
ton-design-system/registry
- Example of usage with
next-typescript
- Example of usage with
rn-typescript
MIT