Error when using the Theme Wizard
|
Posted
#73351
(In Topic #15346)
|
|
|---|---|
|
Community saint |
Code
The following colour equations could not be resolved, most likely because required colour(s) were not defined anywhere, or because mathematically, there is no solution:
These are the settings I used to attempt to create the new theme: Seed color: 74771E Source theme: My custom theme Algorithm: Equations Dark theme: Unchecked Inherit CSS from default theme: Unchecked This works properly if I use the default theme as a source. I am surprised that there would be an issue since my custom theme is basically the default theme with just a handful of changes. Is the only solution to use base it off the default theme and then re-implement all my changes. Anyone know a way to make this work using my custom theme as the source? Bob |
|
Posted
|
|
|
ocStaff (admin) |
If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
|
Community saint |
I can then export this theme from my development site and import it into the main site (which has identical code) and everything should just work fine? Thanks for your help. Bob |
|
Posted
|
|
|
ocStaff (admin) |
All I'm saying really is the equations are quite intricate/specific/needed. The ones with a name anyway. E.g. {$,red_highlights, 80% FF0000 + 20% seed} This defines an intermediate value 'red_highlights' as well as assigning it to the CSS colour spot to the left of the expression. Other equations may then use 'red_highlights' inside the equation (just like 'seed' is in this one). The Theme Wizard does a rather complex mathematically solution process, which obviously fails if values are referenced but no longer defined anywhere. If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
|
Community saint |
Are these bits of code in TPL or CSS files? Would the best solution just be to make sure any code like your example is added back into the appropriate files? As of now I have created my new theme based on the default and then I ran the Integrity check from the Upgrader to identify any files in my previous 'custom' theme and figured I can just diff those against the manual install files and make the same changes in the new theme. Bob |
|
Posted
|
|
|
ocStaff (admin) |
E.g. it says it cannot resolve "wizard, 100% medborder.border" which means "medborder.border" must not be defined. Looking in the default global.css I can see it is defined via a standalone define (as it's one of the fundamental values we use in various files): Code
/* {$,medborder.border, 95% (seed sat_to 33) + 5% !W/B} */
If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
|
Community saint |
Surprisingly, there was no global.css in my previous 'custom' theme; I guess it was drawing those values from the Default theme. I added the global.css file to the previous custom theme (with my one change) and the Theme Wizard ran like a champ and created a new theme with my new colors. I just need to double-check that all my changes carried over. Again, thanks for your patience explaining this. Bob |
|
Posted
|
|
|
Community saint |
This may or may not be helpful or relevant, just an observation from experimenting. When creating a new theme if you start with the default theme and change the color with the theme wizard leave all theme wizard color equations in tact and do not drastically change any of the color values the theme wizard produces. If you do then when you run the theme wizard again it will work but the equations don't match so it produces some really odd looking results. A good example of that is my blue and grey theme. It does work with the theme wizard but I drastically changed some of the color values the theme wizard originally produced. It looks nice as it is but if you try to change colors with the theme wizard….interesting results but ugly as hell lol |
|
Posted
|
|
|
Community saint |
I was fortunate that the 'custom' theme I was using was just the copy of the default theme created at installation with a few changes. I have come across two issues where the Theme Wizard was less than magical. The first is that the extension of the Zone Menu bar under the logo is the wrong color. I thought this might be fixed by running the Logo Wizard but it produces the same results. I will be creating a new logo for the site so this is not a big deal to me but it may be something that the developers want to address: The second issue is that I lost the rounded corners on the IOTD block. I am guessing that the developers would want to address this: Thanks for explaining the potential issues when running the Theme Wizard over a theme already created by the Theme Wizard. Bob EDIT: Nevermind - it appears to be working properly now. I know I cleared the caches several times but I am thinking that I may have forgotten to clear my browser cache. Geez, I'm getting tired of making myself look like an idiot.
Last edit: by BobS
|
1 guests and 0 members have just viewed this: None
Control functions:









Last edit: by