Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
| faq:syntax-highlighting-style-priorities [2018/01/10 19:43] – external edit 127.0.0.1 | faq:syntax-highlighting-style-priorities [2018/04/13 14:38] (current) – admin | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| The following rules are used for merging: | The following rules are used for merging: | ||
| - | * Font properties (italic/ | + | * Font properties (italic/ |
| * Color properties (foreground and background, underline and box colors) are merged using alpha values of the corresponding color property. If alpha of the top style 100% color of the resulting style will be equal to the color of the bottom style. If alpha of the top stale 0% color of the resulting style will be equal to top color. If alpha is 50%, the color of resulting style will be equal to color mixture of the top and bottom style colors. Changing of the alpha value you can influence resulting color. | * Color properties (foreground and background, underline and box colors) are merged using alpha values of the corresponding color property. If alpha of the top style 100% color of the resulting style will be equal to the color of the bottom style. If alpha of the top stale 0% color of the resulting style will be equal to top color. If alpha is 50%, the color of resulting style will be equal to color mixture of the top and bottom style colors. Changing of the alpha value you can influence resulting color. | ||