destyle-ts

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


Keywords
destyle, reset, ts, typescript, stitches, react, jsx, css
License
MIT
Install
npm install destyle-ts@1.0.5

Documentation

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