[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Git][gambas/gambas][master] 2 commits: 'Color.Contrast()' is a new method that returns the contrast between two...
[Thread Prev] | [Thread Next]
- Subject: [Git][gambas/gambas][master] 2 commits: 'Color.Contrast()' is a new method that returns the contrast between two...
- From: Benoît Minisini (@bminisini) <gitlab@xxxxxxxxxxxxx>
- Reply-to: noreply@xxxxxxxxxx
- Date: Mon, 07 Apr 2025 01:58:22 +0000
- To: notification@xxxxxxxxxxxxxxxxxxxxxx
Benoît Minisini pushed to branch master at Gambas / gambas Commits: 06eb4f2b by Benoît Minisini at 2025-04-07T03:55:31+02:00 'Color.Contrast()' is a new method that returns the contrast between two colors as a number between 0 (same color) and 1 (maximum contrast). [GB.IMAGE] * NEW: 'Color.Contrast()' is a new method that returns the contrast between two colors as a number between 0 (same color) and 1 (maximum contrast). - - - - - 1c95f2f2 by Benoît Minisini at 2025-04-07T03:58:10+02:00 Adapt a theme to a background color by fixing colors having not enough contrast. Fix theme initialization. Clean up highlighting themes. [GB.HIGHLIGHT] * BUG: Do not crash when initializing a theme. * BUG: Clean up default highlighting themes. * NEW: Adapt a theme to a background color by fixing colors having not enough contrast. - - - - - 17 changed files: - comp/src/gb.highlight/.src/TextHighlighterTheme.class - − comp/src/gb.highlight/gambas - comp/src/gb.highlight/themes/amber - comp/src/gb.highlight/themes/amethyst - comp/src/gb.highlight/themes/blues - comp/src/gb.highlight/themes/emerald - comp/src/gb.highlight/themes/gambas - comp/src/gb.highlight/themes/obsidian - comp/src/gb.highlight/themes/pastel - comp/src/gb.highlight/themes/quest - comp/src/gb.highlight/themes/quick - comp/src/gb.highlight/themes/ruby - comp/src/gb.highlight/themes/sapphire - comp/src/gb.highlight/themes/tango - comp/src/gb.highlight/themes/visual - comp/src/gb.highlight/themes/zen - main/lib/image/c_color.c View it on GitLab: https://gitlab.com/gambas/gambas/-/compare/54a017b48e6dd3c39128baadc1edb6dbae6a4dcf...1c95f2f2703bc12aa56d6f5f6aad9213383ae2fd -- View it on GitLab: https://gitlab.com/gambas/gambas/-/compare/54a017b48e6dd3c39128baadc1edb6dbae6a4dcf...1c95f2f2703bc12aa56d6f5f6aad9213383ae2fd You're receiving this email because of your account on gitlab.com.