Commit graph

17 commits

Author SHA1 Message Date
implicitfield 05334169cf Themes: Add color schemes to all themes 2022-12-31 04:20:59 -07:00
Karol Kosek 0bba2a4415 Base: Improve visibility of PlaceholderText in themes 2022-07-11 18:11:11 +02:00
Joel Hansen b944e8f505 Base: Improve Silver theme colors
- HighlightWindow text and strip colors now dark blue.
- MovingWindowShadow color made lighter, so that it's more visible.
- RubberBand now has silver colors.
2022-05-07 20:06:47 +02:00
Joel Hansen 7080fbff3d Base: Reorganize Silver theme 2022-05-07 20:06:47 +02:00
Jaime Valenzuela Durán 7c32400431 Base+LibGUI+LibGfx: Improve disabled text readability
Currently, disabled text colors are hardcoded. They look good in Default
and light themes, but no so good in dark ones. This PR adds new
variables for all themes to correctly display disabled text.
2022-03-05 10:25:14 +01:00
electrikmilk 4fd58a8bef Base: Tweak Silver theme
Tweak silver theme to look even more like Mac OS 9
2022-01-20 10:36:21 +01:00
Filiph Sandström 35dac843b4 Theming: Add alignment section
This commit removes the IsTitleCenter property and replaces it with
the TitleAlignment property that supports "Left", "Right" & "Center".
2022-01-01 22:51:53 +01:00
Filiph Sandström 8a1d77f65c LibGfx: Add window border/title theming options
This commit adds support the following properties to theming:
Flags:
  - IsTitleCenter: true if the title should be centered.
Metrics:
  - BorderThickness: The border width.
  - BorderRadius: The border corner radius.
2022-01-01 14:54:16 +01:00
Sam Atkins 079d9e2e0b Base: Add 'IsDark' flag to all system themes 2021-10-31 18:39:13 +01:00
Andreas Kling e378587c82 LibGfx+Base: Add a themable "Accent" color role
This can be used by GUI widgets to draw attention to a specific part of
the widget, for example the currently active sub-widget component.
2021-07-28 20:21:52 +02:00
Dmitrii Ubskii 8501617fcb LibGUI+HackStudio: Make gutter a first class element
Gutter -- a space left of the text, before the ruler -- is not a part of
the ruler, nor should it be treated as such. This commit implements
gutter handling in LibGUI::TextEditor as part of mild cleaning up of the
gutter handling (breakpoint icons) in HackStudio's Editor.

This commit also enables separate theming of the gutter.
2021-06-13 12:33:15 +01:00
Brendan Coles 138d065cbb Themes: Silver: Add window title button icons 2021-05-10 17:15:47 +01:00
Andreas Kling 11bea5d633 LibGfx+Base: Add Tray/TrayText theme colors and Gfx::ButtonStyle::Tray
A "Tray" is a sunken container area for widgets. The first intended
client of this style is the GUI::FilePicker's common locations frame.

Thanks to @nvella for coming up with the term "Tray" :^)
2021-04-09 21:53:43 +02:00
Andreas Kling 3c5da01f94 LibGUI+LibGfx+Base: Make tooltips color theme aware :^)
Also tweak the default tooltip color to be more bright and yellow!
2020-10-23 12:01:14 +02:00
Tom a823d2a962 LibGfx: Add colors for highlight-searching to palette and themes 2020-10-22 15:23:45 +02:00
Peter Elliott 253ab7536a Base: Add the PlaceholderText attribute to themes 2020-09-21 20:15:10 +02:00
Sergey Bugaev e5e8e8ab96 Base: Add Faux Pas and Silver themes 2020-05-30 17:51:24 +02:00