T12 review fixes: upload shape and formats, accent dot, test gating, value wrap, gallery clamp, Code 128 set switches, float sums, dense QR
This commit is contained in:
12 files changed
+131
-32
No files matched your search
@@ -102,7 +102,10 @@ impl RenderOnce for Badge {
|
||||
fn render(self, _: &mut Window, cx: &mut App) -> impl IntoElement {
|
||||
let theme = cx.theme();
|
||||
let (fill, text) = self.tone.colors(&theme.colors);
|
||||
let dot = self.tone.dot(&theme.colors);
|
||||
let dot = match self.tone {
|
||||
Tone::Accent => theme.colors.on_accent,
|
||||
tone => tone.dot(&theme.colors),
|
||||
};
|
||||
div()
|
||||
.flex()
|
||||
.flex_none()
|
||||
|
||||
Reference in new issue
Block a user