diff options
author | Dmitrii Ubskii <ubskydm@gmail.com> | 2021-06-12 04:50:23 +0300 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-06-13 12:33:15 +0100 |
commit | 8501617fcb750bc8f540dc524faf47ce5b5961c9 (patch) | |
tree | 08cf3feac135e00e8ee302a2f1ba3db7af4816e2 /Base/res/themes | |
parent | 920b4d730e04a37e7247ce9a456af39a16705188 (diff) | |
download | serenity-8501617fcb750bc8f540dc524faf47ce5b5961c9.zip |
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.
Diffstat (limited to 'Base/res/themes')
-rw-r--r-- | Base/res/themes/Basalt.ini | 2 | ||||
-rw-r--r-- | Base/res/themes/Coffee.ini | 2 | ||||
-rw-r--r-- | Base/res/themes/Dark.ini | 2 | ||||
-rw-r--r-- | Base/res/themes/Default.ini | 2 | ||||
-rw-r--r-- | Base/res/themes/Desert.ini | 2 | ||||
-rw-r--r-- | Base/res/themes/Faux Pas.ini | 2 | ||||
-rw-r--r-- | Base/res/themes/Light.ini | 2 | ||||
-rw-r--r-- | Base/res/themes/Nord.ini | 2 | ||||
-rw-r--r-- | Base/res/themes/Plum.ini | 2 | ||||
-rw-r--r-- | Base/res/themes/Redmond 2000.ini | 2 | ||||
-rw-r--r-- | Base/res/themes/Redmond.ini | 2 | ||||
-rw-r--r-- | Base/res/themes/Silver.ini | 2 | ||||
-rw-r--r-- | Base/res/themes/Sunshine.ini | 2 |
13 files changed, 26 insertions, 0 deletions
diff --git a/Base/res/themes/Basalt.ini b/Base/res/themes/Basalt.ini index 5c2be3d4e8..794c36d861 100644 --- a/Base/res/themes/Basalt.ini +++ b/Base/res/themes/Basalt.ini @@ -47,6 +47,8 @@ Link=#88c ActiveLink=#c88 VisitedLink=#c8c PlaceholderText=#171717 +Gutter=#0f0f0f +GutterBorder=#2f2f2f Ruler=#0f0f0f RulerBorder=#2f2f2f RulerActiveText=white diff --git a/Base/res/themes/Coffee.ini b/Base/res/themes/Coffee.ini index 19f3c37a4c..ccbaaff429 100644 --- a/Base/res/themes/Coffee.ini +++ b/Base/res/themes/Coffee.ini @@ -43,6 +43,8 @@ RubberBandBorder=#594fbf Link=#0000ff ActiveLink=#ee0000 VisitedLink=#551a8b +Gutter=#aeb2c3 +GutterBorder=#5d6069 Ruler=#aeb2c3 RulerBorder=#5d6069 RulerActiveText=#5d6069 diff --git a/Base/res/themes/Dark.ini b/Base/res/themes/Dark.ini index 18233c1448..44b8c54bfd 100644 --- a/Base/res/themes/Dark.ini +++ b/Base/res/themes/Dark.ini @@ -39,6 +39,8 @@ Link=#88c ActiveLink=#c88 VisitedLink=#c8c PlaceholderText=#2e2f30 +Gutter=#505050 +GutterBorder=#666666 Ruler=#505050 RulerBorder=#666666 RulerActiveText=white diff --git a/Base/res/themes/Default.ini b/Base/res/themes/Default.ini index 096ec148d8..c628317c77 100644 --- a/Base/res/themes/Default.ini +++ b/Base/res/themes/Default.ini @@ -47,6 +47,8 @@ RubberBandBorder=#6e2209 Link=blue ActiveLink=red VisitedLink=magenta +Gutter=#d4d0c8 +GutterBorder=#404040 Ruler=#d4d0c8 RulerBorder=#404040 RulerActiveText=#404040 diff --git a/Base/res/themes/Desert.ini b/Base/res/themes/Desert.ini index 5e4c3b8507..42233375d9 100644 --- a/Base/res/themes/Desert.ini +++ b/Base/res/themes/Desert.ini @@ -47,6 +47,8 @@ RubberBandBorder=#6e2209 Link=blue ActiveLink=red VisitedLink=magenta +Gutter=#d5ccbb +GutterBorder=#404040 Ruler=#d5ccbb RulerBorder=#404040 RulerActiveText=#404040 diff --git a/Base/res/themes/Faux Pas.ini b/Base/res/themes/Faux Pas.ini index 463f301e5b..b5c19639ce 100644 --- a/Base/res/themes/Faux Pas.ini +++ b/Base/res/themes/Faux Pas.ini @@ -39,6 +39,8 @@ RubberBandBorder=black Link=#0000b0 ActiveLink=#2020d0 VisitedLink=#2000b0 +Gutter=#808080 +GutterBorder=black Ruler=#808080 RulerBorder=black RulerActiveText=#404040 diff --git a/Base/res/themes/Light.ini b/Base/res/themes/Light.ini index c3a294c4e3..8a55d0bcb4 100644 --- a/Base/res/themes/Light.ini +++ b/Base/res/themes/Light.ini @@ -47,6 +47,8 @@ RubberBandBorder=#598dc6 Link=blue ActiveLink=red VisitedLink=magenta +Gutter=#d4d0c8 +GutterBorder=#404040 Ruler=#d4d0c8 RulerBorder=#404040 RulerActiveText=#404040 diff --git a/Base/res/themes/Nord.ini b/Base/res/themes/Nord.ini index d28b7eb246..693a85e86f 100644 --- a/Base/res/themes/Nord.ini +++ b/Base/res/themes/Nord.ini @@ -39,6 +39,8 @@ RubberBandBorder=#4c566a Link=#7e9dbc ActiveLink=#95adc5 VisitedLink=#3b4e68 +Gutter=#434c5e +GutterBorder=#3b4252 Ruler=#434c5e RulerBorder=#3b4252 RulerActiveText=#95adc5 diff --git a/Base/res/themes/Plum.ini b/Base/res/themes/Plum.ini index 7726f244a8..4c11a21435 100644 --- a/Base/res/themes/Plum.ini +++ b/Base/res/themes/Plum.ini @@ -47,6 +47,8 @@ RubberBandBorder=#50096e Link=blue ActiveLink=red VisitedLink=magenta +Gutter=#d4d0c8 +GutterBorder=#404040 Ruler=#d4d0c8 RulerBorder=#404040 RulerActiveText=#404040 diff --git a/Base/res/themes/Redmond 2000.ini b/Base/res/themes/Redmond 2000.ini index fa94580974..e12ae2f2de 100644 --- a/Base/res/themes/Redmond 2000.ini +++ b/Base/res/themes/Redmond 2000.ini @@ -43,6 +43,8 @@ RubberBandBorder=#09226e Link=blue ActiveLink=red VisitedLink=magenta +Gutter=#d4d0c8 +GutterBorder=#404040 Ruler=#d4d0c8 RulerBorder=#404040 RulerActiveText=#404040 diff --git a/Base/res/themes/Redmond.ini b/Base/res/themes/Redmond.ini index 7fc008ed1b..7125974d61 100644 --- a/Base/res/themes/Redmond.ini +++ b/Base/res/themes/Redmond.ini @@ -43,6 +43,8 @@ RubberBandBorder=black Link=blue ActiveLink=red VisitedLink=magenta +Gutter=#d4d0c8 +GutterBorder=#404040 Ruler=#d4d0c8 RulerBorder=#404040 RulerActiveText=#404040 diff --git a/Base/res/themes/Silver.ini b/Base/res/themes/Silver.ini index 6c1a4f1804..d9bf711e17 100644 --- a/Base/res/themes/Silver.ini +++ b/Base/res/themes/Silver.ini @@ -39,6 +39,8 @@ RubberBandBorder=#6e2209 Link=blue ActiveLink=red VisitedLink=magenta +Gutter=#d4d0c8 +GutterBorder=#404040 Ruler=#d4d0c8 RulerBorder=#404040 RulerActiveText=#404040 diff --git a/Base/res/themes/Sunshine.ini b/Base/res/themes/Sunshine.ini index 08c03795ec..1107247823 100644 --- a/Base/res/themes/Sunshine.ini +++ b/Base/res/themes/Sunshine.ini @@ -43,6 +43,8 @@ RubberBandBorder=#007f7f Link=#88c ActiveLink=#c88 VisitedLink=#c8c +Gutter=#aeb2c3 +GutterBorder=#5d6069 Ruler=#aeb2c3 RulerBorder=#5d6069 RulerActiveText=#5d6069 |