mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Further changes required by Servo
This commit is contained in:
parent
f70b0e7108
commit
5f46c027ea
1 changed files with 3 additions and 3 deletions
|
@ -190,12 +190,12 @@ impl Device {
|
|||
}
|
||||
|
||||
/// Returns the default background color.
|
||||
pub fn default_background_color(&self) -> RGBA {
|
||||
pub fn default_background_color_for_forced_colors(&self) -> RGBA {
|
||||
RGBA::new(255, 255, 255, 255)
|
||||
}
|
||||
|
||||
/// Returns the default color color.
|
||||
pub fn default_color(&self) -> RGBA {
|
||||
/// Returns the default foreground color.
|
||||
pub fn default_color_for_forced_colors(&self) -> RGBA {
|
||||
RGBA::new(0, 0, 0, 255)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue