@grfzhl/runite
v0.2.11
Published
a lightweight frontend framework library
Downloads
117
Maintainers
Readme
runite
A lightweight frontend framework library for mithril
runite is based on the style library rovolon which provides a ready-to-go design system based on open-props.
This package is still under development - There is no permanent structure or API yet.
Add new components
Create a new UI component with bun generate ui-component
Usage
install with
bun add @grfzhl/runite
then you can use it in your view by loading a component and importing it
import { Demo } from '@grfzhl/runite';
m(Demo)
Load themes
You can load themes from rovolon by importing the index file of the
theme with the proper theme-key as filename from /assets/style/theme/
.
Then you can load the compiled theme css file in your html file.
The import should be ruled as the theme
layer:
@import url('@grfzhl/rovolon/dist/ocean/theme.css') layer(theme);
Feedback
If you have any feedback, please reach out to us at [email protected]
Authors
Future improvements
A list of things that should be done differently or need to be scalable, which is by now just a workaround to get started quickly
- build process must me more accurate, also the build process contains parts, that are coupled to the rovolon library
- adding a project scaffolding
- css modules are loaded in a whole, but it should be looked up in code, which ones are used
- any labels should be parametrized to let the project handle the i18n