Skip to content

tinytek-io/vscode-windcraft

Repository files navigation

WindCraft

WindCraft is a small tool for visually editing Tailwind CSS classes. It aims to provide a simple and intuitive way to create Tailwind CSS classes without having to remember all the class names or managing the long class names.

Features

Flex Layout

Tip: Tailwind CSS classes are added to the element as you edit the properties. You can see the classes added in the class attribute of the element.

Requirements

This extension depends on Tailwind CSS v4.x

Extension Settings

This extension contributes the following settings:

  • windcraft.themeFile: Tailwind CSS theme css file path. (Defaults to project main.css or the Tailwind CSS theme.css package file)

Known Issues

  • Currently might add more styles than needed - working on a way to reduce the number of classes added
  • Performance / Accessibility / Usability improvements in planned

Release Notes

Preview release of WindCraft - a visual Tailwind CSS editor.

0.0.4

  • Enable WindCraft to add the ClassName property to JSX elements in TypeScript files.
  • Added additional decorator for showing the empty className attribute in JSX elements.
  • Fixed issue when scroll updating values in the editor, updates are now more accurate.
  • Fixed issue where some classNames in scope should not be inherited by the child elements e.g. "flex" class should not be inherited by the child elements.

Add ClassName

Next Release

  • Add preview mode to see the changes in real-time
  • Add tooltips on all buttons and inputs to help users understand what each button does
  • Improve accessibility and usability of the editor
  • Add support for design system tokens

For more information

Enjoy!

About

Pre-release: VS Code extension for making front-end development a breeze

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Contributors 2

  •  
  •