@grfzhl/runite
TypeScript icon, indicating that this package has built-in type declarations

0.1.12 • Public • Published

runite

A lightweight frontend framework library for mithril

MIT License

runite is based on the style library rovolon which provides a ready-to-go design system based on open-props.

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/surgery/theme.css') layer(theme);

Feedback

If you have any feedback, please reach out to us at info@grafzahl.io

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

Package Sidebar

Install

npm i @grfzhl/runite

Weekly Downloads

13

Version

0.1.12

License

MIT

Unpacked Size

4.85 MB

Total Files

141

Last publish

Collaborators

  • grafzahl-io