#1 css themes

Closed
opened 1 day ago by cube · 3 comments
cube commented 1 day ago

currently themes are stored 1 colour at a time in the database, which is then inserted into inline css. this is kind of stupid. just create separate css files for different pre-defined themes (e.g. purple, green, blue, pink, whatever) and the user will select it from a list in the edit profile. this also makes it easier for the end user who doesnt have to manually select individual colours and keep tabbing out to test the outcome

currently themes are stored 1 colour at a time in the database, which is then inserted into inline css. <b>this is kind of stupid</b>. just create separate css files for different pre-defined themes (e.g. purple, green, blue, pink, whatever) and the user will select it from a list in the edit profile. this also makes it easier for the end user who doesnt have to manually select individual colours and keep tabbing out to test the outcome
cube added the
enhancement
label 1 day ago
cube commented 1 day ago
Owner

importing pre-set themes would work on member pages easily enough, but the little profile cards would still be using css targets on each dynamically generated card (also if removing colours in the database, the entire code where fields after the colours are referenced will need to be changed)

importing pre-set themes would work on member pages easily enough, but the little profile cards would still be using css targets on each dynamically generated card (also if removing colours in the database, the entire code where fields after the colours are referenced will need to be changed)
cube added the
a big one
label 1 day ago
cube commented 1 day ago
Owner

working on this. make sure to put the {{theme_name}} in the profile div class on the full/home page

working on this. make sure to put the {{theme_name}} in the profile div class on the full/home page
cube commented 1 day ago
Owner

done - will need to re-init database. just copy and paste styles from the myriad/style/theme folder, rename, and edit values to your desire

done - will need to re-init database. just copy and paste styles from the myriad/style/theme folder, rename, and edit values to your desire
Sign in to join this conversation.
No Milestone
No assignee
1 Participants
Loading...
Cancel
Save
There is no content yet.