1.0.5 • Published 1 year ago

destyle-ts v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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