this not realy enables this feature on the client but you basicly makes a table with the same configuration as in the stylesheets so when your in the live game the styles apply on this way you can experiment with this feature without messing up your UIS
ok lets start with getting the model
this can be from toolbox or creator store
once your ready lets start with the setup
Setup
its a packeage so dont move the templates out of it or autoUpdate will break you need to copy seems i cant publish packages
We need the StyleHandler
folder in ReplicatedStorage
just copy it
once done we actualy setup expect for theme update script what we come to later
first a tutorial about how to use this
tutorial
- in the numeric table (also called an array) we add our tags and the instance it belongs to so if we add tag
Example
toFrame
we add the nameExample
to the tag entry andFrame
to the Element entry
lets dive into the tokens we have another numeric table (also called an array too) where we add the token keys we add into the Tokens.Theme table where Theme is the name of your theme
so we add to our tokens stylesheet an token named TutorialThemeDefouldToken
this we add in our themes stylesheet to Example
where we add that to our tokens table
once done notice we have in our token sheet added a color3 whats green
now go to Tokens.Theme.Token where theme is the Them name and Token the name of the token
notice propertie and valeu now lets say the color is meant for the BackgroundColor3 so the Propertie
key become a string called BackgroundColor3 to the valeu we add the same color as the token in a color3.new just copy the color code from the token and paste it in the color picker
and now any tokens will work the them manager also suports names and even children it works almost the same tokens only for names in this case to use children we set HaveChild to true
and add the childs name to ChildName
nice i hope you can use this to test the new style editor without breaking your UIS if you having trouble just reply here down below
Update Theme
to update an theme you duplicate the tokens and names in the theme in the tables and set all settings for that themes now its as simple as sending an remote event with the new theme Name as argument
That being said install the Model here
also enable https service so when this feature release within a few hours until a day this script will be automaticaly ignored without need of publishing your experience
i let you know when there updates