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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.5
    3
    • latest

Version History

Package Sidebar

Install

npm i destyle-ts

Weekly Downloads

3

Version

1.0.5

License

MIT

Unpacked Size

25.2 kB

Total Files

11

Last publish

Collaborators

  • nob3110