typefox / langium-ui-framework Goto Github PK
View Code? Open in Web Editor NEWA DSL for generating user interfaces, built with Langium
License: MIT License
A DSL for generating user interfaces, built with Langium
License: MIT License
Example:
.center {}
.center > a {}
Current behavior: If the center
class is called inside of a html element, only the rule for .center
will be in the final stylesheet.
Expected behavior: When the center
class is added to a html element, all nested rules should also be added.
Then we could copy the CSS only if the topbar or footer is used.
Maybe you can set the style of the body at the start of the document like
background: black
It would be a very cool feature if you could import other .sui files and use all components from this file
import example
will import all components from
example.sui
For now, the autocompletion for the CSS classes is hardcoded into the grammar.
We need to move the autocompletion logic into the LSP with custom services
It would be cool if you could give components variables like
component example variables[title, text] {
div classes[border, hidden-border, shadow] {width: "50%"} {
heading $title level: 4
paragraph $text{ width: "50%"}
}
}
And use the component like this
usecomponent example ["Title", "Lorem ipsum dolor sit amet"]
Maybe that's too advanced for now but it would be a very cool feature.
Create a footer like the topbar but on the bottom
Just found out that if the assets directory is empty or doesn't exist it will cancel the build process because the 'cp' command returns an error due to the folder being empty or not existing.
This error currently does not exist in the main branch but we should change it where it exists so that it won't become a problem later
Who: Emil
Status: DONE
At the moment we only have basic stuff like functions and popups (alerts) so we need to add some JavaScript functionality.
The Goal is to have some JavaScript "Toys" like changing CSS properties with the press of a button or with a Timer.
These JavaScript Toys should be simple, not to Specific and also visual so the end-user can see that it's doing something.
Maybe like
link: "homepage.sui"
This should automatically generate
<a href="homepage.html">homepage</a>
and generate the sui file
For now the grammar is very repetitive and is getting more and more difficult to scale and maintain.
Need to be refactored so it is easier to implement new features without having to modify the existing ones.
The idea is to have the possibility to add
These sections could later be referenced for the navigation in the header/footer
It only does
<
becomes >
>
becomes <
in the current pull request.
I will try something like this: Jsfiddle
Create examples for general purpose styles for advanced and easy use of CSS (maybe like Tailwind or Flutter)
In order to explain to others how to use SimpleUI, we should write a README.md file.
We should add autocompletion also for CSS Properties.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.