aboutsummaryrefslogtreecommitdiff
path: root/src/qr_code.rs
diff options
context:
space:
mode:
authorPolesznyák Márk <contact@pml68.dev>2025-11-22 08:30:00 +0100
committerPolesznyák Márk <contact@pml68.dev>2025-11-22 08:30:00 +0100
commitff7e17988d5868c72cfb39d09ccf4efb05d3ceda (patch)
tree0734e0f409028e203532bfaea2c7372e2c646078 /src/qr_code.rs
parentchore: add mailmap (diff)
downloadiced_material-ff7e17988d5868c72cfb39d09ccf4efb05d3ceda.tar.gz
feat!: combine `Primary`, `Secondary`, `Tertiary` and `Error`
Now only a singular `ColorQuartet` struct exists. Also rename some `Surface` and `Inverse` fields for consistency.
Diffstat (limited to 'src/qr_code.rs')
-rw-r--r--src/qr_code.rs2
1 files changed, 1 insertions, 1 deletions
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,
}
}