Update - Release 4
New features:
* Preview selection colors now finally include the Condition and Action selection borders.
* New scrollable embedded help with information on controls, interface, workflow, examples, and more. (M-Click to toggle XML view)
* Color hue name display, shows name of nearest Primary, Secondary, Tertiary, or Quaternary color, for a total of 24 names evenly spaced around the color wheel.
* Color Hue preview bar has a variety of display styles. (hover and Mouse Wheel to change style.)
* Color Hue preview bar styles with variant hues or hue gradients can be right clicked to adjust the current Hue. This is handy for uniformly rotating the hue of several elements in quick succession.
* Added optional toggleable Hue Zone modifiers. Press "W" to display the hue strips as separated bars. Press "Q" for partial desaturation.
* 15 new themes come with the download, combined with the prior 25, for a total of 40 themes in all, including some variations.
* Various bug fixes, and optimizations.
* Happy Valentines Day, all. :)
Download
ThemeEditor_r4_(win64).zip
ThemeEditor_r4_(win32).zip
Themes Bundle - Fisholith Themes v2.zip
(This is the Themes bundle, by itself. Note, the Editor downloads include this bundle.)
Theme Editor r4
Update - Release 3
New features:
* Click directly on the live preview area to select an element for editing. (Middle click to toggle selection view now.)
* Undo-Redo system with 1000 states.
* Move swatch selection with arrow keys. (So you can keep the mouse over the color picker while changing swatches.)
* Gradient tool, lets you make a gradient between any two colors for use as a custom color picker.
* Custom color swatches, for temporarily storing relevant colors separately from the theme swatch list.
* Fullscreen mode.
* Buttons and edit box use dark colors to better fit the overall UI scheme, and reduce unnecessary contrast.
* Other UI details refined: e.g. Each group of buttons now have a unified highlight color.
* Added faint white grid lines to pickers for visibility in dark regions.
* Added a console to aid with diagnostics when troubleshooting, and to provide special features accessed via commands.
* Fix: Preview image no longer saves with gray flecks at the corners.
Gradient picker
Right click on the left or right side of the gradient to set the current color as an edge-color for the gradient.
Likewise while performing any color picking action you can hold "<" or ">" keys or "A" or "S" keys to set the left and right gradient colors. By any color picking action I mean anything action that sets the color of a swatch, so a left-click in a color picker or a right-click anywhere on the screen will both work. (e.g. If you right click a color in the preview area while holding the "A" key, it will be set as the left edge color for the gradient.)
Console
Open the console with the F5 key.
Enter a command name, followed by a comma and arguments if any.
Commands are listed below.
showDisplayStats
Shows info about the monitor and Device Pixel Ratio (DPR).
scroll
Toggles free camera scrolling over the UI for monitor accessibility issues. Use {U,H,J,K} keys to move camera.
scale , <scaleFactor>
Scales the entire UI by the given scale factor.
e.g. "scale , 2" will scale the UI up by 2x.
unscale , <inverseScaleFactor>
Scales the entire UI by 1 divided by the given scale factor.
This is handy if you know your computer is scaling up by a factor, and you want to undo that scaling.
e.g. "unscale , 2" will scale the UI down by 1/2x or 0.5x.
e.g. "unscale , 1.5" will scale the UI back to normal if your computer is already scaling it up by 1.5x.
Update - Release 2
New features:
* C2 Theme Editor can now open xml theme files directly.
* You can now easily save preview images in both normal-color and selection-color modes.
* There's a preview mode switch button right beside the "Save Preview" button on the top bar.
* All buttons now give tool tips when you hover your mouse over them.
* Hex color code text box now applies it's color the instant it's changed to any valid hex code.
* Interface has been rearranged to group some features for clarity.
* Each group has an icon, Palette, XML, Preview, Reset.
* Icon for taskbar and window title added.
* Bunch of small bugs fixed in color updating, and preview display.
Hi all, :)
I built a program to make it easier to quickly create and preview color themes for Construct 2.
C2's themes folder (Win7): "Program Files\Construct 2\themes"
You don't have to restart C2 to test new themes, but you do have to close event sheets and reopen them to see the theme change take full effect.
In addition to importing and exporting xml theme files, the theme editor can import and export palette images.
These palette images are regular png files. You can open a palette image and the program will load the theme colors directly out of it just like an xml theme file. One of the benefits of the palette images is that you can edit the colors of a palette image in any paint program, and then re-open it in the editor and export a new XML theme.
... and you can copy and paste hex codes. I like hex codes. :]
Feel free to post any themes you make in this thread.
Or if you think others might be interested in your theme, there's a dedicated Share your C2 themes thread.
Screenshots
Showing the default C2 theme
Showing a custom dark theme
Clicking on the preview toggles normal vs selection colors
Clicking on the preview toggles normal vs selection colors on the dark theme
Hovering over "Hide" darkens the UI so you can double check the preview colors without the bright color zones flanking it.
Right click the color pick zones to toggle grids.
Middle click them to toggle pips.
On the hue picker the pips indicate primary, secondary, tertiary, and ... "quaternary" colors.
Palette images for Default-C2 and Dark themes. (As mentioned above, these are the palette images that the program opens)
Color list and preview for the Autumn color theme I made as a test.
Also, thanks to R0J0hound for suggesting looking into the Snapshot Canvas code, when I was trying to get the screenshot functionality of my custom color plugin working. I got it working, and my theme editor makes use of it to support the "pick color from anywhere" feature.
Example Theme files
All themes shown below are included in the main download above, but you can also download them as a separate bundle from the following link.
C2 themes - Fisholith bundle v2.zip
Click any image to see a full-sized version.
fi_AmigaWB
fi_Autumn
fi_Clean
fi_CleanGallium
fi_Felt
fi_Flat
fi_Gallium
fi_Hydrogen
fi_Hydrogen_selC2
fi_Marble
fi_NeonPhoenix
fi_NightSky
fi_RedTail
fi_RedTail_selPink
fi_Sandy
fi_ScirraSite
fi_ScirraSite_selOrange
fi_SeaNav
fi_SedonaCandyShop
fi_SlateAzure
fi_SlateIndigo
fi_SlateNixie
fi_SlateNixie_OliveAccent
fi_SlateNixie_VioletAccent
fi_SpruceWoods
All feedback is welcome.