mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 11:27:35 +00:00
LibDraw+LibHTML: Make link colors themeable
Add "Link", "ActiveLink" and "VisitedLink" colors to the system theme definition, and implement support for them in LibHTML. Note that <body link="foo" alink="bar" vlink="baz"> takes precedence over the system colors. Author style also takes precedence, since we only fetch the system color in case the CSS color is -libhtml-link.
This commit is contained in:
parent
3b2f20ed4d
commit
fd64e97c8a
9 changed files with 56 additions and 6 deletions
|
@ -31,3 +31,6 @@ Selection=#14141a
|
|||
SelectionText=white
|
||||
RubberBandFill=#8080803c
|
||||
RubberBandBorder=black
|
||||
Link=#88c
|
||||
ActiveLink=#c88
|
||||
VisitedLink=#c8c
|
||||
|
|
|
@ -31,3 +31,6 @@ Selection=#84351a
|
|||
SelectionText=white
|
||||
RubberBandFill=#f4ca9e3c
|
||||
RubberBandBorder=#6e2209
|
||||
Link=blue
|
||||
ActiveLink=red
|
||||
VisitedLink=magenta
|
||||
|
|
|
@ -31,3 +31,6 @@ Selection=black
|
|||
SelectionText=white
|
||||
RubberBandFill=#fad7653c
|
||||
RubberBandBorder=#f4ca9e
|
||||
Link=blue
|
||||
ActiveLink=red
|
||||
VisitedLink=magenta
|
||||
|
|
|
@ -31,3 +31,6 @@ Selection=#84351a
|
|||
SelectionText=white
|
||||
RubberBandFill=#0466033c
|
||||
RubberBandBorder=#76943c
|
||||
Link=blue
|
||||
ActiveLink=red
|
||||
VisitedLink=magenta
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue