Further changes required by Servo

This commit is contained in:
Oriol Brufau 2023-05-30 20:57:42 +02:00
parent f70b0e7108
commit 5f46c027ea

View file

@ -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)
}