mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-27 01:08:38 +00:00
Merge remote-tracking branch 'upstream/next' into next-ci-reds
# Conflicts: # crates/ui-contract/src/testing/key_trials.rs
This commit is contained in:
@@ -119,10 +119,11 @@ impl GridCursor {
|
||||
cursor
|
||||
}
|
||||
|
||||
/// A cursor for the sweep that asks each column for its least: every column but a `Fixed` one is placed as a
|
||||
/// `Content` column whose cells measure in no bound along x, so each column measures its widest cell.
|
||||
/// A cursor for the sweep that asks each column for its least: the cells of every `Content` and `Fill` column
|
||||
/// measure in no bound along x, so each column measures its widest cell. A `Fill` column stays one, so a child
|
||||
/// that fills its width measures its own width there, where a `Content` column would hold it and take none.
|
||||
pub fn unbounded(flow: Flow, columns: &[ColumnWidth], gap: Vec2) -> Self {
|
||||
let mut cursor = Self::new(flow, &as_content(columns), gap, &GridMeasure::default());
|
||||
let mut cursor = Self::new(flow, columns, gap, &GridMeasure::default());
|
||||
cursor.unbounded = true;
|
||||
cursor
|
||||
}
|
||||
@@ -185,7 +186,7 @@ impl GridCursor {
|
||||
let count = self.columns.len().max(1);
|
||||
let (column, _, _, top) = self.next_place();
|
||||
let width = match self.columns.get(column) {
|
||||
Some(ColumnWidth::Content) if self.unbounded => f32::INFINITY,
|
||||
Some(ColumnWidth::Content | ColumnWidth::Fill { .. }) if self.unbounded => f32::INFINITY,
|
||||
Some(ColumnWidth::Content) => {
|
||||
// Every other column keeps at least its least: a column that fills keeps only that, and so does a
|
||||
// content column when each column measures alone.
|
||||
|
||||
@@ -64,6 +64,9 @@ pub struct SurfaceColors {
|
||||
pub raised: Rgba,
|
||||
/// Fields and wells.
|
||||
pub sunken: Rgba,
|
||||
/// The resting fill of a filled control (`Emphasis::Filled`): a neutral tile with no edge. Follows
|
||||
/// `state.hover` unless pinned.
|
||||
pub control: Rgba,
|
||||
/// The face of a knob that rides on a track: slider and switch thumbs. Light in both modes.
|
||||
pub knob: Rgba,
|
||||
/// Translucent cover behind modal surfaces.
|
||||
@@ -112,6 +115,8 @@ pub struct LineColors {
|
||||
pub border: Rgba,
|
||||
/// The boundary of a control that must be seen to be used (fields, checkboxes).
|
||||
pub control_edge: Rgba,
|
||||
/// The edge of an outlined neutral control (an outline or soft button); follows `text.muted` unless pinned.
|
||||
pub outline: Rgba,
|
||||
/// The outline of a `surface.knob` face; clear where the face stands out on its own (dark
|
||||
/// mode).
|
||||
pub knob_edge: Rgba,
|
||||
@@ -321,13 +326,14 @@ impl ColorTokens {
|
||||
chrome: c,
|
||||
raised: c,
|
||||
sunken: c,
|
||||
control: c,
|
||||
knob: c,
|
||||
scrim: c,
|
||||
inverse: c,
|
||||
shadow: c,
|
||||
},
|
||||
text: TextColors { normal: c, muted: c, faint: c, disabled: c, on_accent: c, on_strong: c, on_status: c, on_selected: c, on_inverse: c },
|
||||
line: LineColors { divider: c, border: c, control_edge: c, knob_edge: c, frame: c, mark: c, grip: c, focus: c },
|
||||
line: LineColors { divider: c, border: c, control_edge: c, outline: c, knob_edge: c, frame: c, mark: c, grip: c, focus: c },
|
||||
accent: AccentColors {
|
||||
solid: c,
|
||||
hover: c,
|
||||
@@ -438,6 +444,8 @@ color_tokens! {
|
||||
SurfaceRaised = "surface.raised" => surface.raised;
|
||||
/// `surface.sunken`
|
||||
SurfaceSunken = "surface.sunken" => surface.sunken;
|
||||
/// `surface.control`
|
||||
SurfaceControl = "surface.control" => surface.control;
|
||||
/// `surface.knob`
|
||||
SurfaceKnob = "surface.knob" => surface.knob;
|
||||
/// `surface.scrim`
|
||||
@@ -470,6 +478,8 @@ color_tokens! {
|
||||
LineBorder = "line.border" => line.border;
|
||||
/// `line.control_edge`
|
||||
LineControlEdge = "line.control_edge" => line.control_edge;
|
||||
/// `line.outline`
|
||||
LineOutline = "line.outline" => line.outline;
|
||||
/// `line.knob_edge`
|
||||
LineKnobEdge = "line.knob_edge" => line.knob_edge;
|
||||
/// `line.frame`
|
||||
|
||||
@@ -201,6 +201,8 @@ pub(super) fn source(token: ColorToken, mode: Mode) -> ColorSource {
|
||||
T::SurfaceChrome => Same(T::SurfacePanel),
|
||||
T::SurfaceRaised => Anchored(pick(4, 1)),
|
||||
T::SurfaceSunken => Anchored(1),
|
||||
// A filled tile rests on the theme's own hover fill, so the pointer adds only its edge.
|
||||
T::SurfaceControl => Same(T::StateHover),
|
||||
// Near white in both modes (dark: about 236/255), as macOS, GNOME and PhotoCraft knobs. A
|
||||
// knob face is not a background grey, so it stays on the curve.
|
||||
T::SurfaceKnob => Neutral(pick(12, 1)),
|
||||
@@ -223,6 +225,7 @@ pub(super) fn source(token: ColorToken, mode: Mode) -> ColorSource {
|
||||
T::LineDivider => Anchored(6),
|
||||
T::LineBorder => Anchored(7),
|
||||
T::LineControlEdge => Anchored(8),
|
||||
T::LineOutline => Same(T::TextMuted),
|
||||
// A light knob needs an outline on a light panel (PhotoCraft's `text_dim`); on a dark one
|
||||
// its face is the edge. The Pro themes pin PhotoCraft's dark ring.
|
||||
T::LineKnobEdge => {
|
||||
@@ -385,6 +388,7 @@ const TEXT_BGS: &[Bg] = &[
|
||||
Token(T::SurfaceChrome),
|
||||
Token(T::SurfaceRaised),
|
||||
Token(T::SurfaceSunken),
|
||||
Token(T::SurfaceControl),
|
||||
Token(T::StateHover),
|
||||
Token(T::StatePressed),
|
||||
];
|
||||
|
||||
@@ -19,6 +19,8 @@ pub enum Emphasis {
|
||||
Outline,
|
||||
/// No fill or edge until a state fills it.
|
||||
Ghost,
|
||||
/// A neutral tile (`surface.control`) with no edge at rest; the pointer and the press fill it by state and edge it.
|
||||
Filled,
|
||||
}
|
||||
|
||||
/// What a variant says about its subject. The one tone type of the component layer: messages, notices, badges and
|
||||
@@ -142,7 +144,7 @@ impl ToneTokens {
|
||||
soft_fill: T::SurfaceSunken,
|
||||
on_soft: T::TextNormal,
|
||||
fg: T::TextNormal,
|
||||
edge: T::TextMuted,
|
||||
edge: T::LineOutline,
|
||||
solid: T::TextMuted,
|
||||
solid_hover: T::TextMuted,
|
||||
solid_pressed: T::TextNormal,
|
||||
@@ -237,6 +239,16 @@ impl VariantLook {
|
||||
VariantLook::new(state_fill, text(fg)).muted(muted).edge(States::new(edge, lit, lit, c.line.divider)).radius(button)
|
||||
}
|
||||
Emphasis::Ghost => VariantLook::new(state_fill, text(fg)).muted(muted).radius(button).edge(flat(clear)),
|
||||
// A neutral tile takes the control edge under the pointer and the accent's under the press; a toned one keeps
|
||||
// its edge. Disabled, it dims as a solid one does.
|
||||
Emphasis::Filled => {
|
||||
let (lit, pressed) = if tone == Tone::Neutral { (c.line.control_edge, c.accent.border) } else { (edge, edge) };
|
||||
let dimmed = crate::derive::mix(c.surface.control, c.state.disabled_fill, DISABLED_SOLID_DIM);
|
||||
VariantLook::new(States::new(c.surface.control, c.state.hover, c.state.pressed, dimmed), text(fg))
|
||||
.muted(muted)
|
||||
.edge(States::new(clear, lit, pressed, clear))
|
||||
.radius(button)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #36363aff
|
||||
surface.chrome = #2e2e32ff
|
||||
surface.raised = #404044ff
|
||||
surface.sunken = #404044ff
|
||||
surface.control = #48484cff
|
||||
surface.knob = #ebebedff
|
||||
surface.scrim = #00000080
|
||||
surface.inverse = #ebebedff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #0d0d0dff
|
||||
line.divider = #18181bff
|
||||
line.border = #404044ff
|
||||
line.control_edge = #4c4c50ff
|
||||
line.outline = #fafafcff
|
||||
line.knob_edge = #00000000
|
||||
line.frame = #0d0d0dff
|
||||
line.mark = #cacbcfff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #36363aff
|
||||
surface.chrome = #2e2e32ff
|
||||
surface.raised = #404044ff
|
||||
surface.sunken = #404044ff
|
||||
surface.control = #48484cff
|
||||
surface.knob = #ebebedff
|
||||
surface.scrim = #00000080
|
||||
surface.inverse = #ebebedff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #0d0d0dff
|
||||
line.divider = #18181bff
|
||||
line.border = #404044ff
|
||||
line.control_edge = #4c4c50ff
|
||||
line.outline = #fafafcff
|
||||
line.knob_edge = #00000000
|
||||
line.frame = #0d0d0dff
|
||||
line.mark = #cacbcfff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #36363aff
|
||||
surface.chrome = #2e2e32ff
|
||||
surface.raised = #39393eff
|
||||
surface.sunken = #404044ff
|
||||
surface.control = #48484cff
|
||||
surface.knob = #ebebedff
|
||||
surface.scrim = #00000080
|
||||
surface.inverse = #ebebedff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #0d0d0dff
|
||||
line.divider = #18181bff
|
||||
line.border = #404044ff
|
||||
line.control_edge = #4c4c50ff
|
||||
line.outline = #c0c0c2ff
|
||||
line.knob_edge = #00000000
|
||||
line.frame = #0d0d0dff
|
||||
line.mark = #a5a6aaff
|
||||
@@ -256,6 +258,7 @@ warning = text.faint on surface.panel: 3.83 < 4.50
|
||||
warning = text.faint on surface.chrome: 4.30 < 4.50
|
||||
warning = text.faint on surface.raised: 3.65 < 4.50
|
||||
warning = text.faint on surface.sunken: 3.28 < 4.50
|
||||
warning = text.faint on surface.control: 2.90 < 4.50
|
||||
warning = text.faint on state.hover: 2.90 < 4.50
|
||||
warning = text.faint on state.pressed: 2.32 < 4.50
|
||||
warning = text.on_accent on accent.solid: 3.77 < 4.50
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #36363aff
|
||||
surface.chrome = #2e2e32ff
|
||||
surface.raised = #39393eff
|
||||
surface.sunken = #404044ff
|
||||
surface.control = #48484cff
|
||||
surface.knob = #ebebedff
|
||||
surface.scrim = #00000080
|
||||
surface.inverse = #ebebedff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #0d0d0dff
|
||||
line.divider = #18181bff
|
||||
line.border = #404044ff
|
||||
line.control_edge = #4c4c50ff
|
||||
line.outline = #c0c0c2ff
|
||||
line.knob_edge = #00000000
|
||||
line.frame = #0d0d0dff
|
||||
line.mark = #a5a6aaff
|
||||
@@ -256,6 +258,7 @@ warning = text.faint on surface.panel: 3.83 < 4.50
|
||||
warning = text.faint on surface.chrome: 4.30 < 4.50
|
||||
warning = text.faint on surface.raised: 3.65 < 4.50
|
||||
warning = text.faint on surface.sunken: 3.28 < 4.50
|
||||
warning = text.faint on surface.control: 2.90 < 4.50
|
||||
warning = text.faint on state.hover: 2.90 < 4.50
|
||||
warning = text.faint on state.pressed: 2.32 < 4.50
|
||||
warning = text.on_accent on accent.solid: 3.77 < 4.50
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #ffffffff
|
||||
surface.chrome = #ffffffff
|
||||
surface.raised = #ffffffff
|
||||
surface.sunken = #ebebedff
|
||||
surface.control = #e2e2e5ff
|
||||
surface.knob = #fcfcfdff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #262628ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #fcfcfdff
|
||||
line.divider = #dedee1ff
|
||||
line.border = #dadaddff
|
||||
line.control_edge = #dadaddff
|
||||
line.outline = #403f43ff
|
||||
line.knob_edge = #403f43ff
|
||||
line.frame = #dadaddff
|
||||
line.mark = #5c5c60ff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #ffffffff
|
||||
surface.chrome = #ffffffff
|
||||
surface.raised = #ffffffff
|
||||
surface.sunken = #ebebedff
|
||||
surface.control = #e2e2e5ff
|
||||
surface.knob = #fcfcfdff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #262628ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #fcfcfdff
|
||||
line.divider = #dedee1ff
|
||||
line.border = #dadaddff
|
||||
line.control_edge = #dadaddff
|
||||
line.outline = #403f43ff
|
||||
line.knob_edge = #403f43ff
|
||||
line.frame = #dadaddff
|
||||
line.mark = #5c5c60ff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #ffffffff
|
||||
surface.chrome = #ffffffff
|
||||
surface.raised = #ffffffff
|
||||
surface.sunken = #ebebedff
|
||||
surface.control = #e2e2e5ff
|
||||
surface.knob = #fcfcfdff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #262628ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #fcfcfdff
|
||||
line.divider = #dedee1ff
|
||||
line.border = #dadaddff
|
||||
line.control_edge = #dadaddff
|
||||
line.outline = #646468ff
|
||||
line.knob_edge = #646468ff
|
||||
line.frame = #dadaddff
|
||||
line.mark = #78777cff
|
||||
@@ -256,6 +258,7 @@ warning = text.faint on surface.panel: 2.77 < 4.50
|
||||
warning = text.faint on surface.chrome: 2.77 < 4.50
|
||||
warning = text.faint on surface.raised: 2.77 < 4.50
|
||||
warning = text.faint on surface.sunken: 2.32 < 4.50
|
||||
warning = text.faint on surface.control: 2.14 < 4.50
|
||||
warning = text.faint on state.hover: 2.14 < 4.50
|
||||
warning = text.faint on state.pressed: 1.87 < 4.50
|
||||
warning = text.on_accent on accent.solid: 3.77 < 4.50
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #ffffffff
|
||||
surface.chrome = #ffffffff
|
||||
surface.raised = #ffffffff
|
||||
surface.sunken = #ebebedff
|
||||
surface.control = #e2e2e5ff
|
||||
surface.knob = #fcfcfdff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #262628ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #fcfcfdff
|
||||
line.divider = #dedee1ff
|
||||
line.border = #dadaddff
|
||||
line.control_edge = #dadaddff
|
||||
line.outline = #646468ff
|
||||
line.knob_edge = #646468ff
|
||||
line.frame = #dadaddff
|
||||
line.mark = #78777cff
|
||||
@@ -256,6 +258,7 @@ warning = text.faint on surface.panel: 2.77 < 4.50
|
||||
warning = text.faint on surface.chrome: 2.77 < 4.50
|
||||
warning = text.faint on surface.raised: 2.77 < 4.50
|
||||
warning = text.faint on surface.sunken: 2.32 < 4.50
|
||||
warning = text.faint on surface.control: 2.14 < 4.50
|
||||
warning = text.faint on state.hover: 2.14 < 4.50
|
||||
warning = text.faint on state.pressed: 1.87 < 4.50
|
||||
warning = text.on_accent on accent.solid: 3.77 < 4.50
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #535353ff
|
||||
surface.chrome = #535353ff
|
||||
surface.raised = #595959ff
|
||||
surface.sunken = #454545ff
|
||||
surface.control = #595959ff
|
||||
surface.knob = #ebebebff
|
||||
surface.scrim = #00000080
|
||||
surface.inverse = #ebebebff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #0d0d0dff
|
||||
line.divider = #3e3e3eff
|
||||
line.border = #424242ff
|
||||
line.control_edge = #686868ff
|
||||
line.outline = #ffffffff
|
||||
line.knob_edge = #282828ff
|
||||
line.frame = #0d0d0dff
|
||||
line.mark = #f4f4f4ff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #535353ff
|
||||
surface.chrome = #535353ff
|
||||
surface.raised = #595959ff
|
||||
surface.sunken = #454545ff
|
||||
surface.control = #595959ff
|
||||
surface.knob = #ebebebff
|
||||
surface.scrim = #00000080
|
||||
surface.inverse = #ebebebff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #0d0d0dff
|
||||
line.divider = #3e3e3eff
|
||||
line.border = #424242ff
|
||||
line.control_edge = #686868ff
|
||||
line.outline = #ffffffff
|
||||
line.knob_edge = #282828ff
|
||||
line.frame = #0d0d0dff
|
||||
line.mark = #f4f4f4ff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #535353ff
|
||||
surface.chrome = #535353ff
|
||||
surface.raised = #5c5c5cff
|
||||
surface.sunken = #454545ff
|
||||
surface.control = #626262ff
|
||||
surface.knob = #ebebebff
|
||||
surface.scrim = #00000080
|
||||
surface.inverse = #ebebebff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #0d0d0dff
|
||||
line.divider = #3e3e3eff
|
||||
line.border = #424242ff
|
||||
line.control_edge = #686868ff
|
||||
line.outline = #d4d4d4ff
|
||||
line.knob_edge = #282828ff
|
||||
line.frame = #0d0d0dff
|
||||
line.mark = #cacacaff
|
||||
@@ -254,6 +256,7 @@ warning = accent.solid on surface.panel: 2.30 < 3.00
|
||||
warning = accent.solid on surface.raised: 2.00 < 3.00
|
||||
warning = accent.solid on surface.sunken: 2.87 < 3.00
|
||||
warning = text.normal on state.pressed: 4.27 < 4.50
|
||||
warning = text.muted on surface.control: 4.12 < 4.50
|
||||
warning = text.muted on state.hover: 4.12 < 4.50
|
||||
warning = text.muted on state.pressed: 3.34 < 4.50
|
||||
warning = text.faint on surface.background: 3.84 < 4.50
|
||||
@@ -261,6 +264,7 @@ warning = text.faint on surface.panel: 2.94 < 4.50
|
||||
warning = text.faint on surface.chrome: 2.94 < 4.50
|
||||
warning = text.faint on surface.raised: 2.56 < 4.50
|
||||
warning = text.faint on surface.sunken: 3.67 < 4.50
|
||||
warning = text.faint on surface.control: 2.33 < 4.50
|
||||
warning = text.faint on state.hover: 2.33 < 4.50
|
||||
warning = text.faint on state.pressed: 1.89 < 4.50
|
||||
warning = text.on_accent on accent.solid: 3.34 < 4.50
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #535353ff
|
||||
surface.chrome = #535353ff
|
||||
surface.raised = #5c5c5cff
|
||||
surface.sunken = #454545ff
|
||||
surface.control = #626262ff
|
||||
surface.knob = #ebebebff
|
||||
surface.scrim = #00000080
|
||||
surface.inverse = #ebebebff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #0d0d0dff
|
||||
line.divider = #3e3e3eff
|
||||
line.border = #424242ff
|
||||
line.control_edge = #686868ff
|
||||
line.outline = #d4d4d4ff
|
||||
line.knob_edge = #282828ff
|
||||
line.frame = #0d0d0dff
|
||||
line.mark = #cacacaff
|
||||
@@ -254,6 +256,7 @@ warning = accent.solid on surface.panel: 2.30 < 3.00
|
||||
warning = accent.solid on surface.raised: 2.00 < 3.00
|
||||
warning = accent.solid on surface.sunken: 2.87 < 3.00
|
||||
warning = text.normal on state.pressed: 4.27 < 4.50
|
||||
warning = text.muted on surface.control: 4.12 < 4.50
|
||||
warning = text.muted on state.hover: 4.12 < 4.50
|
||||
warning = text.muted on state.pressed: 3.34 < 4.50
|
||||
warning = text.faint on surface.background: 3.84 < 4.50
|
||||
@@ -261,6 +264,7 @@ warning = text.faint on surface.panel: 2.94 < 4.50
|
||||
warning = text.faint on surface.chrome: 2.94 < 4.50
|
||||
warning = text.faint on surface.raised: 2.56 < 4.50
|
||||
warning = text.faint on surface.sunken: 3.67 < 4.50
|
||||
warning = text.faint on surface.control: 2.33 < 4.50
|
||||
warning = text.faint on state.hover: 2.33 < 4.50
|
||||
warning = text.faint on state.pressed: 1.89 < 4.50
|
||||
warning = text.on_accent on accent.solid: 3.34 < 4.50
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #f0f0f0ff
|
||||
surface.chrome = #f0f0f0ff
|
||||
surface.raised = #f6f6f6ff
|
||||
surface.sunken = #ffffffff
|
||||
surface.control = #e2e2e2ff
|
||||
surface.knob = #fcfcfcff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #262626ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #fcfcfcff
|
||||
line.divider = #d6d6d6ff
|
||||
line.border = #d6d6d6ff
|
||||
line.control_edge = #bababaff
|
||||
line.outline = #3c3c3cff
|
||||
line.knob_edge = #282828ff
|
||||
line.frame = #bababaff
|
||||
line.mark = #585858ff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #f0f0f0ff
|
||||
surface.chrome = #f0f0f0ff
|
||||
surface.raised = #f6f6f6ff
|
||||
surface.sunken = #ffffffff
|
||||
surface.control = #e2e2e2ff
|
||||
surface.knob = #fcfcfcff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #262626ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #fcfcfcff
|
||||
line.divider = #d6d6d6ff
|
||||
line.border = #d6d6d6ff
|
||||
line.control_edge = #bababaff
|
||||
line.outline = #3c3c3cff
|
||||
line.knob_edge = #282828ff
|
||||
line.frame = #bababaff
|
||||
line.mark = #585858ff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #f0f0f0ff
|
||||
surface.chrome = #f0f0f0ff
|
||||
surface.raised = #f6f6f6ff
|
||||
surface.sunken = #ffffffff
|
||||
surface.control = #e2e2e2ff
|
||||
surface.knob = #fcfcfcff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #262626ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #fcfcfcff
|
||||
line.divider = #d6d6d6ff
|
||||
line.border = #d6d6d6ff
|
||||
line.control_edge = #bababaff
|
||||
line.outline = #404040ff
|
||||
line.knob_edge = #282828ff
|
||||
line.frame = #bababaff
|
||||
line.mark = #737373ff
|
||||
@@ -256,6 +258,7 @@ warning = text.faint on surface.panel: 3.87 < 4.50
|
||||
warning = text.faint on surface.chrome: 3.87 < 4.50
|
||||
warning = text.faint on surface.raised: 4.09 < 4.50
|
||||
warning = text.faint on surface.sunken: 4.42 < 4.50
|
||||
warning = text.faint on surface.control: 3.41 < 4.50
|
||||
warning = text.faint on state.hover: 3.41 < 4.50
|
||||
warning = text.faint on state.pressed: 2.81 < 4.50
|
||||
warning = text.on_accent on accent.solid: 3.34 < 4.50
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #f0f0f0ff
|
||||
surface.chrome = #f0f0f0ff
|
||||
surface.raised = #f6f6f6ff
|
||||
surface.sunken = #ffffffff
|
||||
surface.control = #e2e2e2ff
|
||||
surface.knob = #fcfcfcff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #262626ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #fcfcfcff
|
||||
line.divider = #d6d6d6ff
|
||||
line.border = #d6d6d6ff
|
||||
line.control_edge = #bababaff
|
||||
line.outline = #404040ff
|
||||
line.knob_edge = #282828ff
|
||||
line.frame = #bababaff
|
||||
line.mark = #737373ff
|
||||
@@ -256,6 +258,7 @@ warning = text.faint on surface.panel: 3.87 < 4.50
|
||||
warning = text.faint on surface.chrome: 3.87 < 4.50
|
||||
warning = text.faint on surface.raised: 4.09 < 4.50
|
||||
warning = text.faint on surface.sunken: 4.42 < 4.50
|
||||
warning = text.faint on surface.control: 3.41 < 4.50
|
||||
warning = text.faint on state.hover: 3.41 < 4.50
|
||||
warning = text.faint on state.pressed: 2.81 < 4.50
|
||||
warning = text.on_accent on accent.solid: 3.34 < 4.50
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #1d2126ff
|
||||
surface.chrome = #262a30ff
|
||||
surface.raised = #272b30ff
|
||||
surface.sunken = #262a30ff
|
||||
surface.control = #32363bff
|
||||
surface.knob = #e9ebeeff
|
||||
surface.scrim = #00000080
|
||||
surface.inverse = #e9ebeeff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #0d0d0dff
|
||||
line.divider = #2e3236ff
|
||||
line.border = #34383dff
|
||||
line.control_edge = #44494fff
|
||||
line.outline = #ccd3daff
|
||||
line.knob_edge = #00000000
|
||||
line.frame = #0d0d0dff
|
||||
line.mark = #a5a9b0ff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #1d2126ff
|
||||
surface.chrome = #262a30ff
|
||||
surface.raised = #272b30ff
|
||||
surface.sunken = #262a30ff
|
||||
surface.control = #32363bff
|
||||
surface.knob = #e9ebeeff
|
||||
surface.scrim = #00000080
|
||||
surface.inverse = #e9ebeeff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #0d0d0dff
|
||||
line.divider = #2e3236ff
|
||||
line.border = #34383dff
|
||||
line.control_edge = #44494fff
|
||||
line.outline = #ccd3daff
|
||||
line.knob_edge = #00000000
|
||||
line.frame = #0d0d0dff
|
||||
line.mark = #a5a9b0ff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #1d2126ff
|
||||
surface.chrome = #262a30ff
|
||||
surface.raised = #272b30ff
|
||||
surface.sunken = #262a30ff
|
||||
surface.control = #32363bff
|
||||
surface.knob = #e9ebeeff
|
||||
surface.scrim = #00000080
|
||||
surface.inverse = #e9ebeeff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #0d0d0dff
|
||||
line.divider = #2e3236ff
|
||||
line.border = #34383dff
|
||||
line.control_edge = #44494fff
|
||||
line.outline = #c8ced5ff
|
||||
line.knob_edge = #00000000
|
||||
line.frame = #0d0d0dff
|
||||
line.mark = #84898fff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #1d2126ff
|
||||
surface.chrome = #262a30ff
|
||||
surface.raised = #272b30ff
|
||||
surface.sunken = #262a30ff
|
||||
surface.control = #32363bff
|
||||
surface.knob = #e9ebeeff
|
||||
surface.scrim = #00000080
|
||||
surface.inverse = #e9ebeeff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #0d0d0dff
|
||||
line.divider = #2e3236ff
|
||||
line.border = #34383dff
|
||||
line.control_edge = #44494fff
|
||||
line.outline = #c8ced5ff
|
||||
line.knob_edge = #00000000
|
||||
line.frame = #0d0d0dff
|
||||
line.mark = #84898fff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #eceef1ff
|
||||
surface.chrome = #dbdee2ff
|
||||
surface.raised = #f2f4f7ff
|
||||
surface.sunken = #f9fafcff
|
||||
surface.control = #e2e6ebff
|
||||
surface.knob = #fcfcfdff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #252729ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #fcfcfdff
|
||||
line.divider = #d6dadeff
|
||||
line.border = #cbd0d5ff
|
||||
line.control_edge = #b8bfc6ff
|
||||
line.outline = #363f48ff
|
||||
line.knob_edge = #363f48ff
|
||||
line.frame = #b8bfc6ff
|
||||
line.mark = #595d63ff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #eceef1ff
|
||||
surface.chrome = #dbdee2ff
|
||||
surface.raised = #f2f4f7ff
|
||||
surface.sunken = #f9fafcff
|
||||
surface.control = #e2e6ebff
|
||||
surface.knob = #fcfcfdff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #252729ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #fcfcfdff
|
||||
line.divider = #d6dadeff
|
||||
line.border = #cbd0d5ff
|
||||
line.control_edge = #b8bfc6ff
|
||||
line.outline = #363f48ff
|
||||
line.knob_edge = #363f48ff
|
||||
line.frame = #b8bfc6ff
|
||||
line.mark = #595d63ff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #eceef1ff
|
||||
surface.chrome = #dbdee2ff
|
||||
surface.raised = #f2f4f7ff
|
||||
surface.sunken = #f9fafcff
|
||||
surface.control = #e2e6ebff
|
||||
surface.knob = #fcfcfdff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #252729ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #fcfcfdff
|
||||
line.divider = #d6dadeff
|
||||
line.border = #cbd0d5ff
|
||||
line.control_edge = #b8bfc6ff
|
||||
line.outline = #363f48ff
|
||||
line.knob_edge = #363f48ff
|
||||
line.frame = #b8bfc6ff
|
||||
line.mark = #74797eff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #eceef1ff
|
||||
surface.chrome = #dbdee2ff
|
||||
surface.raised = #f2f4f7ff
|
||||
surface.sunken = #f9fafcff
|
||||
surface.control = #e2e6ebff
|
||||
surface.knob = #fcfcfdff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #252729ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #fcfcfdff
|
||||
line.divider = #d6dadeff
|
||||
line.border = #cbd0d5ff
|
||||
line.control_edge = #b8bfc6ff
|
||||
line.outline = #363f48ff
|
||||
line.knob_edge = #363f48ff
|
||||
line.frame = #b8bfc6ff
|
||||
line.mark = #74797eff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #d4d0c8ff
|
||||
surface.chrome = #d4d0c8ff
|
||||
surface.raised = #d4d0c8ff
|
||||
surface.sunken = #ffffffff
|
||||
surface.control = #e2ded6ff
|
||||
surface.knob = #d4d0c8ff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #282624ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #fdfcfcff
|
||||
line.divider = #808080ff
|
||||
line.border = #808080ff
|
||||
line.control_edge = #808080ff
|
||||
line.outline = #2e2e2eff
|
||||
line.knob_edge = #2e2e2eff
|
||||
line.frame = #808080ff
|
||||
line.mark = #4e4a44ff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #d4d0c8ff
|
||||
surface.chrome = #d4d0c8ff
|
||||
surface.raised = #d4d0c8ff
|
||||
surface.sunken = #ffffffff
|
||||
surface.control = #e2ded6ff
|
||||
surface.knob = #d4d0c8ff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #282624ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #fdfcfcff
|
||||
line.divider = #808080ff
|
||||
line.border = #808080ff
|
||||
line.control_edge = #808080ff
|
||||
line.outline = #2e2e2eff
|
||||
line.knob_edge = #2e2e2eff
|
||||
line.frame = #808080ff
|
||||
line.mark = #4e4a44ff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #d4d0c8ff
|
||||
surface.chrome = #d4d0c8ff
|
||||
surface.raised = #d4d0c8ff
|
||||
surface.sunken = #ffffffff
|
||||
surface.control = #e2ded6ff
|
||||
surface.knob = #d4d0c8ff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #282624ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #fdfcfcff
|
||||
line.divider = #808080ff
|
||||
line.border = #808080ff
|
||||
line.control_edge = #808080ff
|
||||
line.outline = #404040ff
|
||||
line.knob_edge = #404040ff
|
||||
line.frame = #808080ff
|
||||
line.mark = #68655eff
|
||||
@@ -255,5 +257,6 @@ warning = text.faint on surface.panel: 2.57 < 4.50
|
||||
warning = text.faint on surface.chrome: 2.57 < 4.50
|
||||
warning = text.faint on surface.raised: 2.57 < 4.50
|
||||
warning = text.faint on surface.sunken: 3.95 < 4.50
|
||||
warning = text.faint on surface.control: 2.94 < 4.50
|
||||
warning = text.faint on state.hover: 2.94 < 4.50
|
||||
warning = text.faint on state.pressed: 2.04 < 4.50
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #d4d0c8ff
|
||||
surface.chrome = #d4d0c8ff
|
||||
surface.raised = #d4d0c8ff
|
||||
surface.sunken = #ffffffff
|
||||
surface.control = #e2ded6ff
|
||||
surface.knob = #d4d0c8ff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #282624ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #fdfcfcff
|
||||
line.divider = #808080ff
|
||||
line.border = #808080ff
|
||||
line.control_edge = #808080ff
|
||||
line.outline = #404040ff
|
||||
line.knob_edge = #404040ff
|
||||
line.frame = #808080ff
|
||||
line.mark = #68655eff
|
||||
@@ -255,5 +257,6 @@ warning = text.faint on surface.panel: 2.57 < 4.50
|
||||
warning = text.faint on surface.chrome: 2.57 < 4.50
|
||||
warning = text.faint on surface.raised: 2.57 < 4.50
|
||||
warning = text.faint on surface.sunken: 3.95 < 4.50
|
||||
warning = text.faint on surface.control: 2.94 < 4.50
|
||||
warning = text.faint on state.hover: 2.94 < 4.50
|
||||
warning = text.faint on state.pressed: 2.04 < 4.50
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #26262aff
|
||||
surface.chrome = #26262aff
|
||||
surface.raised = #2e2e33ff
|
||||
surface.sunken = #131317ff
|
||||
surface.control = #303034ff
|
||||
surface.knob = #ebebedff
|
||||
surface.scrim = #00000080
|
||||
surface.inverse = #ebebedff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #0d0d0dff
|
||||
line.divider = #47474cff
|
||||
line.border = #3c3c43ff
|
||||
line.control_edge = #77777cff
|
||||
line.outline = #cacbd3ff
|
||||
line.knob_edge = #00000000
|
||||
line.frame = #0d0d0dff
|
||||
line.mark = #a3a3a7ff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #26262aff
|
||||
surface.chrome = #26262aff
|
||||
surface.raised = #2e2e33ff
|
||||
surface.sunken = #131317ff
|
||||
surface.control = #303034ff
|
||||
surface.knob = #ebebedff
|
||||
surface.scrim = #00000080
|
||||
surface.inverse = #ebebedff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #0d0d0dff
|
||||
line.divider = #47474cff
|
||||
line.border = #3c3c43ff
|
||||
line.control_edge = #77777cff
|
||||
line.outline = #cacbd3ff
|
||||
line.knob_edge = #00000000
|
||||
line.frame = #0d0d0dff
|
||||
line.mark = #a3a3a7ff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #26262aff
|
||||
surface.chrome = #26262aff
|
||||
surface.raised = #2e2e33ff
|
||||
surface.sunken = #131317ff
|
||||
surface.control = #303034ff
|
||||
surface.knob = #ebebedff
|
||||
surface.scrim = #00000080
|
||||
surface.inverse = #ebebedff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #0d0d0dff
|
||||
line.divider = #47474cff
|
||||
line.border = #3c3c43ff
|
||||
line.control_edge = #77777cff
|
||||
line.outline = #aeaeb6ff
|
||||
line.knob_edge = #00000000
|
||||
line.frame = #0d0d0dff
|
||||
line.mark = #838388ff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #26262aff
|
||||
surface.chrome = #26262aff
|
||||
surface.raised = #2e2e33ff
|
||||
surface.sunken = #131317ff
|
||||
surface.control = #303034ff
|
||||
surface.knob = #ebebedff
|
||||
surface.scrim = #00000080
|
||||
surface.inverse = #ebebedff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #0d0d0dff
|
||||
line.divider = #47474cff
|
||||
line.border = #3c3c43ff
|
||||
line.control_edge = #77777cff
|
||||
line.outline = #aeaeb6ff
|
||||
line.knob_edge = #00000000
|
||||
line.frame = #0d0d0dff
|
||||
line.mark = #838388ff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #ffffffff
|
||||
surface.chrome = #ffffffff
|
||||
surface.raised = #ffffffff
|
||||
surface.sunken = #ffffffff
|
||||
surface.control = #f7f7f7ff
|
||||
surface.knob = #fcfcfdff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #262628ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #fcfcfdff
|
||||
line.divider = #d9d9d9ff
|
||||
line.border = #dadadeff
|
||||
line.control_edge = #b2b2b2ff
|
||||
line.outline = #4f4f56ff
|
||||
line.knob_edge = #4f4f56ff
|
||||
line.frame = #b2b2b2ff
|
||||
line.mark = #6c6c71ff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #ffffffff
|
||||
surface.chrome = #ffffffff
|
||||
surface.raised = #ffffffff
|
||||
surface.sunken = #ffffffff
|
||||
surface.control = #f7f7f7ff
|
||||
surface.knob = #fcfcfdff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #262628ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #fcfcfdff
|
||||
line.divider = #d9d9d9ff
|
||||
line.border = #dadadeff
|
||||
line.control_edge = #b2b2b2ff
|
||||
line.outline = #4f4f56ff
|
||||
line.knob_edge = #4f4f56ff
|
||||
line.frame = #b2b2b2ff
|
||||
line.mark = #6c6c71ff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #ffffffff
|
||||
surface.chrome = #ffffffff
|
||||
surface.raised = #ffffffff
|
||||
surface.sunken = #ffffffff
|
||||
surface.control = #f7f7f7ff
|
||||
surface.knob = #fcfcfdff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #262628ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #fcfcfdff
|
||||
line.divider = #d9d9d9ff
|
||||
line.border = #dadadeff
|
||||
line.control_edge = #b2b2b2ff
|
||||
line.outline = #5e5e66ff
|
||||
line.knob_edge = #5e5e66ff
|
||||
line.frame = #b2b2b2ff
|
||||
line.mark = #89898eff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #ffffffff
|
||||
surface.chrome = #ffffffff
|
||||
surface.raised = #ffffffff
|
||||
surface.sunken = #ffffffff
|
||||
surface.control = #f7f7f7ff
|
||||
surface.knob = #fcfcfdff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #262628ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #fcfcfdff
|
||||
line.divider = #d9d9d9ff
|
||||
line.border = #dadadeff
|
||||
line.control_edge = #b2b2b2ff
|
||||
line.outline = #5e5e66ff
|
||||
line.knob_edge = #5e5e66ff
|
||||
line.frame = #b2b2b2ff
|
||||
line.mark = #89898eff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #323232ff
|
||||
surface.chrome = #323232ff
|
||||
surface.raised = #3c3c3cff
|
||||
surface.sunken = #242424ff
|
||||
surface.control = #424242ff
|
||||
surface.knob = #ebebebff
|
||||
surface.scrim = #00000080
|
||||
surface.inverse = #ebebebff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #0d0d0dff
|
||||
line.divider = #1e1e1eff
|
||||
line.border = #1e1e1eff
|
||||
line.control_edge = #4a4a4aff
|
||||
line.outline = #ecececff
|
||||
line.knob_edge = #282828ff
|
||||
line.frame = #0d0d0dff
|
||||
line.mark = #bfbfbfff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #323232ff
|
||||
surface.chrome = #323232ff
|
||||
surface.raised = #3c3c3cff
|
||||
surface.sunken = #242424ff
|
||||
surface.control = #424242ff
|
||||
surface.knob = #ebebebff
|
||||
surface.scrim = #00000080
|
||||
surface.inverse = #ebebebff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #0d0d0dff
|
||||
line.divider = #1e1e1eff
|
||||
line.border = #1e1e1eff
|
||||
line.control_edge = #4a4a4aff
|
||||
line.outline = #ecececff
|
||||
line.knob_edge = #282828ff
|
||||
line.frame = #0d0d0dff
|
||||
line.mark = #bfbfbfff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #323232ff
|
||||
surface.chrome = #323232ff
|
||||
surface.raised = #3c3c3cff
|
||||
surface.sunken = #242424ff
|
||||
surface.control = #424242ff
|
||||
surface.knob = #ebebebff
|
||||
surface.scrim = #00000080
|
||||
surface.inverse = #ebebebff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #0d0d0dff
|
||||
line.divider = #1e1e1eff
|
||||
line.border = #1e1e1eff
|
||||
line.control_edge = #4a4a4aff
|
||||
line.outline = #b2b2b2ff
|
||||
line.knob_edge = #282828ff
|
||||
line.frame = #0d0d0dff
|
||||
line.mark = #9c9c9cff
|
||||
@@ -256,6 +258,7 @@ warning = text.faint on surface.panel: 3.25 < 4.50
|
||||
warning = text.faint on surface.chrome: 3.25 < 4.50
|
||||
warning = text.faint on surface.raised: 2.79 < 4.50
|
||||
warning = text.faint on surface.sunken: 3.93 < 4.50
|
||||
warning = text.faint on surface.control: 2.54 < 4.50
|
||||
warning = text.faint on state.hover: 2.54 < 4.50
|
||||
warning = text.faint on state.pressed: 2.11 < 4.50
|
||||
warning = status.bad.fg on surface.panel: 3.81 < 4.50
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #323232ff
|
||||
surface.chrome = #323232ff
|
||||
surface.raised = #3c3c3cff
|
||||
surface.sunken = #242424ff
|
||||
surface.control = #424242ff
|
||||
surface.knob = #ebebebff
|
||||
surface.scrim = #00000080
|
||||
surface.inverse = #ebebebff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #0d0d0dff
|
||||
line.divider = #1e1e1eff
|
||||
line.border = #1e1e1eff
|
||||
line.control_edge = #4a4a4aff
|
||||
line.outline = #b2b2b2ff
|
||||
line.knob_edge = #282828ff
|
||||
line.frame = #0d0d0dff
|
||||
line.mark = #9c9c9cff
|
||||
@@ -256,6 +258,7 @@ warning = text.faint on surface.panel: 3.25 < 4.50
|
||||
warning = text.faint on surface.chrome: 3.25 < 4.50
|
||||
warning = text.faint on surface.raised: 2.79 < 4.50
|
||||
warning = text.faint on surface.sunken: 3.93 < 4.50
|
||||
warning = text.faint on surface.control: 2.54 < 4.50
|
||||
warning = text.faint on state.hover: 2.54 < 4.50
|
||||
warning = text.faint on state.pressed: 2.11 < 4.50
|
||||
warning = status.bad.fg on surface.panel: 3.81 < 4.50
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #323232ff
|
||||
surface.chrome = #323232ff
|
||||
surface.raised = #3c3c3cff
|
||||
surface.sunken = #242424ff
|
||||
surface.control = #424242ff
|
||||
surface.knob = #ebebebff
|
||||
surface.scrim = #00000080
|
||||
surface.inverse = #ebebebff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #0d0d0dff
|
||||
line.divider = #1e1e1eff
|
||||
line.border = #1e1e1eff
|
||||
line.control_edge = #4a4a4aff
|
||||
line.outline = #b2b2b2ff
|
||||
line.knob_edge = #282828ff
|
||||
line.frame = #0d0d0dff
|
||||
line.mark = #9c9c9cff
|
||||
@@ -256,6 +258,7 @@ warning = text.faint on surface.panel: 3.25 < 4.50
|
||||
warning = text.faint on surface.chrome: 3.25 < 4.50
|
||||
warning = text.faint on surface.raised: 2.79 < 4.50
|
||||
warning = text.faint on surface.sunken: 3.93 < 4.50
|
||||
warning = text.faint on surface.control: 2.54 < 4.50
|
||||
warning = text.faint on state.hover: 2.54 < 4.50
|
||||
warning = text.faint on state.pressed: 2.11 < 4.50
|
||||
warning = status.bad.fg on surface.panel: 3.81 < 4.50
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #b8b8b8ff
|
||||
surface.chrome = #b8b8b8ff
|
||||
surface.raised = #bdbdbdff
|
||||
surface.sunken = #d6d6d6ff
|
||||
surface.control = #c6c6c6ff
|
||||
surface.knob = #fcfcfcff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #262626ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #fcfcfcff
|
||||
line.divider = #9e9e9eff
|
||||
line.border = #a0a0a0ff
|
||||
line.control_edge = #8c8c8cff
|
||||
line.outline = #1e1e1eff
|
||||
line.knob_edge = #282828ff
|
||||
line.frame = #8c8c8cff
|
||||
line.mark = #3f3f3fff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #b8b8b8ff
|
||||
surface.chrome = #b8b8b8ff
|
||||
surface.raised = #bdbdbdff
|
||||
surface.sunken = #d6d6d6ff
|
||||
surface.control = #c6c6c6ff
|
||||
surface.knob = #fcfcfcff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #262626ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #fcfcfcff
|
||||
line.divider = #9e9e9eff
|
||||
line.border = #a0a0a0ff
|
||||
line.control_edge = #8c8c8cff
|
||||
line.outline = #1e1e1eff
|
||||
line.knob_edge = #282828ff
|
||||
line.frame = #8c8c8cff
|
||||
line.mark = #3f3f3fff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #b8b8b8ff
|
||||
surface.chrome = #b8b8b8ff
|
||||
surface.raised = #bdbdbdff
|
||||
surface.sunken = #d6d6d6ff
|
||||
surface.control = #c6c6c6ff
|
||||
surface.knob = #fcfcfcff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #262626ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #fcfcfcff
|
||||
line.divider = #9e9e9eff
|
||||
line.border = #a0a0a0ff
|
||||
line.control_edge = #8c8c8cff
|
||||
line.outline = #343434ff
|
||||
line.knob_edge = #282828ff
|
||||
line.frame = #8c8c8cff
|
||||
line.mark = #595959ff
|
||||
@@ -258,6 +260,7 @@ warning = text.faint on surface.panel: 3.17 < 4.50
|
||||
warning = text.faint on surface.chrome: 3.17 < 4.50
|
||||
warning = text.faint on surface.raised: 3.35 < 4.50
|
||||
warning = text.faint on surface.sunken: 4.33 < 4.50
|
||||
warning = text.faint on surface.control: 3.68 < 4.50
|
||||
warning = text.faint on state.hover: 3.68 < 4.50
|
||||
warning = text.faint on state.pressed: 2.71 < 4.50
|
||||
warning = text.on_accent on accent.solid: 3.34 < 4.50
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #b8b8b8ff
|
||||
surface.chrome = #b8b8b8ff
|
||||
surface.raised = #bdbdbdff
|
||||
surface.sunken = #d6d6d6ff
|
||||
surface.control = #c6c6c6ff
|
||||
surface.knob = #fcfcfcff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #262626ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #fcfcfcff
|
||||
line.divider = #9e9e9eff
|
||||
line.border = #a0a0a0ff
|
||||
line.control_edge = #8c8c8cff
|
||||
line.outline = #343434ff
|
||||
line.knob_edge = #282828ff
|
||||
line.frame = #8c8c8cff
|
||||
line.mark = #595959ff
|
||||
@@ -258,6 +260,7 @@ warning = text.faint on surface.panel: 3.17 < 4.50
|
||||
warning = text.faint on surface.chrome: 3.17 < 4.50
|
||||
warning = text.faint on surface.raised: 3.35 < 4.50
|
||||
warning = text.faint on surface.sunken: 4.33 < 4.50
|
||||
warning = text.faint on surface.control: 3.68 < 4.50
|
||||
warning = text.faint on state.hover: 3.68 < 4.50
|
||||
warning = text.faint on state.pressed: 2.71 < 4.50
|
||||
warning = text.on_accent on accent.solid: 3.34 < 4.50
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #f0f0f0ff
|
||||
surface.chrome = #f0f0f0ff
|
||||
surface.raised = #f6f6f6ff
|
||||
surface.sunken = #ffffffff
|
||||
surface.control = #e2e2e2ff
|
||||
surface.knob = #fcfcfcff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #262626ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #fcfcfcff
|
||||
line.divider = #d6d6d6ff
|
||||
line.border = #d6d6d6ff
|
||||
line.control_edge = #bababaff
|
||||
line.outline = #3c3c3cff
|
||||
line.knob_edge = #282828ff
|
||||
line.frame = #bababaff
|
||||
line.mark = #585858ff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #f0f0f0ff
|
||||
surface.chrome = #f0f0f0ff
|
||||
surface.raised = #f6f6f6ff
|
||||
surface.sunken = #ffffffff
|
||||
surface.control = #e2e2e2ff
|
||||
surface.knob = #fcfcfcff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #262626ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #fcfcfcff
|
||||
line.divider = #d6d6d6ff
|
||||
line.border = #d6d6d6ff
|
||||
line.control_edge = #bababaff
|
||||
line.outline = #3c3c3cff
|
||||
line.knob_edge = #282828ff
|
||||
line.frame = #bababaff
|
||||
line.mark = #585858ff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #f0f0f0ff
|
||||
surface.chrome = #f0f0f0ff
|
||||
surface.raised = #f6f6f6ff
|
||||
surface.sunken = #ffffffff
|
||||
surface.control = #e2e2e2ff
|
||||
surface.knob = #fcfcfcff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #262626ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #fcfcfcff
|
||||
line.divider = #d6d6d6ff
|
||||
line.border = #d6d6d6ff
|
||||
line.control_edge = #bababaff
|
||||
line.outline = #404040ff
|
||||
line.knob_edge = #282828ff
|
||||
line.frame = #bababaff
|
||||
line.mark = #737373ff
|
||||
@@ -256,6 +258,7 @@ warning = text.faint on surface.panel: 3.87 < 4.50
|
||||
warning = text.faint on surface.chrome: 3.87 < 4.50
|
||||
warning = text.faint on surface.raised: 4.09 < 4.50
|
||||
warning = text.faint on surface.sunken: 4.42 < 4.50
|
||||
warning = text.faint on surface.control: 3.41 < 4.50
|
||||
warning = text.faint on state.hover: 3.41 < 4.50
|
||||
warning = text.faint on state.pressed: 2.81 < 4.50
|
||||
warning = text.on_accent on accent.solid: 3.34 < 4.50
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #f0f0f0ff
|
||||
surface.chrome = #f0f0f0ff
|
||||
surface.raised = #f6f6f6ff
|
||||
surface.sunken = #ffffffff
|
||||
surface.control = #e2e2e2ff
|
||||
surface.knob = #fcfcfcff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #262626ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #fcfcfcff
|
||||
line.divider = #d6d6d6ff
|
||||
line.border = #d6d6d6ff
|
||||
line.control_edge = #bababaff
|
||||
line.outline = #404040ff
|
||||
line.knob_edge = #282828ff
|
||||
line.frame = #bababaff
|
||||
line.mark = #737373ff
|
||||
@@ -256,6 +258,7 @@ warning = text.faint on surface.panel: 3.87 < 4.50
|
||||
warning = text.faint on surface.chrome: 3.87 < 4.50
|
||||
warning = text.faint on surface.raised: 4.09 < 4.50
|
||||
warning = text.faint on surface.sunken: 4.42 < 4.50
|
||||
warning = text.faint on surface.control: 3.41 < 4.50
|
||||
warning = text.faint on state.hover: 3.41 < 4.50
|
||||
warning = text.faint on state.pressed: 2.81 < 4.50
|
||||
warning = text.on_accent on accent.solid: 3.34 < 4.50
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #363640ff
|
||||
surface.chrome = #3a3a44ff
|
||||
surface.raised = #40404bff
|
||||
surface.sunken = #40404bff
|
||||
surface.control = #444450ff
|
||||
surface.knob = #eaeaf0ff
|
||||
surface.scrim = #00000080
|
||||
surface.inverse = #eaeaf0ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #0d0d0eff
|
||||
line.divider = #24242cff
|
||||
line.border = #464652ff
|
||||
line.control_edge = #545462ff
|
||||
line.outline = #e5e6f2ff
|
||||
line.knob_edge = #00000000
|
||||
line.frame = #0d0d0eff
|
||||
line.mark = #b8bac5ff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #363640ff
|
||||
surface.chrome = #3a3a44ff
|
||||
surface.raised = #40404bff
|
||||
surface.sunken = #40404bff
|
||||
surface.control = #444450ff
|
||||
surface.knob = #eaeaf0ff
|
||||
surface.scrim = #00000080
|
||||
surface.inverse = #eaeaf0ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #0d0d0eff
|
||||
line.divider = #24242cff
|
||||
line.border = #464652ff
|
||||
line.control_edge = #545462ff
|
||||
line.outline = #e5e6f2ff
|
||||
line.knob_edge = #00000000
|
||||
line.frame = #0d0d0eff
|
||||
line.mark = #b8bac5ff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #363640ff
|
||||
surface.chrome = #3a3a44ff
|
||||
surface.raised = #40404bff
|
||||
surface.sunken = #40404bff
|
||||
surface.control = #444450ff
|
||||
surface.knob = #eaeaf0ff
|
||||
surface.scrim = #00000080
|
||||
surface.inverse = #eaeaf0ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #0d0d0eff
|
||||
line.divider = #24242cff
|
||||
line.border = #464652ff
|
||||
line.control_edge = #545462ff
|
||||
line.outline = #d4d4e0ff
|
||||
line.knob_edge = #00000000
|
||||
line.frame = #0d0d0eff
|
||||
line.mark = #9697a1ff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #363640ff
|
||||
surface.chrome = #3a3a44ff
|
||||
surface.raised = #40404bff
|
||||
surface.sunken = #40404bff
|
||||
surface.control = #444450ff
|
||||
surface.knob = #eaeaf0ff
|
||||
surface.scrim = #00000080
|
||||
surface.inverse = #eaeaf0ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #0d0d0eff
|
||||
line.divider = #24242cff
|
||||
line.border = #464652ff
|
||||
line.control_edge = #545462ff
|
||||
line.outline = #d4d4e0ff
|
||||
line.knob_edge = #00000000
|
||||
line.frame = #0d0d0eff
|
||||
line.mark = #9697a1ff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #f0eef3ff
|
||||
surface.chrome = #e8e6ecff
|
||||
surface.raised = #f6f4f9ff
|
||||
surface.sunken = #faf9fcff
|
||||
surface.control = #e4e2eaff
|
||||
surface.knob = #fcfcfdff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #272628ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #fcfcfdff
|
||||
line.divider = #d2cfdaff
|
||||
line.border = #d0cdd7ff
|
||||
line.control_edge = #bebbc9ff
|
||||
line.outline = #3e3c4cff
|
||||
line.knob_edge = #3e3c4cff
|
||||
line.frame = #bebbc9ff
|
||||
line.mark = #5b5b5eff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #f0eef3ff
|
||||
surface.chrome = #e8e6ecff
|
||||
surface.raised = #f6f4f9ff
|
||||
surface.sunken = #faf9fcff
|
||||
surface.control = #e4e2eaff
|
||||
surface.knob = #fcfcfdff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #272628ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #fcfcfdff
|
||||
line.divider = #d2cfdaff
|
||||
line.border = #d0cdd7ff
|
||||
line.control_edge = #bebbc9ff
|
||||
line.outline = #3e3c4cff
|
||||
line.knob_edge = #3e3c4cff
|
||||
line.frame = #bebbc9ff
|
||||
line.mark = #5b5b5eff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #f0eef3ff
|
||||
surface.chrome = #e8e6ecff
|
||||
surface.raised = #f6f4f9ff
|
||||
surface.sunken = #faf9fcff
|
||||
surface.control = #e4e2eaff
|
||||
surface.knob = #fcfcfdff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #272628ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #fcfcfdff
|
||||
line.divider = #d2cfdaff
|
||||
line.border = #d0cdd7ff
|
||||
line.control_edge = #bebbc9ff
|
||||
line.outline = #3e3c4cff
|
||||
line.knob_edge = #3e3c4cff
|
||||
line.frame = #bebbc9ff
|
||||
line.mark = #777679ff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #f0eef3ff
|
||||
surface.chrome = #e8e6ecff
|
||||
surface.raised = #f6f4f9ff
|
||||
surface.sunken = #faf9fcff
|
||||
surface.control = #e4e2eaff
|
||||
surface.knob = #fcfcfdff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #272628ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #fcfcfdff
|
||||
line.divider = #d2cfdaff
|
||||
line.border = #d0cdd7ff
|
||||
line.control_edge = #bebbc9ff
|
||||
line.outline = #3e3c4cff
|
||||
line.knob_edge = #3e3c4cff
|
||||
line.frame = #bebbc9ff
|
||||
line.mark = #777679ff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #073642ff
|
||||
surface.chrome = #073642ff
|
||||
surface.raised = #15414dff
|
||||
surface.sunken = #00252fff
|
||||
surface.control = #0e4a5aff
|
||||
surface.knob = #e2edf1ff
|
||||
surface.scrim = #00000080
|
||||
surface.inverse = #e2edf1ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #0c0d0eff
|
||||
line.divider = #00252fff
|
||||
line.border = #00252fff
|
||||
line.control_edge = #15505fff
|
||||
line.outline = #ddf6ffff
|
||||
line.knob_edge = #00000000
|
||||
line.frame = #0c0d0eff
|
||||
line.mark = #b0c8cfff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #073642ff
|
||||
surface.chrome = #073642ff
|
||||
surface.raised = #15414dff
|
||||
surface.sunken = #00252fff
|
||||
surface.control = #0e4a5aff
|
||||
surface.knob = #e2edf1ff
|
||||
surface.scrim = #00000080
|
||||
surface.inverse = #e2edf1ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #0c0d0eff
|
||||
line.divider = #00252fff
|
||||
line.border = #00252fff
|
||||
line.control_edge = #15505fff
|
||||
line.outline = #ddf6ffff
|
||||
line.knob_edge = #00000000
|
||||
line.frame = #0c0d0eff
|
||||
line.mark = #b0c8cfff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #073642ff
|
||||
surface.chrome = #073642ff
|
||||
surface.raised = #15414dff
|
||||
surface.sunken = #00252fff
|
||||
surface.control = #0e4a5aff
|
||||
surface.knob = #e2edf1ff
|
||||
surface.scrim = #00000080
|
||||
surface.inverse = #e2edf1ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #0c0d0eff
|
||||
line.divider = #00252fff
|
||||
line.border = #00252fff
|
||||
line.control_edge = #15505fff
|
||||
line.outline = #657b83ff
|
||||
line.knob_edge = #00000000
|
||||
line.frame = #0c0d0eff
|
||||
line.mark = #8ca4abff
|
||||
@@ -253,6 +255,7 @@ motion.reduced = false
|
||||
warning = text.normal on surface.panel: 4.11 < 4.50
|
||||
warning = text.normal on surface.chrome: 4.11 < 4.50
|
||||
warning = text.normal on surface.raised: 3.50 < 4.50
|
||||
warning = text.normal on surface.control: 3.10 < 4.50
|
||||
warning = text.normal on state.hover: 3.10 < 4.50
|
||||
warning = text.normal on state.pressed: 2.49 < 4.50
|
||||
warning = text.muted on surface.background: 3.61 < 4.50
|
||||
@@ -260,6 +263,7 @@ warning = text.muted on surface.panel: 2.92 < 4.50
|
||||
warning = text.muted on surface.chrome: 2.92 < 4.50
|
||||
warning = text.muted on surface.raised: 2.49 < 4.50
|
||||
warning = text.muted on surface.sunken: 3.61 < 4.50
|
||||
warning = text.muted on surface.control: 2.20 < 4.50
|
||||
warning = text.muted on state.hover: 2.20 < 4.50
|
||||
warning = text.muted on state.pressed: 1.77 < 4.50
|
||||
warning = text.faint on surface.background: 2.99 < 4.50
|
||||
@@ -267,6 +271,7 @@ warning = text.faint on surface.panel: 2.42 < 4.50
|
||||
warning = text.faint on surface.chrome: 2.42 < 4.50
|
||||
warning = text.faint on surface.raised: 2.06 < 4.50
|
||||
warning = text.faint on surface.sunken: 2.99 < 4.50
|
||||
warning = text.faint on surface.control: 1.82 < 4.50
|
||||
warning = text.faint on state.hover: 1.82 < 4.50
|
||||
warning = text.faint on state.pressed: 1.46 < 4.50
|
||||
warning = status.warn.fg on surface.panel: 4.05 < 4.50
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #073642ff
|
||||
surface.chrome = #073642ff
|
||||
surface.raised = #15414dff
|
||||
surface.sunken = #00252fff
|
||||
surface.control = #0e4a5aff
|
||||
surface.knob = #e2edf1ff
|
||||
surface.scrim = #00000080
|
||||
surface.inverse = #e2edf1ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #0c0d0eff
|
||||
line.divider = #00252fff
|
||||
line.border = #00252fff
|
||||
line.control_edge = #15505fff
|
||||
line.outline = #657b83ff
|
||||
line.knob_edge = #00000000
|
||||
line.frame = #0c0d0eff
|
||||
line.mark = #8ca4abff
|
||||
@@ -253,6 +255,7 @@ motion.reduced = false
|
||||
warning = text.normal on surface.panel: 4.11 < 4.50
|
||||
warning = text.normal on surface.chrome: 4.11 < 4.50
|
||||
warning = text.normal on surface.raised: 3.50 < 4.50
|
||||
warning = text.normal on surface.control: 3.10 < 4.50
|
||||
warning = text.normal on state.hover: 3.10 < 4.50
|
||||
warning = text.normal on state.pressed: 2.49 < 4.50
|
||||
warning = text.muted on surface.background: 3.61 < 4.50
|
||||
@@ -260,6 +263,7 @@ warning = text.muted on surface.panel: 2.92 < 4.50
|
||||
warning = text.muted on surface.chrome: 2.92 < 4.50
|
||||
warning = text.muted on surface.raised: 2.49 < 4.50
|
||||
warning = text.muted on surface.sunken: 3.61 < 4.50
|
||||
warning = text.muted on surface.control: 2.20 < 4.50
|
||||
warning = text.muted on state.hover: 2.20 < 4.50
|
||||
warning = text.muted on state.pressed: 1.77 < 4.50
|
||||
warning = text.faint on surface.background: 2.99 < 4.50
|
||||
@@ -267,6 +271,7 @@ warning = text.faint on surface.panel: 2.42 < 4.50
|
||||
warning = text.faint on surface.chrome: 2.42 < 4.50
|
||||
warning = text.faint on surface.raised: 2.06 < 4.50
|
||||
warning = text.faint on surface.sunken: 2.99 < 4.50
|
||||
warning = text.faint on surface.control: 1.82 < 4.50
|
||||
warning = text.faint on state.hover: 1.82 < 4.50
|
||||
warning = text.faint on state.pressed: 1.46 < 4.50
|
||||
warning = status.warn.fg on surface.panel: 4.05 < 4.50
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #1a1a1cff
|
||||
surface.chrome = #141415ff
|
||||
surface.raised = #232325ff
|
||||
surface.sunken = #232326ff
|
||||
surface.control = #2c2c30ff
|
||||
surface.knob = #ebebecff
|
||||
surface.scrim = #00000080
|
||||
surface.inverse = #ebebecff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #0d0d0dff
|
||||
line.divider = #26262aff
|
||||
line.border = #28282cff
|
||||
line.control_edge = #343439ff
|
||||
line.outline = #c8c8d0ff
|
||||
line.knob_edge = #00000000
|
||||
line.frame = #0d0d0dff
|
||||
line.mark = #a0a1a4ff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #1a1a1cff
|
||||
surface.chrome = #141415ff
|
||||
surface.raised = #232325ff
|
||||
surface.sunken = #232326ff
|
||||
surface.control = #2c2c30ff
|
||||
surface.knob = #ebebecff
|
||||
surface.scrim = #00000080
|
||||
surface.inverse = #ebebecff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #0d0d0dff
|
||||
line.divider = #26262aff
|
||||
line.border = #28282cff
|
||||
line.control_edge = #343439ff
|
||||
line.outline = #c8c8d0ff
|
||||
line.knob_edge = #00000000
|
||||
line.frame = #0d0d0dff
|
||||
line.mark = #a0a1a4ff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #1a1a1cff
|
||||
surface.chrome = #141415ff
|
||||
surface.raised = #232325ff
|
||||
surface.sunken = #232326ff
|
||||
surface.control = #2c2c30ff
|
||||
surface.knob = #ebebecff
|
||||
surface.scrim = #00000080
|
||||
surface.inverse = #ebebecff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #0d0d0dff
|
||||
line.divider = #26262aff
|
||||
line.border = #28282cff
|
||||
line.control_edge = #343439ff
|
||||
line.outline = #96969eff
|
||||
line.knob_edge = #00000000
|
||||
line.frame = #0d0d0dff
|
||||
line.mark = #818185ff
|
||||
@@ -256,5 +258,6 @@ warning = text.faint on surface.panel: 2.79 < 4.50
|
||||
warning = text.faint on surface.chrome: 2.95 < 4.50
|
||||
warning = text.faint on surface.raised: 2.52 < 4.50
|
||||
warning = text.faint on surface.sunken: 2.52 < 4.50
|
||||
warning = text.faint on surface.control: 2.23 < 4.50
|
||||
warning = text.faint on state.hover: 2.23 < 4.50
|
||||
warning = text.faint on state.pressed: 1.87 < 4.50
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #1a1a1cff
|
||||
surface.chrome = #141415ff
|
||||
surface.raised = #232325ff
|
||||
surface.sunken = #232326ff
|
||||
surface.control = #2c2c30ff
|
||||
surface.knob = #ebebecff
|
||||
surface.scrim = #00000080
|
||||
surface.inverse = #ebebecff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #0d0d0dff
|
||||
line.divider = #26262aff
|
||||
line.border = #28282cff
|
||||
line.control_edge = #343439ff
|
||||
line.outline = #96969eff
|
||||
line.knob_edge = #00000000
|
||||
line.frame = #0d0d0dff
|
||||
line.mark = #818185ff
|
||||
@@ -256,5 +258,6 @@ warning = text.faint on surface.panel: 2.79 < 4.50
|
||||
warning = text.faint on surface.chrome: 2.95 < 4.50
|
||||
warning = text.faint on surface.raised: 2.52 < 4.50
|
||||
warning = text.faint on surface.sunken: 2.52 < 4.50
|
||||
warning = text.faint on surface.control: 2.23 < 4.50
|
||||
warning = text.faint on state.hover: 2.23 < 4.50
|
||||
warning = text.faint on state.pressed: 1.87 < 4.50
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #fcfcfdff
|
||||
surface.chrome = #f6f6f8ff
|
||||
surface.raised = #ffffffff
|
||||
surface.sunken = #f2f2f5ff
|
||||
surface.control = #e8e8edff
|
||||
surface.knob = #fcfcfcff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #262627ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #fcfcfcff
|
||||
line.divider = #e2e2e8ff
|
||||
line.border = #dedee4ff
|
||||
line.control_edge = #d6d6dcff
|
||||
line.outline = #45444eff
|
||||
line.knob_edge = #45444eff
|
||||
line.frame = #d6d6dcff
|
||||
line.mark = #626164ff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #fcfcfdff
|
||||
surface.chrome = #f6f6f8ff
|
||||
surface.raised = #ffffffff
|
||||
surface.sunken = #f2f2f5ff
|
||||
surface.control = #e8e8edff
|
||||
surface.knob = #fcfcfcff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #262627ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #fcfcfcff
|
||||
line.divider = #e2e2e8ff
|
||||
line.border = #dedee4ff
|
||||
line.control_edge = #d6d6dcff
|
||||
line.outline = #45444eff
|
||||
line.knob_edge = #45444eff
|
||||
line.frame = #d6d6dcff
|
||||
line.mark = #626164ff
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #fcfcfdff
|
||||
surface.chrome = #f6f6f8ff
|
||||
surface.raised = #ffffffff
|
||||
surface.sunken = #f2f2f5ff
|
||||
surface.control = #e8e8edff
|
||||
surface.knob = #fcfcfcff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #262627ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #fcfcfcff
|
||||
line.divider = #e2e2e8ff
|
||||
line.border = #dedee4ff
|
||||
line.control_edge = #d6d6dcff
|
||||
line.outline = #60606aff
|
||||
line.knob_edge = #60606aff
|
||||
line.frame = #d6d6dcff
|
||||
line.mark = #7d7d80ff
|
||||
@@ -255,5 +257,6 @@ warning = text.faint on surface.panel: 2.86 < 4.50
|
||||
warning = text.faint on surface.chrome: 2.71 < 4.50
|
||||
warning = text.faint on surface.raised: 2.93 < 4.50
|
||||
warning = text.faint on surface.sunken: 2.62 < 4.50
|
||||
warning = text.faint on surface.control: 2.40 < 4.50
|
||||
warning = text.faint on state.hover: 2.40 < 4.50
|
||||
warning = text.faint on state.pressed: 2.15 < 4.50
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #fcfcfdff
|
||||
surface.chrome = #f6f6f8ff
|
||||
surface.raised = #ffffffff
|
||||
surface.sunken = #f2f2f5ff
|
||||
surface.control = #e8e8edff
|
||||
surface.knob = #fcfcfcff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #262627ff
|
||||
@@ -22,6 +23,7 @@ text.on_inverse = #fcfcfcff
|
||||
line.divider = #e2e2e8ff
|
||||
line.border = #dedee4ff
|
||||
line.control_edge = #d6d6dcff
|
||||
line.outline = #60606aff
|
||||
line.knob_edge = #60606aff
|
||||
line.frame = #d6d6dcff
|
||||
line.mark = #7d7d80ff
|
||||
@@ -255,5 +257,6 @@ warning = text.faint on surface.panel: 2.86 < 4.50
|
||||
warning = text.faint on surface.chrome: 2.71 < 4.50
|
||||
warning = text.faint on surface.raised: 2.93 < 4.50
|
||||
warning = text.faint on surface.sunken: 2.62 < 4.50
|
||||
warning = text.faint on surface.control: 2.40 < 4.50
|
||||
warning = text.faint on state.hover: 2.40 < 4.50
|
||||
warning = text.faint on state.pressed: 2.15 < 4.50
|
||||
|
||||
@@ -6,14 +6,15 @@ surface.panel = #181b22ff
|
||||
surface.chrome = #181b22ff
|
||||
surface.raised = #21242cff
|
||||
surface.sunken = #0f1116ff
|
||||
surface.control = #282d37ff
|
||||
surface.knob = #e9ebf0ff
|
||||
surface.scrim = #00000080
|
||||
surface.inverse = #e9ebf0ff
|
||||
surface.shadow = #00000096
|
||||
text.normal = #dfe4ecff
|
||||
text.muted = #bbc4d5ff
|
||||
text.faint = #bbc4d5ff
|
||||
text.disabled = #82868fff
|
||||
text.muted = #c7d1e1ff
|
||||
text.faint = #c7d1e2ff
|
||||
text.disabled = #5a6271ff
|
||||
text.on_accent = #000000ff
|
||||
text.on_strong = #ffffffff
|
||||
text.on_status = #000000ff
|
||||
@@ -22,9 +23,10 @@ text.on_inverse = #0d0d0eff
|
||||
line.divider = #232832ff
|
||||
line.border = #06070aff
|
||||
line.control_edge = #2c323eff
|
||||
line.outline = #4a5363ff
|
||||
line.knob_edge = #00000000
|
||||
line.frame = #0d0d0eff
|
||||
line.mark = #989da5ff
|
||||
line.mark = #a3a8b0ff
|
||||
line.grip = #2b2e36ff
|
||||
line.focus = #f06a52ff
|
||||
accent.solid = #f26b53ff
|
||||
@@ -62,9 +64,9 @@ status.info.solid = #8c96a8ff
|
||||
status.info.solid_hover = #8f99abff
|
||||
status.info.solid_pressed = #a2abbdff
|
||||
state.hover = #262b35ff
|
||||
state.pressed = #2f3541ff
|
||||
state.selected = #3a2a2cff
|
||||
state.selected_hover = #4d3c3eff
|
||||
state.pressed = #593330ff
|
||||
state.selected = #4c2e2eff
|
||||
state.selected_hover = #604040ff
|
||||
state.disabled_fill = #181b22ff
|
||||
state.text_selection = #f26b5346
|
||||
state.match = #f0dc005a
|
||||
@@ -97,14 +99,14 @@ data.cyan = #00c8ebff
|
||||
data.magenta = #e909a2ff
|
||||
data.yellow = #f0dc00ff
|
||||
data.scope = #282828ff
|
||||
data.backdrop = #bbc4d580
|
||||
data.backdrop = #c7d1e180
|
||||
data.selection = #f26b5359
|
||||
caption.close_hover = #c42b1cff
|
||||
caption.close_pressed = #c42b1ce6
|
||||
caption.close_text = #ffffffff
|
||||
caption.disc = #dfe4ec1a
|
||||
caption.inactive = #bbc4d5ff
|
||||
caption.pressed = #bbc4d5ff
|
||||
caption.inactive = #c7d1e2ff
|
||||
caption.pressed = #c7d1e1ff
|
||||
edge.light = #3d4048ff
|
||||
edge.dark = #000000ff
|
||||
shape.radius.sm = 3
|
||||
|
||||
@@ -6,14 +6,15 @@ surface.panel = #181b22ff
|
||||
surface.chrome = #181b22ff
|
||||
surface.raised = #21242cff
|
||||
surface.sunken = #0f1116ff
|
||||
surface.control = #282d37ff
|
||||
surface.knob = #e9ebf0ff
|
||||
surface.scrim = #00000080
|
||||
surface.inverse = #e9ebf0ff
|
||||
surface.shadow = #00000096
|
||||
text.normal = #dfe4ecff
|
||||
text.muted = #bbc4d5ff
|
||||
text.faint = #bbc4d5ff
|
||||
text.disabled = #82868fff
|
||||
text.muted = #c7d1e1ff
|
||||
text.faint = #c7d1e2ff
|
||||
text.disabled = #5a6271ff
|
||||
text.on_accent = #000000ff
|
||||
text.on_strong = #ffffffff
|
||||
text.on_status = #000000ff
|
||||
@@ -22,9 +23,10 @@ text.on_inverse = #0d0d0eff
|
||||
line.divider = #232832ff
|
||||
line.border = #06070aff
|
||||
line.control_edge = #2c323eff
|
||||
line.outline = #4a5363ff
|
||||
line.knob_edge = #00000000
|
||||
line.frame = #0d0d0eff
|
||||
line.mark = #989da5ff
|
||||
line.mark = #a3a8b0ff
|
||||
line.grip = #2b2e36ff
|
||||
line.focus = #f06a52ff
|
||||
accent.solid = #f26b53ff
|
||||
@@ -62,9 +64,9 @@ status.info.solid = #8c96a8ff
|
||||
status.info.solid_hover = #8f99abff
|
||||
status.info.solid_pressed = #a2abbdff
|
||||
state.hover = #262b35ff
|
||||
state.pressed = #2f3541ff
|
||||
state.selected = #3a2a2cff
|
||||
state.selected_hover = #4d3c3eff
|
||||
state.pressed = #593330ff
|
||||
state.selected = #4c2e2eff
|
||||
state.selected_hover = #604040ff
|
||||
state.disabled_fill = #181b22ff
|
||||
state.text_selection = #f26b5346
|
||||
state.match = #f0dc005a
|
||||
@@ -97,14 +99,14 @@ data.cyan = #00c8ebff
|
||||
data.magenta = #e909a2ff
|
||||
data.yellow = #f0dc00ff
|
||||
data.scope = #282828ff
|
||||
data.backdrop = #bbc4d580
|
||||
data.backdrop = #c7d1e180
|
||||
data.selection = #f26b5359
|
||||
caption.close_hover = #c42b1cff
|
||||
caption.close_pressed = #c42b1ce6
|
||||
caption.close_text = #ffffffff
|
||||
caption.disc = #dfe4ec1a
|
||||
caption.inactive = #bbc4d5ff
|
||||
caption.pressed = #bbc4d5ff
|
||||
caption.inactive = #c7d1e2ff
|
||||
caption.pressed = #c7d1e1ff
|
||||
edge.light = #3d4048ff
|
||||
edge.dark = #000000ff
|
||||
shape.radius.sm = 2
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #181b22ff
|
||||
surface.chrome = #181b22ff
|
||||
surface.raised = #21242cff
|
||||
surface.sunken = #0f1116ff
|
||||
surface.control = #282d37ff
|
||||
surface.knob = #e9ebf0ff
|
||||
surface.scrim = #00000080
|
||||
surface.inverse = #e9ebf0ff
|
||||
@@ -13,7 +14,7 @@ surface.shadow = #00000096
|
||||
text.normal = #dfe4ecff
|
||||
text.muted = #969fafff
|
||||
text.faint = #5a6271ff
|
||||
text.disabled = #82868fff
|
||||
text.disabled = #5a6271ff
|
||||
text.on_accent = #000000ff
|
||||
text.on_strong = #ffffffff
|
||||
text.on_status = #000000ff
|
||||
@@ -22,9 +23,10 @@ text.on_inverse = #0d0d0eff
|
||||
line.divider = #232832ff
|
||||
line.border = #06070aff
|
||||
line.control_edge = #2c323eff
|
||||
line.outline = #4a5363ff
|
||||
line.knob_edge = #00000000
|
||||
line.frame = #0d0d0eff
|
||||
line.mark = #797e86ff
|
||||
line.mark = #83878fff
|
||||
line.grip = #2b2e36ff
|
||||
line.focus = #f06a52ff
|
||||
accent.solid = #f06a52ff
|
||||
@@ -62,9 +64,9 @@ status.info.solid = #6f788aff
|
||||
status.info.solid_hover = #8f99abff
|
||||
status.info.solid_pressed = #a2abbdff
|
||||
state.hover = #262b35ff
|
||||
state.pressed = #2f3541ff
|
||||
state.selected = #3a2a2cff
|
||||
state.selected_hover = #4d3c3eff
|
||||
state.pressed = #593330ff
|
||||
state.selected = #4c2e2eff
|
||||
state.selected_hover = #604040ff
|
||||
state.disabled_fill = #181b22ff
|
||||
state.text_selection = #f06a5246
|
||||
state.match = #f0dc005a
|
||||
@@ -250,10 +252,12 @@ motion.caret.easing = enter
|
||||
motion.outline.millis = 120
|
||||
motion.outline.easing = standard
|
||||
motion.reduced = false
|
||||
warning = text.muted on state.pressed: 4.06 < 4.50
|
||||
warning = text.faint on surface.background: 3.17 < 4.50
|
||||
warning = text.faint on surface.panel: 2.81 < 4.50
|
||||
warning = text.faint on surface.chrome: 2.81 < 4.50
|
||||
warning = text.faint on surface.raised: 2.53 < 4.50
|
||||
warning = text.faint on surface.sunken: 3.08 < 4.50
|
||||
warning = text.faint on surface.control: 2.25 < 4.50
|
||||
warning = text.faint on state.hover: 2.31 < 4.50
|
||||
warning = text.faint on state.pressed: 2.00 < 4.50
|
||||
warning = text.faint on state.pressed: 1.76 < 4.50
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #181b22ff
|
||||
surface.chrome = #181b22ff
|
||||
surface.raised = #21242cff
|
||||
surface.sunken = #0f1116ff
|
||||
surface.control = #282d37ff
|
||||
surface.knob = #e9ebf0ff
|
||||
surface.scrim = #00000080
|
||||
surface.inverse = #e9ebf0ff
|
||||
@@ -13,7 +14,7 @@ surface.shadow = #00000096
|
||||
text.normal = #dfe4ecff
|
||||
text.muted = #969fafff
|
||||
text.faint = #5a6271ff
|
||||
text.disabled = #82868fff
|
||||
text.disabled = #5a6271ff
|
||||
text.on_accent = #000000ff
|
||||
text.on_strong = #ffffffff
|
||||
text.on_status = #000000ff
|
||||
@@ -22,9 +23,10 @@ text.on_inverse = #0d0d0eff
|
||||
line.divider = #232832ff
|
||||
line.border = #06070aff
|
||||
line.control_edge = #2c323eff
|
||||
line.outline = #4a5363ff
|
||||
line.knob_edge = #00000000
|
||||
line.frame = #0d0d0eff
|
||||
line.mark = #797e86ff
|
||||
line.mark = #83878fff
|
||||
line.grip = #2b2e36ff
|
||||
line.focus = #f06a52ff
|
||||
accent.solid = #f06a52ff
|
||||
@@ -62,9 +64,9 @@ status.info.solid = #6f788aff
|
||||
status.info.solid_hover = #8f99abff
|
||||
status.info.solid_pressed = #a2abbdff
|
||||
state.hover = #262b35ff
|
||||
state.pressed = #2f3541ff
|
||||
state.selected = #3a2a2cff
|
||||
state.selected_hover = #4d3c3eff
|
||||
state.pressed = #593330ff
|
||||
state.selected = #4c2e2eff
|
||||
state.selected_hover = #604040ff
|
||||
state.disabled_fill = #181b22ff
|
||||
state.text_selection = #f06a5246
|
||||
state.match = #f0dc005a
|
||||
@@ -250,10 +252,12 @@ motion.caret.easing = enter
|
||||
motion.outline.millis = 120
|
||||
motion.outline.easing = standard
|
||||
motion.reduced = false
|
||||
warning = text.muted on state.pressed: 4.06 < 4.50
|
||||
warning = text.faint on surface.background: 3.17 < 4.50
|
||||
warning = text.faint on surface.panel: 2.81 < 4.50
|
||||
warning = text.faint on surface.chrome: 2.81 < 4.50
|
||||
warning = text.faint on surface.raised: 2.53 < 4.50
|
||||
warning = text.faint on surface.sunken: 3.08 < 4.50
|
||||
warning = text.faint on surface.control: 2.25 < 4.50
|
||||
warning = text.faint on state.hover: 2.31 < 4.50
|
||||
warning = text.faint on state.pressed: 2.00 < 4.50
|
||||
warning = text.faint on state.pressed: 1.76 < 4.50
|
||||
|
||||
@@ -6,14 +6,15 @@ surface.panel = #f3f5f8ff
|
||||
surface.chrome = #f3f5f8ff
|
||||
surface.raised = #f9fbfeff
|
||||
surface.sunken = #ffffffff
|
||||
surface.control = #e3e7edff
|
||||
surface.knob = #fcfcfdff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #262627ff
|
||||
surface.shadow = #00000032
|
||||
text.normal = #1b1f27ff
|
||||
text.muted = #3d4452ff
|
||||
text.faint = #3f444fff
|
||||
text.disabled = #848689ff
|
||||
text.muted = #383f4dff
|
||||
text.faint = #3a3f4aff
|
||||
text.disabled = #9aa1adff
|
||||
text.on_accent = #ffffffff
|
||||
text.on_strong = #ffffffff
|
||||
text.on_status = #000000ff
|
||||
@@ -22,9 +23,10 @@ text.on_inverse = #fcfcfdff
|
||||
line.divider = #dde1e8ff
|
||||
line.border = #d0d5ddff
|
||||
line.control_edge = #c3c9d3ff
|
||||
line.knob_edge = #3d4452ff
|
||||
line.outline = #a4abb8ff
|
||||
line.knob_edge = #383f4dff
|
||||
line.frame = #c3c9d3ff
|
||||
line.mark = #5f6062ff
|
||||
line.mark = #5a5b5dff
|
||||
line.grip = #e2e4e7ff
|
||||
line.focus = #c4321aff
|
||||
accent.solid = #af1c00ff
|
||||
@@ -62,9 +64,9 @@ status.info.solid = #8c96a8ff
|
||||
status.info.solid_hover = #8c96a8ff
|
||||
status.info.solid_pressed = #8d96a7ff
|
||||
state.hover = #e3e7edff
|
||||
state.pressed = #d5dbe3ff
|
||||
state.selected = #f8d9d2ff
|
||||
state.selected_hover = #eccec7ff
|
||||
state.pressed = #edcbc8ff
|
||||
state.selected = #eed2d0ff
|
||||
state.selected_hover = #e2c7c5ff
|
||||
state.disabled_fill = #f3f5f8ff
|
||||
state.text_selection = #af1c0046
|
||||
state.match = #8378005a
|
||||
@@ -97,14 +99,14 @@ data.cyan = #00829aff
|
||||
data.magenta = #e0009cff
|
||||
data.yellow = #837800ff
|
||||
data.scope = #282828ff
|
||||
data.backdrop = #3d445280
|
||||
data.backdrop = #383f4d80
|
||||
data.selection = #af1c0059
|
||||
caption.close_hover = #c42b1cff
|
||||
caption.close_pressed = #c42b1ce6
|
||||
caption.close_text = #ffffffff
|
||||
caption.disc = #1b1f271a
|
||||
caption.inactive = #3f444fff
|
||||
caption.pressed = #3d4452ff
|
||||
caption.inactive = #3a3f4aff
|
||||
caption.pressed = #383f4dff
|
||||
edge.light = #ffffffff
|
||||
edge.dark = #a0a1a4ff
|
||||
shape.radius.sm = 3
|
||||
|
||||
@@ -6,14 +6,15 @@ surface.panel = #f3f5f8ff
|
||||
surface.chrome = #f3f5f8ff
|
||||
surface.raised = #f9fbfeff
|
||||
surface.sunken = #ffffffff
|
||||
surface.control = #e3e7edff
|
||||
surface.knob = #fcfcfdff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #262627ff
|
||||
surface.shadow = #00000032
|
||||
text.normal = #1b1f27ff
|
||||
text.muted = #3d4452ff
|
||||
text.faint = #3f444fff
|
||||
text.disabled = #848689ff
|
||||
text.muted = #383f4dff
|
||||
text.faint = #3a3f4aff
|
||||
text.disabled = #9aa1adff
|
||||
text.on_accent = #ffffffff
|
||||
text.on_strong = #ffffffff
|
||||
text.on_status = #000000ff
|
||||
@@ -22,9 +23,10 @@ text.on_inverse = #fcfcfdff
|
||||
line.divider = #dde1e8ff
|
||||
line.border = #d0d5ddff
|
||||
line.control_edge = #c3c9d3ff
|
||||
line.knob_edge = #3d4452ff
|
||||
line.outline = #a4abb8ff
|
||||
line.knob_edge = #383f4dff
|
||||
line.frame = #c3c9d3ff
|
||||
line.mark = #5f6062ff
|
||||
line.mark = #5a5b5dff
|
||||
line.grip = #e2e4e7ff
|
||||
line.focus = #c4321aff
|
||||
accent.solid = #af1c00ff
|
||||
@@ -62,9 +64,9 @@ status.info.solid = #8c96a8ff
|
||||
status.info.solid_hover = #8c96a8ff
|
||||
status.info.solid_pressed = #8d96a7ff
|
||||
state.hover = #e3e7edff
|
||||
state.pressed = #d5dbe3ff
|
||||
state.selected = #f8d9d2ff
|
||||
state.selected_hover = #eccec7ff
|
||||
state.pressed = #edcbc8ff
|
||||
state.selected = #eed2d0ff
|
||||
state.selected_hover = #e2c7c5ff
|
||||
state.disabled_fill = #f3f5f8ff
|
||||
state.text_selection = #af1c0046
|
||||
state.match = #8378005a
|
||||
@@ -97,14 +99,14 @@ data.cyan = #00829aff
|
||||
data.magenta = #e0009cff
|
||||
data.yellow = #837800ff
|
||||
data.scope = #282828ff
|
||||
data.backdrop = #3d445280
|
||||
data.backdrop = #383f4d80
|
||||
data.selection = #af1c0059
|
||||
caption.close_hover = #c42b1cff
|
||||
caption.close_pressed = #c42b1ce6
|
||||
caption.close_text = #ffffffff
|
||||
caption.disc = #1b1f271a
|
||||
caption.inactive = #3f444fff
|
||||
caption.pressed = #3d4452ff
|
||||
caption.inactive = #3a3f4aff
|
||||
caption.pressed = #383f4dff
|
||||
edge.light = #ffffffff
|
||||
edge.dark = #a0a1a4ff
|
||||
shape.radius.sm = 2
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #f3f5f8ff
|
||||
surface.chrome = #f3f5f8ff
|
||||
surface.raised = #f9fbfeff
|
||||
surface.sunken = #ffffffff
|
||||
surface.control = #e3e7edff
|
||||
surface.knob = #fcfcfdff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #262627ff
|
||||
@@ -13,7 +14,7 @@ surface.shadow = #00000032
|
||||
text.normal = #1b1f27ff
|
||||
text.muted = #58606eff
|
||||
text.faint = #9aa1adff
|
||||
text.disabled = #848689ff
|
||||
text.disabled = #9aa1adff
|
||||
text.on_accent = #000000ff
|
||||
text.on_strong = #ffffffff
|
||||
text.on_status = #000000ff
|
||||
@@ -22,9 +23,10 @@ text.on_inverse = #fcfcfdff
|
||||
line.divider = #dde1e8ff
|
||||
line.border = #d0d5ddff
|
||||
line.control_edge = #c3c9d3ff
|
||||
line.outline = #a4abb8ff
|
||||
line.knob_edge = #58606eff
|
||||
line.frame = #c3c9d3ff
|
||||
line.mark = #7a7c7eff
|
||||
line.mark = #757678ff
|
||||
line.grip = #e2e4e7ff
|
||||
line.focus = #d9472fff
|
||||
accent.solid = #d9472fff
|
||||
@@ -62,9 +64,9 @@ status.info.solid = #6f788aff
|
||||
status.info.solid_hover = #6c7587ff
|
||||
status.info.solid_pressed = #6c7585ff
|
||||
state.hover = #e3e7edff
|
||||
state.pressed = #d5dbe3ff
|
||||
state.selected = #f8d9d2ff
|
||||
state.selected_hover = #eccec7ff
|
||||
state.pressed = #edcbc8ff
|
||||
state.selected = #eed2d0ff
|
||||
state.selected_hover = #e2c7c5ff
|
||||
state.disabled_fill = #f3f5f8ff
|
||||
state.text_selection = #d9472f46
|
||||
state.match = #f0dc005a
|
||||
@@ -250,10 +252,12 @@ motion.caret.easing = enter
|
||||
motion.outline.millis = 120
|
||||
motion.outline.easing = standard
|
||||
motion.reduced = false
|
||||
warning = text.muted on state.pressed: 4.22 < 4.50
|
||||
warning = text.faint on surface.background: 2.14 < 4.50
|
||||
warning = text.faint on surface.panel: 2.38 < 4.50
|
||||
warning = text.faint on surface.chrome: 2.38 < 4.50
|
||||
warning = text.faint on surface.raised: 2.51 < 4.50
|
||||
warning = text.faint on surface.sunken: 2.60 < 4.50
|
||||
warning = text.faint on surface.control: 2.10 < 4.50
|
||||
warning = text.faint on state.hover: 2.10 < 4.50
|
||||
warning = text.faint on state.pressed: 1.87 < 4.50
|
||||
warning = text.faint on state.pressed: 1.73 < 4.50
|
||||
|
||||
@@ -6,6 +6,7 @@ surface.panel = #f3f5f8ff
|
||||
surface.chrome = #f3f5f8ff
|
||||
surface.raised = #f9fbfeff
|
||||
surface.sunken = #ffffffff
|
||||
surface.control = #e3e7edff
|
||||
surface.knob = #fcfcfdff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #262627ff
|
||||
@@ -13,7 +14,7 @@ surface.shadow = #00000032
|
||||
text.normal = #1b1f27ff
|
||||
text.muted = #58606eff
|
||||
text.faint = #9aa1adff
|
||||
text.disabled = #848689ff
|
||||
text.disabled = #9aa1adff
|
||||
text.on_accent = #000000ff
|
||||
text.on_strong = #ffffffff
|
||||
text.on_status = #000000ff
|
||||
@@ -22,9 +23,10 @@ text.on_inverse = #fcfcfdff
|
||||
line.divider = #dde1e8ff
|
||||
line.border = #d0d5ddff
|
||||
line.control_edge = #c3c9d3ff
|
||||
line.outline = #a4abb8ff
|
||||
line.knob_edge = #58606eff
|
||||
line.frame = #c3c9d3ff
|
||||
line.mark = #7a7c7eff
|
||||
line.mark = #757678ff
|
||||
line.grip = #e2e4e7ff
|
||||
line.focus = #d9472fff
|
||||
accent.solid = #d9472fff
|
||||
@@ -62,9 +64,9 @@ status.info.solid = #6f788aff
|
||||
status.info.solid_hover = #6c7587ff
|
||||
status.info.solid_pressed = #6c7585ff
|
||||
state.hover = #e3e7edff
|
||||
state.pressed = #d5dbe3ff
|
||||
state.selected = #f8d9d2ff
|
||||
state.selected_hover = #eccec7ff
|
||||
state.pressed = #edcbc8ff
|
||||
state.selected = #eed2d0ff
|
||||
state.selected_hover = #e2c7c5ff
|
||||
state.disabled_fill = #f3f5f8ff
|
||||
state.text_selection = #d9472f46
|
||||
state.match = #f0dc005a
|
||||
@@ -250,10 +252,12 @@ motion.caret.easing = enter
|
||||
motion.outline.millis = 120
|
||||
motion.outline.easing = standard
|
||||
motion.reduced = false
|
||||
warning = text.muted on state.pressed: 4.22 < 4.50
|
||||
warning = text.faint on surface.background: 2.14 < 4.50
|
||||
warning = text.faint on surface.panel: 2.38 < 4.50
|
||||
warning = text.faint on surface.chrome: 2.38 < 4.50
|
||||
warning = text.faint on surface.raised: 2.51 < 4.50
|
||||
warning = text.faint on surface.sunken: 2.60 < 4.50
|
||||
warning = text.faint on surface.control: 2.10 < 4.50
|
||||
warning = text.faint on state.hover: 2.10 < 4.50
|
||||
warning = text.faint on state.pressed: 1.87 < 4.50
|
||||
warning = text.faint on state.pressed: 1.73 < 4.50
|
||||
|
||||
+13
-11
@@ -6,25 +6,27 @@ surface.panel = #272c36ff
|
||||
surface.chrome = #272c36ff
|
||||
surface.raised = #313640ff
|
||||
surface.sunken = #1a1e26ff
|
||||
surface.control = #39404dff
|
||||
surface.knob = #e8ebf1ff
|
||||
surface.scrim = #00000080
|
||||
surface.inverse = #e8ebf1ff
|
||||
surface.shadow = #00000096
|
||||
text.normal = #e4e9f1ff
|
||||
text.muted = #d3dcedff
|
||||
text.faint = #d2ddeeff
|
||||
text.disabled = #808692ff
|
||||
text.muted = #d9e3f4ff
|
||||
text.faint = #d8e3f4ff
|
||||
text.disabled = #626b7aff
|
||||
text.on_accent = #000000ff
|
||||
text.on_strong = #ffffffff
|
||||
text.on_status = #000000ff
|
||||
text.on_selected = #e8ebf1ff
|
||||
text.on_selected = #f5f9ffff
|
||||
text.on_inverse = #0d0d0eff
|
||||
line.divider = #323946ff
|
||||
line.border = #11141aff
|
||||
line.control_edge = #3a414eff
|
||||
line.outline = #5a6476ff
|
||||
line.knob_edge = #00000000
|
||||
line.frame = #0d0d0eff
|
||||
line.mark = #abb2beff
|
||||
line.mark = #b0b7c3ff
|
||||
line.grip = #3b404bff
|
||||
line.focus = #fc755cff
|
||||
accent.solid = #fc755cff
|
||||
@@ -62,9 +64,9 @@ status.info.solid = #8c96a8ff
|
||||
status.info.solid_hover = #8f99abff
|
||||
status.info.solid_pressed = #a2abbdff
|
||||
state.hover = #353c49ff
|
||||
state.pressed = #3d4553ff
|
||||
state.selected = #4a3236ff
|
||||
state.selected_hover = #5e4448ff
|
||||
state.pressed = #633f3eff
|
||||
state.selected = #573b3dff
|
||||
state.selected_hover = #6b4e50ff
|
||||
state.disabled_fill = #272c36ff
|
||||
state.text_selection = #fc755c46
|
||||
state.match = #f0dc005a
|
||||
@@ -97,14 +99,14 @@ data.cyan = #00c8ebff
|
||||
data.magenta = #f423abff
|
||||
data.yellow = #f0dc00ff
|
||||
data.scope = #282828ff
|
||||
data.backdrop = #d3dced80
|
||||
data.backdrop = #d9e3f480
|
||||
data.selection = #fc755c59
|
||||
caption.close_hover = #c42b1cff
|
||||
caption.close_pressed = #c42b1ce6
|
||||
caption.close_text = #ffffffff
|
||||
caption.disc = #e4e9f11a
|
||||
caption.inactive = #d2ddeeff
|
||||
caption.pressed = #d3dcedff
|
||||
caption.inactive = #d8e3f4ff
|
||||
caption.pressed = #d9e3f4ff
|
||||
edge.light = #4e535eff
|
||||
edge.dark = #000001ff
|
||||
shape.radius.sm = 3
|
||||
|
||||
@@ -6,25 +6,27 @@ surface.panel = #272c36ff
|
||||
surface.chrome = #272c36ff
|
||||
surface.raised = #313640ff
|
||||
surface.sunken = #1a1e26ff
|
||||
surface.control = #39404dff
|
||||
surface.knob = #e8ebf1ff
|
||||
surface.scrim = #00000080
|
||||
surface.inverse = #e8ebf1ff
|
||||
surface.shadow = #00000096
|
||||
text.normal = #e4e9f1ff
|
||||
text.muted = #d3dcedff
|
||||
text.faint = #d2ddeeff
|
||||
text.disabled = #808692ff
|
||||
text.muted = #d9e3f4ff
|
||||
text.faint = #d8e3f4ff
|
||||
text.disabled = #626b7aff
|
||||
text.on_accent = #000000ff
|
||||
text.on_strong = #ffffffff
|
||||
text.on_status = #000000ff
|
||||
text.on_selected = #e8ebf1ff
|
||||
text.on_selected = #f5f9ffff
|
||||
text.on_inverse = #0d0d0eff
|
||||
line.divider = #323946ff
|
||||
line.border = #11141aff
|
||||
line.control_edge = #3a414eff
|
||||
line.outline = #5a6476ff
|
||||
line.knob_edge = #00000000
|
||||
line.frame = #0d0d0eff
|
||||
line.mark = #abb2beff
|
||||
line.mark = #b0b7c3ff
|
||||
line.grip = #3b404bff
|
||||
line.focus = #fc755cff
|
||||
accent.solid = #fc755cff
|
||||
@@ -62,9 +64,9 @@ status.info.solid = #8c96a8ff
|
||||
status.info.solid_hover = #8f99abff
|
||||
status.info.solid_pressed = #a2abbdff
|
||||
state.hover = #353c49ff
|
||||
state.pressed = #3d4553ff
|
||||
state.selected = #4a3236ff
|
||||
state.selected_hover = #5e4448ff
|
||||
state.pressed = #633f3eff
|
||||
state.selected = #573b3dff
|
||||
state.selected_hover = #6b4e50ff
|
||||
state.disabled_fill = #272c36ff
|
||||
state.text_selection = #fc755c46
|
||||
state.match = #f0dc005a
|
||||
@@ -97,14 +99,14 @@ data.cyan = #00c8ebff
|
||||
data.magenta = #f423abff
|
||||
data.yellow = #f0dc00ff
|
||||
data.scope = #282828ff
|
||||
data.backdrop = #d3dced80
|
||||
data.backdrop = #d9e3f480
|
||||
data.selection = #fc755c59
|
||||
caption.close_hover = #c42b1cff
|
||||
caption.close_pressed = #c42b1ce6
|
||||
caption.close_text = #ffffffff
|
||||
caption.disc = #e4e9f11a
|
||||
caption.inactive = #d2ddeeff
|
||||
caption.pressed = #d3dcedff
|
||||
caption.inactive = #d8e3f4ff
|
||||
caption.pressed = #d9e3f4ff
|
||||
edge.light = #4e535eff
|
||||
edge.dark = #000001ff
|
||||
shape.radius.sm = 2
|
||||
|
||||
+11
-7
@@ -6,6 +6,7 @@ surface.panel = #272c36ff
|
||||
surface.chrome = #272c36ff
|
||||
surface.raised = #313640ff
|
||||
surface.sunken = #1a1e26ff
|
||||
surface.control = #39404dff
|
||||
surface.knob = #e8ebf1ff
|
||||
surface.scrim = #00000080
|
||||
surface.inverse = #e8ebf1ff
|
||||
@@ -13,7 +14,7 @@ surface.shadow = #00000096
|
||||
text.normal = #e4e9f1ff
|
||||
text.muted = #99a2b2ff
|
||||
text.faint = #626b7aff
|
||||
text.disabled = #808692ff
|
||||
text.disabled = #626b7aff
|
||||
text.on_accent = #000000ff
|
||||
text.on_strong = #ffffffff
|
||||
text.on_status = #000000ff
|
||||
@@ -22,9 +23,10 @@ text.on_inverse = #0d0d0eff
|
||||
line.divider = #323946ff
|
||||
line.border = #11141aff
|
||||
line.control_edge = #3a414eff
|
||||
line.outline = #5a6476ff
|
||||
line.knob_edge = #00000000
|
||||
line.frame = #0d0d0eff
|
||||
line.mark = #89909bff
|
||||
line.mark = #8e95a0ff
|
||||
line.grip = #3b404bff
|
||||
line.focus = #f06a52ff
|
||||
accent.solid = #f06a52ff
|
||||
@@ -62,9 +64,9 @@ status.info.solid = #6f788aff
|
||||
status.info.solid_hover = #8f99abff
|
||||
status.info.solid_pressed = #a2abbdff
|
||||
state.hover = #353c49ff
|
||||
state.pressed = #3d4553ff
|
||||
state.selected = #4a3236ff
|
||||
state.selected_hover = #5e4448ff
|
||||
state.pressed = #633f3eff
|
||||
state.selected = #573b3dff
|
||||
state.selected_hover = #6b4e50ff
|
||||
state.disabled_fill = #272c36ff
|
||||
state.text_selection = #f06a5246
|
||||
state.match = #f0dc005a
|
||||
@@ -250,12 +252,14 @@ motion.caret.easing = enter
|
||||
motion.outline.millis = 120
|
||||
motion.outline.easing = standard
|
||||
motion.reduced = false
|
||||
warning = text.muted on surface.control: 4.05 < 4.50
|
||||
warning = text.muted on state.hover: 4.31 < 4.50
|
||||
warning = text.muted on state.pressed: 3.75 < 4.50
|
||||
warning = text.muted on state.pressed: 3.53 < 4.50
|
||||
warning = text.faint on surface.background: 3.07 < 4.50
|
||||
warning = text.faint on surface.panel: 2.60 < 4.50
|
||||
warning = text.faint on surface.chrome: 2.60 < 4.50
|
||||
warning = text.faint on surface.raised: 2.25 < 4.50
|
||||
warning = text.faint on surface.sunken: 3.10 < 4.50
|
||||
warning = text.faint on surface.control: 1.94 < 4.50
|
||||
warning = text.faint on state.hover: 2.06 < 4.50
|
||||
warning = text.faint on state.pressed: 1.80 < 4.50
|
||||
warning = text.faint on state.pressed: 1.69 < 4.50
|
||||
|
||||
+11
-7
@@ -6,6 +6,7 @@ surface.panel = #272c36ff
|
||||
surface.chrome = #272c36ff
|
||||
surface.raised = #313640ff
|
||||
surface.sunken = #1a1e26ff
|
||||
surface.control = #39404dff
|
||||
surface.knob = #e8ebf1ff
|
||||
surface.scrim = #00000080
|
||||
surface.inverse = #e8ebf1ff
|
||||
@@ -13,7 +14,7 @@ surface.shadow = #00000096
|
||||
text.normal = #e4e9f1ff
|
||||
text.muted = #99a2b2ff
|
||||
text.faint = #626b7aff
|
||||
text.disabled = #808692ff
|
||||
text.disabled = #626b7aff
|
||||
text.on_accent = #000000ff
|
||||
text.on_strong = #ffffffff
|
||||
text.on_status = #000000ff
|
||||
@@ -22,9 +23,10 @@ text.on_inverse = #0d0d0eff
|
||||
line.divider = #323946ff
|
||||
line.border = #11141aff
|
||||
line.control_edge = #3a414eff
|
||||
line.outline = #5a6476ff
|
||||
line.knob_edge = #00000000
|
||||
line.frame = #0d0d0eff
|
||||
line.mark = #89909bff
|
||||
line.mark = #8e95a0ff
|
||||
line.grip = #3b404bff
|
||||
line.focus = #f06a52ff
|
||||
accent.solid = #f06a52ff
|
||||
@@ -62,9 +64,9 @@ status.info.solid = #6f788aff
|
||||
status.info.solid_hover = #8f99abff
|
||||
status.info.solid_pressed = #a2abbdff
|
||||
state.hover = #353c49ff
|
||||
state.pressed = #3d4553ff
|
||||
state.selected = #4a3236ff
|
||||
state.selected_hover = #5e4448ff
|
||||
state.pressed = #633f3eff
|
||||
state.selected = #573b3dff
|
||||
state.selected_hover = #6b4e50ff
|
||||
state.disabled_fill = #272c36ff
|
||||
state.text_selection = #f06a5246
|
||||
state.match = #f0dc005a
|
||||
@@ -250,12 +252,14 @@ motion.caret.easing = enter
|
||||
motion.outline.millis = 120
|
||||
motion.outline.easing = standard
|
||||
motion.reduced = false
|
||||
warning = text.muted on surface.control: 4.05 < 4.50
|
||||
warning = text.muted on state.hover: 4.31 < 4.50
|
||||
warning = text.muted on state.pressed: 3.75 < 4.50
|
||||
warning = text.muted on state.pressed: 3.53 < 4.50
|
||||
warning = text.faint on surface.background: 3.07 < 4.50
|
||||
warning = text.faint on surface.panel: 2.60 < 4.50
|
||||
warning = text.faint on surface.chrome: 2.60 < 4.50
|
||||
warning = text.faint on surface.raised: 2.25 < 4.50
|
||||
warning = text.faint on surface.sunken: 3.10 < 4.50
|
||||
warning = text.faint on surface.control: 1.94 < 4.50
|
||||
warning = text.faint on state.hover: 2.06 < 4.50
|
||||
warning = text.faint on state.pressed: 1.80 < 4.50
|
||||
warning = text.faint on state.pressed: 1.69 < 4.50
|
||||
|
||||
+13
-11
@@ -6,14 +6,15 @@ surface.panel = #d3d8e0ff
|
||||
surface.chrome = #d3d8e0ff
|
||||
surface.raised = #d9dee6ff
|
||||
surface.sunken = #e9ecf1ff
|
||||
surface.control = #c9d0daff
|
||||
surface.knob = #fcfcfdff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #252629ff
|
||||
surface.shadow = #00000032
|
||||
text.normal = #1b1f27ff
|
||||
text.muted = #2a303eff
|
||||
text.faint = #2a303dff
|
||||
text.disabled = #82868eff
|
||||
text.muted = #292f3dff
|
||||
text.faint = #29303cff
|
||||
text.disabled = #7d8594ff
|
||||
text.on_accent = #ffffffff
|
||||
text.on_strong = #ffffffff
|
||||
text.on_status = #000000ff
|
||||
@@ -22,9 +23,10 @@ text.on_inverse = #fcfcfdff
|
||||
line.divider = #bcc3ceff
|
||||
line.border = #a9b0bcff
|
||||
line.control_edge = #9aa2b0ff
|
||||
line.knob_edge = #2a303eff
|
||||
line.outline = #8a93a2ff
|
||||
line.knob_edge = #292f3dff
|
||||
line.frame = #9aa2b0ff
|
||||
line.mark = #4a4d54ff
|
||||
line.mark = #494c53ff
|
||||
line.grip = #c3c8d0ff
|
||||
line.focus = #a81a00ff
|
||||
accent.solid = #af1b00ff
|
||||
@@ -62,9 +64,9 @@ status.info.solid = #8c96a8ff
|
||||
status.info.solid_hover = #8c96a8ff
|
||||
status.info.solid_pressed = #8d96a7ff
|
||||
state.hover = #c5ccd6ff
|
||||
state.pressed = #b6bec9ff
|
||||
state.selected = #e7c4bdff
|
||||
state.selected_hover = #dbb9b2ff
|
||||
state.pressed = #d4b5b6ff
|
||||
state.selected = #d4bbbdff
|
||||
state.selected_hover = #c9b0b2ff
|
||||
state.disabled_fill = #d3d8e0ff
|
||||
state.text_selection = #af1b0046
|
||||
state.match = #776c005a
|
||||
@@ -97,14 +99,14 @@ data.cyan = #00758bff
|
||||
data.magenta = #cb008dff
|
||||
data.yellow = #776c00ff
|
||||
data.scope = #282828ff
|
||||
data.backdrop = #2a303e80
|
||||
data.backdrop = #292f3d80
|
||||
data.selection = #af1b0059
|
||||
caption.close_hover = #c42b1cff
|
||||
caption.close_pressed = #c42b1ce6
|
||||
caption.close_text = #ffffffff
|
||||
caption.disc = #1b1f271a
|
||||
caption.inactive = #2a303dff
|
||||
caption.pressed = #2a303eff
|
||||
caption.inactive = #29303cff
|
||||
caption.pressed = #292f3dff
|
||||
edge.light = #ffffffff
|
||||
edge.dark = #82878eff
|
||||
shape.radius.sm = 3
|
||||
|
||||
@@ -6,14 +6,15 @@ surface.panel = #d3d8e0ff
|
||||
surface.chrome = #d3d8e0ff
|
||||
surface.raised = #d9dee6ff
|
||||
surface.sunken = #e9ecf1ff
|
||||
surface.control = #c9d0daff
|
||||
surface.knob = #fcfcfdff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #252629ff
|
||||
surface.shadow = #00000032
|
||||
text.normal = #1b1f27ff
|
||||
text.muted = #2a303eff
|
||||
text.faint = #2a303dff
|
||||
text.disabled = #82868eff
|
||||
text.muted = #292f3dff
|
||||
text.faint = #29303cff
|
||||
text.disabled = #7d8594ff
|
||||
text.on_accent = #ffffffff
|
||||
text.on_strong = #ffffffff
|
||||
text.on_status = #000000ff
|
||||
@@ -22,9 +23,10 @@ text.on_inverse = #fcfcfdff
|
||||
line.divider = #bcc3ceff
|
||||
line.border = #a9b0bcff
|
||||
line.control_edge = #9aa2b0ff
|
||||
line.knob_edge = #2a303eff
|
||||
line.outline = #8a93a2ff
|
||||
line.knob_edge = #292f3dff
|
||||
line.frame = #9aa2b0ff
|
||||
line.mark = #4a4d54ff
|
||||
line.mark = #494c53ff
|
||||
line.grip = #c3c8d0ff
|
||||
line.focus = #a81a00ff
|
||||
accent.solid = #af1b00ff
|
||||
@@ -62,9 +64,9 @@ status.info.solid = #8c96a8ff
|
||||
status.info.solid_hover = #8c96a8ff
|
||||
status.info.solid_pressed = #8d96a7ff
|
||||
state.hover = #c5ccd6ff
|
||||
state.pressed = #b6bec9ff
|
||||
state.selected = #e7c4bdff
|
||||
state.selected_hover = #dbb9b2ff
|
||||
state.pressed = #d4b5b6ff
|
||||
state.selected = #d4bbbdff
|
||||
state.selected_hover = #c9b0b2ff
|
||||
state.disabled_fill = #d3d8e0ff
|
||||
state.text_selection = #af1b0046
|
||||
state.match = #776c005a
|
||||
@@ -97,14 +99,14 @@ data.cyan = #00758bff
|
||||
data.magenta = #cb008dff
|
||||
data.yellow = #776c00ff
|
||||
data.scope = #282828ff
|
||||
data.backdrop = #2a303e80
|
||||
data.backdrop = #292f3d80
|
||||
data.selection = #af1b0059
|
||||
caption.close_hover = #c42b1cff
|
||||
caption.close_pressed = #c42b1ce6
|
||||
caption.close_text = #ffffffff
|
||||
caption.disc = #1b1f271a
|
||||
caption.inactive = #2a303dff
|
||||
caption.pressed = #2a303eff
|
||||
caption.inactive = #29303cff
|
||||
caption.pressed = #292f3dff
|
||||
edge.light = #ffffffff
|
||||
edge.dark = #82878eff
|
||||
shape.radius.sm = 2
|
||||
|
||||
+10
-7
@@ -6,6 +6,7 @@ surface.panel = #d3d8e0ff
|
||||
surface.chrome = #d3d8e0ff
|
||||
surface.raised = #d9dee6ff
|
||||
surface.sunken = #e9ecf1ff
|
||||
surface.control = #c9d0daff
|
||||
surface.knob = #fcfcfdff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #252629ff
|
||||
@@ -13,7 +14,7 @@ surface.shadow = #00000032
|
||||
text.normal = #1b1f27ff
|
||||
text.muted = #4a5160ff
|
||||
text.faint = #7d8594ff
|
||||
text.disabled = #82868eff
|
||||
text.disabled = #7d8594ff
|
||||
text.on_accent = #000000ff
|
||||
text.on_strong = #ffffffff
|
||||
text.on_status = #000000ff
|
||||
@@ -22,9 +23,10 @@ text.on_inverse = #fcfcfdff
|
||||
line.divider = #bcc3ceff
|
||||
line.border = #a9b0bcff
|
||||
line.control_edge = #9aa2b0ff
|
||||
line.outline = #8a93a2ff
|
||||
line.knob_edge = #4a5160ff
|
||||
line.frame = #9aa2b0ff
|
||||
line.mark = #64676eff
|
||||
line.mark = #63676dff
|
||||
line.grip = #c3c8d0ff
|
||||
line.focus = #cd3b24ff
|
||||
accent.solid = #d9472fff
|
||||
@@ -62,9 +64,9 @@ status.info.solid = #6f788aff
|
||||
status.info.solid_hover = #6c7587ff
|
||||
status.info.solid_pressed = #6c7585ff
|
||||
state.hover = #c5ccd6ff
|
||||
state.pressed = #b6bec9ff
|
||||
state.selected = #e7c4bdff
|
||||
state.selected_hover = #dbb9b2ff
|
||||
state.pressed = #d4b5b6ff
|
||||
state.selected = #d4bbbdff
|
||||
state.selected_hover = #c9b0b2ff
|
||||
state.disabled_fill = #d3d8e0ff
|
||||
state.text_selection = #d9472f46
|
||||
state.match = #f0dc005a
|
||||
@@ -251,11 +253,12 @@ motion.outline.millis = 120
|
||||
motion.outline.easing = standard
|
||||
motion.reduced = false
|
||||
warning = accent.solid on surface.panel: 3.00 < 3.00
|
||||
warning = text.muted on state.pressed: 4.25 < 4.50
|
||||
warning = text.muted on state.pressed: 4.20 < 4.50
|
||||
warning = text.faint on surface.background: 2.25 < 4.50
|
||||
warning = text.faint on surface.panel: 2.59 < 4.50
|
||||
warning = text.faint on surface.chrome: 2.59 < 4.50
|
||||
warning = text.faint on surface.raised: 2.75 < 4.50
|
||||
warning = text.faint on surface.sunken: 3.14 < 4.50
|
||||
warning = text.faint on surface.control: 2.39 < 4.50
|
||||
warning = text.faint on state.hover: 2.30 < 4.50
|
||||
warning = text.faint on state.pressed: 1.98 < 4.50
|
||||
warning = text.faint on state.pressed: 1.96 < 4.50
|
||||
|
||||
+10
-7
@@ -6,6 +6,7 @@ surface.panel = #d3d8e0ff
|
||||
surface.chrome = #d3d8e0ff
|
||||
surface.raised = #d9dee6ff
|
||||
surface.sunken = #e9ecf1ff
|
||||
surface.control = #c9d0daff
|
||||
surface.knob = #fcfcfdff
|
||||
surface.scrim = #00000059
|
||||
surface.inverse = #252629ff
|
||||
@@ -13,7 +14,7 @@ surface.shadow = #00000032
|
||||
text.normal = #1b1f27ff
|
||||
text.muted = #4a5160ff
|
||||
text.faint = #7d8594ff
|
||||
text.disabled = #82868eff
|
||||
text.disabled = #7d8594ff
|
||||
text.on_accent = #000000ff
|
||||
text.on_strong = #ffffffff
|
||||
text.on_status = #000000ff
|
||||
@@ -22,9 +23,10 @@ text.on_inverse = #fcfcfdff
|
||||
line.divider = #bcc3ceff
|
||||
line.border = #a9b0bcff
|
||||
line.control_edge = #9aa2b0ff
|
||||
line.outline = #8a93a2ff
|
||||
line.knob_edge = #4a5160ff
|
||||
line.frame = #9aa2b0ff
|
||||
line.mark = #64676eff
|
||||
line.mark = #63676dff
|
||||
line.grip = #c3c8d0ff
|
||||
line.focus = #cd3b24ff
|
||||
accent.solid = #d9472fff
|
||||
@@ -62,9 +64,9 @@ status.info.solid = #6f788aff
|
||||
status.info.solid_hover = #6c7587ff
|
||||
status.info.solid_pressed = #6c7585ff
|
||||
state.hover = #c5ccd6ff
|
||||
state.pressed = #b6bec9ff
|
||||
state.selected = #e7c4bdff
|
||||
state.selected_hover = #dbb9b2ff
|
||||
state.pressed = #d4b5b6ff
|
||||
state.selected = #d4bbbdff
|
||||
state.selected_hover = #c9b0b2ff
|
||||
state.disabled_fill = #d3d8e0ff
|
||||
state.text_selection = #d9472f46
|
||||
state.match = #f0dc005a
|
||||
@@ -251,11 +253,12 @@ motion.outline.millis = 120
|
||||
motion.outline.easing = standard
|
||||
motion.reduced = false
|
||||
warning = accent.solid on surface.panel: 3.00 < 3.00
|
||||
warning = text.muted on state.pressed: 4.25 < 4.50
|
||||
warning = text.muted on state.pressed: 4.20 < 4.50
|
||||
warning = text.faint on surface.background: 2.25 < 4.50
|
||||
warning = text.faint on surface.panel: 2.59 < 4.50
|
||||
warning = text.faint on surface.chrome: 2.59 < 4.50
|
||||
warning = text.faint on surface.raised: 2.75 < 4.50
|
||||
warning = text.faint on surface.sunken: 3.14 < 4.50
|
||||
warning = text.faint on surface.control: 2.39 < 4.50
|
||||
warning = text.faint on state.hover: 2.30 < 4.50
|
||||
warning = text.faint on state.pressed: 1.98 < 4.50
|
||||
warning = text.faint on state.pressed: 1.96 < 4.50
|
||||
|
||||
@@ -24,17 +24,20 @@
|
||||
"line.border": "#a9b0bc",
|
||||
"line.control_edge": "#9aa2b0",
|
||||
"line.divider": "#bcc3ce",
|
||||
"line.outline": "#8a93a2",
|
||||
"seeds": {
|
||||
"accent": "#d9472f",
|
||||
"neutral": "#d3d8e0"
|
||||
},
|
||||
"state.hover": "#c5ccd6",
|
||||
"state.pressed": "#b6bec9",
|
||||
"state.selected": "#e7c4bd",
|
||||
"state.pressed": "#d4b5b6",
|
||||
"state.selected": "#d4bbbd",
|
||||
"surface.background": "#c4cad4",
|
||||
"surface.canvas": "#b9c0cb",
|
||||
"surface.control": "#c9d0da",
|
||||
"surface.panel": "#d3d8e0",
|
||||
"surface.sunken": "#e9ecf1",
|
||||
"text.disabled": "#7d8594",
|
||||
"text.faint": "#7d8594",
|
||||
"text.muted": "#4a5160",
|
||||
"text.normal": "#1b1f27"
|
||||
@@ -46,13 +49,16 @@
|
||||
"line.border": "#11141a",
|
||||
"line.control_edge": "#3a414e",
|
||||
"line.divider": "#323946",
|
||||
"line.outline": "#5a6476",
|
||||
"state.hover": "#353c49",
|
||||
"state.pressed": "#3d4553",
|
||||
"state.selected": "#4a3236",
|
||||
"state.pressed": "#633f3e",
|
||||
"state.selected": "#573b3d",
|
||||
"surface.background": "#1b1f27",
|
||||
"surface.canvas": "#1e222a",
|
||||
"surface.control": "#39404d",
|
||||
"surface.panel": "#272c36",
|
||||
"surface.sunken": "#1a1e26",
|
||||
"text.disabled": "#626b7a",
|
||||
"text.faint": "#626b7a",
|
||||
"text.muted": "#99a2b2",
|
||||
"text.normal": "#e4e9f1"
|
||||
|
||||
@@ -24,17 +24,20 @@
|
||||
"line.border": "#d0d5dd",
|
||||
"line.control_edge": "#c3c9d3",
|
||||
"line.divider": "#dde1e8",
|
||||
"line.outline": "#a4abb8",
|
||||
"seeds": {
|
||||
"accent": "#d9472f",
|
||||
"neutral": "#f3f5f8"
|
||||
},
|
||||
"state.hover": "#e3e7ed",
|
||||
"state.pressed": "#d5dbe3",
|
||||
"state.selected": "#f8d9d2",
|
||||
"state.pressed": "#edcbc8",
|
||||
"state.selected": "#eed2d0",
|
||||
"surface.background": "#e6e9ee",
|
||||
"surface.canvas": "#dfe3e9",
|
||||
"surface.control": "#e3e7ed",
|
||||
"surface.panel": "#f3f5f8",
|
||||
"surface.sunken": "#ffffff",
|
||||
"text.disabled": "#9aa1ad",
|
||||
"text.faint": "#9aa1ad",
|
||||
"text.muted": "#58606e",
|
||||
"text.normal": "#1b1f27"
|
||||
@@ -46,13 +49,16 @@
|
||||
"line.border": "#06070a",
|
||||
"line.control_edge": "#2c323e",
|
||||
"line.divider": "#232832",
|
||||
"line.outline": "#4a5363",
|
||||
"state.hover": "#262b35",
|
||||
"state.pressed": "#2f3541",
|
||||
"state.selected": "#3a2a2c",
|
||||
"state.pressed": "#593330",
|
||||
"state.selected": "#4c2e2e",
|
||||
"surface.background": "#0b0d12",
|
||||
"surface.canvas": "#101217",
|
||||
"surface.control": "#282d37",
|
||||
"surface.panel": "#181b22",
|
||||
"surface.sunken": "#0f1116",
|
||||
"text.disabled": "#5a6271",
|
||||
"text.faint": "#5a6271",
|
||||
"text.muted": "#969faf",
|
||||
"text.normal": "#dfe4ec"
|
||||
|
||||
@@ -152,6 +152,42 @@ fn cmd_or_ctrl_with_page_down_scrolls_a_focused_canvas_sideways_on_every_os() {
|
||||
}
|
||||
}
|
||||
|
||||
const NEXT_ARTBOARD: &str = "canvasTrial.nextArtboard";
|
||||
|
||||
/// A page key the app binds to a command runs it ahead of the canvas's page scroll, with nothing focused and with the
|
||||
/// canvas focused (Page Down goes to the next artboard); an unbound page key still scrolls the view.
|
||||
#[trial]
|
||||
fn a_bound_page_key_runs_its_command_and_an_unbound_one_pages_the_canvas() {
|
||||
let view = Rc::new(Cell::new(CanvasView::new(egui::Rect::ZERO, Point::new(2000.0, 2000.0), 1.0)));
|
||||
let shown = Rc::clone(&view);
|
||||
let mut fixture = Fixture::new(move |ui| {
|
||||
let mut given = shown.get();
|
||||
given.rect = ui.available_rect_before_wrap();
|
||||
let canvas = Canvas::new("Document").document(Size::new(4000.0, 4000.0)).view(given).show(ui, |_, _| {});
|
||||
shown.set(canvas.output.view.unwrap_or(given));
|
||||
});
|
||||
let binding = Binding::parse("PageDown").expect("the trial's chord parses");
|
||||
let catalog =
|
||||
AppCatalog::new(vec![CommandDef::new(NEXT_ARTBOARD, "Next Artboard", Scope::app()).with_default(binding)], 1).expect("the catalog is valid");
|
||||
fixture.commands(CommandInput::new().catalog(catalog));
|
||||
fixture.settle();
|
||||
let page = |fixture: &mut Fixture, key: Key| {
|
||||
frame::take_output(fixture.ctx());
|
||||
let before = view.get().center;
|
||||
fixture.key(key, Modifiers::NONE).settle();
|
||||
let fired: Vec<String> = frame::take_output(fixture.ctx()).fired.into_iter().map(|fired| fired.command.id).collect();
|
||||
(fired, view.get().center != before)
|
||||
};
|
||||
assert_eq!(fixture.focused(), None, "nothing is focused");
|
||||
assert_eq!(page(&mut fixture, Key::PageDown), (vec![NEXT_ARTBOARD.to_owned()], false), "unfocused: the bound Page Down runs its command");
|
||||
assert_eq!(page(&mut fixture, Key::PageUp), (Vec::new(), true), "unfocused: the unbound Page Up scrolls");
|
||||
let canvas = fixture.by_role(Role::CANVAS)[0];
|
||||
fixture.click(&canvas);
|
||||
assert!(fixture.focused().is_some(), "the click focuses the canvas");
|
||||
assert_eq!(page(&mut fixture, Key::PageDown), (vec![NEXT_ARTBOARD.to_owned()], false), "focused: the bound Page Down runs its command");
|
||||
assert_eq!(page(&mut fixture, Key::PageUp), (Vec::new(), true), "focused: the unbound Page Up scrolls");
|
||||
}
|
||||
|
||||
#[trial]
|
||||
fn cmd_or_ctrl_with_page_down_on_a_focused_canvas_control_scrolls_the_canvas_sideways() {
|
||||
let view = Rc::new(Cell::new(CanvasView::new(egui::Rect::ZERO, Point::new(2000.0, 2000.0), 1.0)));
|
||||
|
||||
@@ -20,7 +20,7 @@ use craft_ui::dialog::Dialog;
|
||||
use craft_ui::display::Text;
|
||||
use craft_ui::popover::Popover;
|
||||
use craft_ui::primitives::Draw;
|
||||
use craft_ui::runtime::commands::{self, EditCommands, FireSource};
|
||||
use craft_ui::runtime::commands::{self, CommandSet as _, EditCommands, FireSource};
|
||||
use craft_ui::runtime::frame::take_output;
|
||||
use craft_ui::testing::access::Declared;
|
||||
use craft_ui::testing::focus::{AccessActionKind, key_release};
|
||||
@@ -169,6 +169,21 @@ fn a_fired_command_whose_key_the_tool_claims_reaches_it_with_nothing_focused() {
|
||||
assert!(take_output(canvas.fixture().ctx()).fired.is_empty(), "no app command ran");
|
||||
}
|
||||
|
||||
/// A command a button fires runs as the button's command, though the tool claims its key: only a menu's or the
|
||||
/// palette's stands for the key (a toolbar's tool button finishes a gesture the tool holds the keyboard for).
|
||||
#[trial]
|
||||
fn a_pointer_fired_command_whose_key_the_tool_claims_runs_as_a_command() {
|
||||
let mut canvas = ToolFixture::new("Document", Outline::new(true));
|
||||
canvas.fixture().settle();
|
||||
assert_eq!(canvas.fixture().focused(), None, "nothing is focused");
|
||||
take_output(canvas.fixture().ctx());
|
||||
assert!(commands::fire(canvas.fixture().ctx(), EditCommands::Delete, FireSource::Pointer), "Delete runs");
|
||||
canvas.fixture().settle();
|
||||
assert_eq!(canvas.tool().seen, [], "the tool got no Delete");
|
||||
let fired = take_output(canvas.fixture().ctx()).fired;
|
||||
assert!(fired.iter().any(|fired| fired.command.id == EditCommands::Delete.id()), "the app's Delete ran: {fired:?}");
|
||||
}
|
||||
|
||||
/// A tool that takes every key the host offers it, and the lone Alt tap while `taps`.
|
||||
#[derive(Default)]
|
||||
struct Taker {
|
||||
|
||||
@@ -426,6 +426,12 @@ pub trait Component: Meta + Sized {
|
||||
0.0
|
||||
}
|
||||
|
||||
/// The variant an instance that asks for none takes in `env`; `None` takes the style's first. A variant the caller
|
||||
/// asks for always stands. Read only `#[env(style)]` values, which the style cache keys on.
|
||||
fn default_variant(_env: &crate::runtime::env::Env) -> Option<craft_theme::Variant> {
|
||||
None
|
||||
}
|
||||
|
||||
/// Pure function of the resolved context and the key.
|
||||
fn style(cx: &StyleCx<'_>, key: Self::StyleKey) -> Self::Style;
|
||||
|
||||
|
||||
@@ -253,6 +253,7 @@ pub(crate) fn host(ctx: &Context, layer: &Layer<'_>, body: &mut dyn FnMut(&mut U
|
||||
entry.region = layer.region;
|
||||
entry.scoped = scope.is_some();
|
||||
entry.absorbs = overlay.dismiss.outside == Outside::Absorb;
|
||||
entry.closes_on_commands = overlay.dismiss.commands;
|
||||
overlay::record(ctx, entry);
|
||||
let dismissed = if layer.exiting { None } else { dismissal(ctx, layer, shown.rect, anchor, scope, &mut memory) };
|
||||
// The layer closes after its body ran: the run shows it open, so a record of the run is not replayed.
|
||||
@@ -330,6 +331,7 @@ fn host_in_popup(ctx: &Context, layer: &Layer<'_>, popup: PopupRoom, body: &mut
|
||||
entry.exiting = layer.exiting;
|
||||
entry.scoped = scope.is_some();
|
||||
entry.absorbs = overlay.dismiss.outside == Outside::Absorb;
|
||||
entry.closes_on_commands = overlay.dismiss.commands;
|
||||
entry.window = true;
|
||||
entry.popup = true;
|
||||
overlay::record(ctx, entry);
|
||||
|
||||
@@ -41,14 +41,16 @@ pub struct Dismiss {
|
||||
pub on_activate: bool,
|
||||
/// The anchor is no longer shown.
|
||||
pub anchor_gone: bool,
|
||||
/// A command a key, a native menu pick or the palette ran, from outside the layer and the layers opened from it.
|
||||
pub commands: bool,
|
||||
/// Seconds after opening.
|
||||
pub timeout: Option<f32>,
|
||||
}
|
||||
|
||||
impl Dismiss {
|
||||
/// An outside press closes; nothing else does.
|
||||
/// An outside press or a command closes; nothing else does.
|
||||
pub const fn new() -> Self {
|
||||
Dismiss { outside: Outside::Close, enter: false, focus_left: false, on_activate: false, anchor_gone: true, timeout: None }
|
||||
Dismiss { outside: Outside::Close, enter: false, focus_left: false, on_activate: false, anchor_gone: true, commands: true, timeout: None }
|
||||
}
|
||||
|
||||
/// Sets what an outside press does.
|
||||
@@ -75,6 +77,13 @@ impl Dismiss {
|
||||
self
|
||||
}
|
||||
|
||||
/// Closes when a key, a native menu pick or the palette runs a command from outside it; off for a layer its host
|
||||
/// opens and closes, as a dock panel's flyout.
|
||||
pub const fn commands(mut self, on: bool) -> Self {
|
||||
self.commands = on;
|
||||
self
|
||||
}
|
||||
|
||||
/// Closes after `seconds`.
|
||||
pub const fn timeout(mut self, seconds: Option<f32>) -> Self {
|
||||
self.timeout = seconds;
|
||||
|
||||
@@ -500,8 +500,9 @@ pub(crate) trait Erased {
|
||||
fn common(&self) -> &Common;
|
||||
/// Moves `Common` out of the component (step 1).
|
||||
fn take_common(&mut self) -> Common;
|
||||
/// The variant asked for (or the style's first) and the variant the type accepts for it.
|
||||
fn variants(&self, asked: Option<Variant>) -> (Variant, Variant);
|
||||
/// The variant asked for (or the type's default in `env`, or the style's first) and the variant the type accepts
|
||||
/// for it.
|
||||
fn variants(&self, asked: Option<Variant>, env: &Env) -> (Variant, Variant);
|
||||
/// Step 2.
|
||||
fn style(&mut self, ctx: &Context, scx: &StyleCx<'_>) -> Arc<dyn StyleView>;
|
||||
/// Step 4: keeps the shown value, and outside a sizing pass the cancels it read. Returns whether the binding is mixed.
|
||||
@@ -1565,7 +1566,7 @@ fn begin(t: &mut dyn Erased, ui: &Ui) -> Box<Begun> {
|
||||
// scope, and everything it shows inherits it.
|
||||
let env = scoped_env(&ctx, Env::of(ui), t.theme_scope());
|
||||
let common: Common = t.take_common();
|
||||
let step1 = steps::env(&ctx, &env, &common, t.variants(common.variant));
|
||||
let step1 = steps::env(&ctx, &env, &common, t.variants(common.variant, &env));
|
||||
// 2 style
|
||||
let style = t.style(&ctx, &steps::style_cx(&ctx, &env, &step1));
|
||||
// 3 id
|
||||
@@ -1932,7 +1933,7 @@ pub(super) fn measure_shape(
|
||||
let env = scoped_env(ui.ctx(), env, t.theme_scope());
|
||||
let id = id.unwrap_or_else(|| steps::id(ui, &t.common().id, false, false, facts.style_key, facts.name));
|
||||
let common = t.common().clone();
|
||||
let step1 = steps::env(ui.ctx(), &env, &common, t.variants(common.variant));
|
||||
let step1 = steps::env(ui.ctx(), &env, &common, t.variants(common.variant, &env));
|
||||
let mixed = t.peek_value(ui.ctx(), id, step1.command.as_deref());
|
||||
let scx = steps::style_cx(ui.ctx(), &env, &step1);
|
||||
let style = t.style(ui.ctx(), &scx);
|
||||
|
||||
@@ -136,8 +136,8 @@ impl<C: Component> Erased for Typed<'_, '_, C> {
|
||||
common
|
||||
}
|
||||
|
||||
fn variants(&self, asked: Option<Variant>) -> (Variant, Variant) {
|
||||
steps::variants::<C>(asked)
|
||||
fn variants(&self, asked: Option<Variant>, env: &Env) -> (Variant, Variant) {
|
||||
steps::variants::<C>(asked, env)
|
||||
}
|
||||
|
||||
fn style(&mut self, ctx: &Context, scx: &StyleCx<'_>) -> Arc<dyn StyleView> {
|
||||
@@ -708,7 +708,7 @@ pub(crate) fn paint_face<C: Show>(
|
||||
let ctx = ui.ctx().clone();
|
||||
let common = std::mem::take(face.common_mut(Internal::new()));
|
||||
debug_assert!(common.tooltip.is_none(), "a face instance carries no tooltip; use `PartBuilder::tooltip`");
|
||||
let step1 = steps::env(&ctx, env, &common, steps::variants::<C>(common.variant));
|
||||
let step1 = steps::env(&ctx, env, &common, steps::variants::<C>(common.variant, env));
|
||||
let scx = steps::style_cx(&ctx, env, &step1);
|
||||
let scx = source.ink.map_or(scx, |ink| scx.hosted(ink, source.muted));
|
||||
let style = steps::style::<C>(&ctx, &scx, face.style_key());
|
||||
@@ -815,7 +815,7 @@ pub(crate) fn member_prepare<C: Show>(ui: &Ui, env: &Env, id: Id, row: Rect, hov
|
||||
let ctx = ui.ctx();
|
||||
let mut common = std::mem::take(item.common_mut(Internal::new()));
|
||||
let tooltip = common.tooltip.take();
|
||||
let step1 = steps::env(ctx, env, &common, steps::variants::<C>(common.variant));
|
||||
let step1 = steps::env(ctx, env, &common, steps::variants::<C>(common.variant, env));
|
||||
let style = steps::style::<C>(ctx, &steps::style_cx(ctx, env, &step1), item.style_key());
|
||||
let (shown, mixed) = steps::peek_value(&mut item, ctx, id, step1.command.as_deref());
|
||||
if let Some(key) = item.bind().and_then(|bind| bind.key(id)) {
|
||||
|
||||
@@ -22,10 +22,10 @@ pub(crate) struct EnvStep {
|
||||
pub command: Option<Arc<ResolvedCommand>>,
|
||||
}
|
||||
|
||||
/// The variant `asked` for, else the style's first, and the variant `C` accepts for it.
|
||||
pub(crate) fn variants<C: Component>(asked: Option<Variant>) -> (Variant, Variant) {
|
||||
/// The variant `asked` for, else `C`'s default in `env`, else the style's first, and the variant `C` accepts for it.
|
||||
pub(crate) fn variants<C: Component>(asked: Option<Variant>, env: &Env) -> (Variant, Variant) {
|
||||
let default = <C::Style as ComponentStyle>::VARIANTS.first().copied().unwrap_or(Variant::SECONDARY);
|
||||
let requested = asked.unwrap_or(default);
|
||||
let requested = asked.or_else(|| C::default_variant(env)).unwrap_or(default);
|
||||
(requested, accepted_variant::<C::StyleKey, C::Style>(requested).variant)
|
||||
}
|
||||
|
||||
|
||||
@@ -1731,10 +1731,11 @@ fn queue(ctx: &Context, fired: Fired) {
|
||||
observed.push(fired.command.clone());
|
||||
}
|
||||
});
|
||||
// A command whose key the focused component claims reaches it as that key, as the key's press does; an edit command
|
||||
// goes to the focused component that lists it; otherwise it goes to the instance that declared it or, with none,
|
||||
// stays an app command.
|
||||
if fired.phase != FirePhase::Release {
|
||||
// A command run from a menu or the palette whose key the focused component claims reaches it as that key, as the
|
||||
// key's press does (a button's is the button's command, even while a canvas gesture claims every key); an edit
|
||||
// command goes to the focused component that lists it; otherwise it goes to the instance that declared it or, with
|
||||
// none, stays an app command.
|
||||
if fired.phase != FirePhase::Release && matches!(fired.source, FireSource::Menu | FireSource::Palette) {
|
||||
let chords: Vec<Chord> =
|
||||
bindings(ctx, &fired.command).into_iter().filter(|binding| !binding.trigger.is_double()).map(|binding| binding.trigger.chord).collect();
|
||||
if keys::fire_claimed(ctx, &chords) {
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user