destyle-ts
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

Destyle.ts

Style reset for typescript. Converted desyle.css to style object.

🚀 Install

npm i destyle-ts

📕 Example

Detach default styles example with Stitches.

import { destyle } from 'destyle-ts'

// Stitches
import { globalCss } from '@stitches/react'
const initStyle = globalCss(destyle)

// Root Component
const App = () => {
	return (
		<>
			{initStyle()}
			<YOUR_COMPONENT />
		</>
	)
}

💡 Inspired by

destyle.css

Dependencies (0)

    Dev Dependencies (8)

    Package Sidebar

    Install

    npm i destyle-ts

    Weekly Downloads

    1

    Version

    1.0.5

    License

    MIT

    Unpacked Size

    25.2 kB

    Total Files

    11

    Last publish

    Collaborators

    • nob3110