| Both sides previous revision Previous revision Next revision | Previous revision |
| options:color-scheme [2016/09/05 15:12] – admin | options:color-scheme [2018/01/10 20:41] (current) – external edit 127.0.0.1 |
|---|
| |
| ===== Color Scheme ===== | ===== Color Scheme ===== |
| {{ :options:color-schemes-list.png?200|}}There are only several schemes that come preinstalled together with HippoEDIT, but you can always download new ones from the website. Not installed schemes indicated in the drop-down list of the themes with gray color. If you select one such scheme, you will be asked for downloading and installing the schemes. In addition to changing of the current theme, there are options for: | {{ :options:color-schemes-list.png?150|}}There are only several schemes that come preinstalled together with HippoEDIT, but you can always download new ones from the website. Not installed schemes indicated in the drop-down list of the themes with gray color. If you select one such scheme, you will be asked for downloading and installing the schemes. In addition to changing of the current theme, there are options for: |
| * **Save As...** - allowing to copy currently selected scheme with a new name and working on it further | * **Save As...** copies currently selected scheme with a new name |
| * **Delete** of current scheme (**can not be undone**!) | * **Delete** of current scheme (**can not be undone**!) |
| |
| <note important>Do not modify "Default" color scheme, while it can be overwritten by an update and you will lose your changes. Better create a copy of the scheme, using //Save As...// button, and work on it - in such case, you may ensure, that scheme will stay as you have defined it even after application update.</note> | <note important>Do not modify "Default" color scheme, while it can be overwritten by an update and you will lose your changes. Better create a copy of the scheme, using //Save As...// button, and work on it - in such case, you may ensure, that scheme will stay as you have defined it even after application update.</note> |
| |
| ==== Defining a color ==== | ==== Defining a palette color ==== |
| {{ :options:color-schemes-edit-color.png?200|}} | Normally all color schemes contain the same set of named palette colors - in that way switching between schemes done without any issues, while all referencing from syntax definition colors may be found. If some palette color will be not found, the editor will substitute with a default color for that style (in most cases - window text color). Following actions with colors are possible: |
| | * **Add...** calls dialog for adding a new color. **Take care how it will work in other schemes!** |
| | * **Edit...** calls dialog for editing palette color. See [[:options:color-scheme#edit_color|below]]. |
| | * **Delete** deletes palette color. **Take care how it will work in other schemes!** |
| |
| | === Edit color === |
| | {{ :options:color-schemes-edit-color.png?150|Color Edit dialog}} The //Color Edit// dialog used when modifiying the color, adding new color or creating/updating of //<Custom>// color in [[options:syntax:font_and_colors|Fonts & Colors]] dialog for syntax. |
| | * **Name** - name of the color. Obligatory parameter |
| | * **User-defined**. If you select //user-defined// option, you may select any of known, //named colors//, create new //named color// or define //Custom// color, without giving it explicit name (you can not reuse it than). |
| | * **System**. If you select //System//, you may use one of operating system colors. In that way, if you change Windows Theme, all referencing colors will also reflect the change. |
| | For any option above, you may also modify **Alpha** setting. Alpha percentage controls transparency of the color and influence resulting color which will be produced at the end of [[faq:syntax-highlighting-style-priorities|style stapling]]. As higher the //alpha// percentage, as less the color will reflect in resulting color. |
| ===== Contrast ===== | ===== Contrast ===== |
| {{ :options:color-schemes-contrast.png?200|}}//Contrast Ration// is scheme dependent setting, that configures minimal contrast ratio, between text and background. It ensures that text is always visible on any background, resulting of [[faq:syntax-highlighting-style-priorities|style stapling]]. The option may adopt your configured text Foreground color in runtime. | {{ :options:color-schemes-contrast.png?150|}}//Contrast Ration// is scheme dependent setting, that configures minimal contrast ratio, between text and background. It ensures that text is always visible on any background, resulting of [[faq:syntax-highlighting-style-priorities|style stapling]]. The option may adopt your configured text Foreground color in runtime. |
| |
| If you want to keep your colors one-to-one as you have specified them, select "Do not change" option. The default mode is 5:1, ensuring at least 5:1 contrast ratio between text and background. | If you want to keep your colors one-to-one as you have specified them, select "Do not change" option. The default mode is 5:1, ensuring at least 5:1 contrast ratio between text and background. |
| |