From ff7e17988d5868c72cfb39d09ccf4efb05d3ceda Mon Sep 17 00:00:00 2001 From: Polesznyák Márk Date: Sat, 22 Nov 2025 08:30:00 +0100 Subject: feat!: combine `Primary`, `Secondary`, `Tertiary` and `Error` Now only a singular `ColorQuartet` struct exists. Also rename some `Surface` and `Inverse` fields for consistency. --- src/qr_code.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qr_code.rs') diff --git a/src/qr_code.rs b/src/qr_code.rs index f603440..159833e 100644 --- a/src/qr_code.rs +++ b/src/qr_code.rs @@ -18,7 +18,7 @@ pub fn default(theme: &Theme) -> Style { let surface = theme.colors().surface; Style { - cell: surface.on_surface, + cell: surface.text, background: surface.color, } } -- cgit v1.2.3