mirror of
https://github.com/rio-labs/rio.git
synced 2026-02-07 14:19:21 -06:00
list item styling fixes
This commit is contained in:
@@ -69,7 +69,7 @@ export class SwitcherBarComponent extends ComponentBase {
|
||||
});
|
||||
|
||||
this.moveTween = new KineticTween({
|
||||
acceleration: 150 * pixelsPerRem,
|
||||
acceleration: 50 * pixelsPerRem,
|
||||
});
|
||||
|
||||
// The marker needs updating when the element is resized
|
||||
|
||||
@@ -2574,6 +2574,10 @@ $rio-input-box-small-label-spacing-top: 0.5rem;
|
||||
.rio-heading-list-item {
|
||||
pointer-events: none;
|
||||
box-sizing: border-box;
|
||||
margin-left: var(--rio-global-corner-radius-medium);
|
||||
margin-top: 1rem;
|
||||
margin-right: var(--rio-global-corner-radius-medium);
|
||||
margin-bottom: 0.4rem;
|
||||
}
|
||||
|
||||
.rio-custom-list-item {
|
||||
|
||||
@@ -500,7 +500,11 @@ class Theme:
|
||||
foreground=_derive_color(disabled_color, 0.4),
|
||||
)
|
||||
|
||||
shadow_color = rio.Color.from_rgb(0.1, 0.1, 0.4, 0.3)
|
||||
# Shadow color
|
||||
if mode == "light":
|
||||
shadow_color = rio.Color.from_rgb(0.1, 0.1, 0.4, 0.3)
|
||||
else:
|
||||
shadow_color = rio.Color.from_rgb(0, 0, 0, 0.4)
|
||||
|
||||
# Semantic colors
|
||||
if success_color is None:
|
||||
|
||||
Reference in New Issue
Block a user