Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/naasking/higherlogics.web.windmill

Simplify using Windmill dashboard elements via razor tag helpers
https://github.com/naasking/higherlogics.web.windmill

Last synced: 9 days ago
JSON representation

Simplify using Windmill dashboard elements via razor tag helpers

Awesome Lists containing this project

README

        

# HigherLogics.Web.Windmill

This is an experimental library that provides a simpler interface to using the excellent Windmill dashboard UI:

https://github.com/estevanmaito/windmill-dashboard

Getting used to and remembering all of the atomic styles to apply to various elements and how the
HTML should be structured can be hard, especially if you're new to atomic CSS and tailwind, so this
library provides tag helpers that apply the base styles to the basic elements, and provide
elements that are hopefully easier to remember and use.

For instance, if you want an inset icon on your input, instead of remembering all of this markup:


Icon left









You can instead write this simpler markup:










All of the default styling is applied automatically by the tag helpers so you don't need to remember the long atomic CSS
incantations, and you can focus only on the content and minor style tweaks.

I'm not sure if tag helpers are the best way to accomplish this, so this is a bit of an experiment. It seemed like
the easiest way to parameterize styling and other behaviours.

# Future Work

* The default colours are currently hard-coded into the basic styling, but I'd like to remove those and make them parameters.