-
Notifications
You must be signed in to change notification settings - Fork 0
Features
To edit a CSS-variable expand the menu tab and edit the value of the editor.
There are 3 different types of editors.
The standard text-editor is a simple textinput. It is mostly used for sizes.
When not opened the color-editor displays a preview value of the currently set value. When opening the editor by clicking on the preview, a color picker is will open. In that color picker you are able to choose a color in HEX, RGBA or HSLA format.
By pressing the button with the two arrows next to the color preview of the color-editor, the color-editor will be replaced by a text input field. This mode was included, so gradients and more values can be entered into color fields, which would not be possible with a color picker.
Next to the editors there are buttons which will either change the type of the editor or will alter the value of the editor.
The 'undo' button reverts the changes made to the editor to the default value. The default value gets set at the very start and is set to the variable's value of the loaded color-scheme/theme. The default value is set to a different value, when the color-scheme/theme is changed in express-mode.

The 'show text' button is exclusive to color-editors. When clicking the button the color picker is replaced by a textinput or the other way around. It was introduced so gradients could be added to color variables.

The transparent button is also exclusive to color-editors. When clicking it, the value of the variable gets set to 'transparent'.

The application frame of the ReactUI has three images: login, menu and collapsed menu. All of them can be replaced by uploading the new images. When the designer is started with the ReactUI (or you cloned this project, run in standalone mode, added a valid upload-url and have a VisionX server running in the background), you are able to upload the files directly to the server. You will get feedback if the upload was successful or not.
After creating your own color-scheme and theme, you are able to download the generated CSS-files and/or upload them to the server. Enter a name for your color-scheme and theme to create a new one or use an already existing one to overwrite that file.
To download the CSS-files click the 'download' button below the color-scheme/theme name editors. You may need to allow that your browser is able to download multiple files. The downloaded files need to be added into the 'color-schemes' respectively 'themes' directory in your 'ui/public' directory.
When the designer is started with the ReactUI (or you cloned this project, run in standalone mode, added a valid upload-url and have a VisionX server running in the background), you are able to upload the files directly to the server. Simply press the 'save' button below the color-scheme/theme name editors, you will get feedback if the upload was successful or not. The uploaded files will be added into the 'color-schemes' respectively 'themes' directory in your 'ui/public' directory.
By pressing the button with the 'fast forward' icon in the topbar the Express-Mode popup will open. In the Express-Mode you are able to quickly change between preset color-schemes and themes or create a completely new color-scheme based on a single color.
If you want to change the currently selected color-scheme/theme you can select another one of the pre-made ones the ReactUI has to offer, after confirming, the styles get applied. This sets the default values when clicking 'undo'.

After entering a name for your custom scheme, the color picker gets enabled, after choosing a color and if the scheme should be in dark-mode or not, a new scheme is created based on the chosen color.


There is also the option to reset the current changes and go back to default/factory.
By pressing the 'undo' button in the topbar of the designer, you will be asked if you want to reset the changes, when confirming all values are being reset to default. The default values are the values, the designer sets when initially loading or when a preset is being selected in the Express-Mode.
If there are changes which are to be resetted to default but the default color-scheme/theme has already been overwritten and is not restorable, you can press the 'factory' button in the topbar of the designer to reset your style to the 'default' color-scheme and 'basti' theme.