1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-13 00:31:07 +00:00
serenity/Userland/Applications
Karol Kosek 0795311356 Calculator: Set button colors from system palette
Previously, changing a system theme with Calculator opened made buttons
with custom color not to update to the new theme - the background color
remained from the previous one.

This is because when setting the color, the widget has to copy the
current palette and modify the foreground color there, which means it
will no longer refer to the system theme and any change there will not
happen here.

Using colors from a system palette fixes this issue and makes buttons
look slightly different from what was here before. But that is because
they're now somewhat more integrated with the system themes! :^)

Type                | Old color    | New color role
----                | ---------    | --------------
Numbers             | "blue"       | SyntaxNumber
Functions (sqrt, %) | "blue"       | SyntaxFunction
Operators (+ - * /) | text-default | SyntaxOperator
Backspace, CE and C | "brown"      | SyntaxControlKeyword
Memory operators, = | "red"        | SyntaxPreprocessorValue
2022-07-17 08:44:31 +01:00
..
3DFileViewer Everywhere: Replace single-char StringView op. arguments with chars 2022-07-12 23:11:35 +02:00
About Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
AnalogClock Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
Assistant Everywhere: Replace single-char StringView op. arguments with chars 2022-07-12 23:11:35 +02:00
Browser Browser: Make "Go Home" open a new tab on middle mouse click 2022-07-14 13:17:33 +02:00
BrowserSettings Applications: Make settings outer margins and spacing consistent 2022-07-15 12:34:25 +02:00
Calculator Calculator: Set button colors from system palette 2022-07-17 08:44:31 +01:00
Calendar Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
CharacterMap Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
ClockSettings Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
CrashReporter CrashReporter: Tweak layout 2022-07-15 12:34:25 +02:00
Debugger Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
DisplaySettings Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
FileManager Everywhere: Replace single-char StringView op. arguments with chars 2022-07-12 23:11:35 +02:00
FontEditor Everywhere: Replace single-char StringView op. arguments with chars 2022-07-12 23:11:35 +02:00
Help Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
HexEditor Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
ImageViewer Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
KeyboardMapper Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
KeyboardSettings KeyboardSettings: Improve KeymapDialog layout 2022-07-15 12:34:25 +02:00
Magnifier Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
Mail Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
MailSettings Applications: Make settings outer margins and spacing consistent 2022-07-15 12:34:25 +02:00
MouseSettings Applications: Make settings outer margins and spacing consistent 2022-07-15 12:34:25 +02:00
NetworkSettings NetworkSettings: Remove warning about reboot 2022-07-14 23:26:47 +02:00
PDFViewer Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
Piano Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
PixelPaint PixelPaint: Export images using the editor title as a default basename 2022-07-17 08:42:21 +01:00
Run Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
Settings Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
SoundPlayer Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
SpaceAnalyzer Everywhere: Replace single-char StringView op. arguments with chars 2022-07-12 23:11:35 +02:00
Spreadsheet Everywhere: Replace single-char StringView op. arguments with chars 2022-07-12 23:11:35 +02:00
SystemMonitor Kernel+Userland: Rename prefix of user_physical => physical 2022-07-14 23:27:46 +02:00
Terminal Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
TerminalSettings Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
TextEditor Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
ThemeEditor Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
VideoPlayer Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
Welcome Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
CMakeLists.txt Applications: Add a new NetworkSettings application 2022-07-09 09:22:25 +01:00