Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 31 additions & 31 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,19 @@ resolver = "2"
[workspace.package]
publish = false
edition = "2024"
version = "0.6.0"
version = "0.7.0"

[workspace.dependencies]
gpui-component = { path = "crates/ui", version = "0.6.0" }
gpui-component-app = { path = "crates/app", version = "0.6.0" }
gpui-component-manifest = { path = "crates/app-manifest", version = "0.6.0" }
gpui-component-storage = { path = "crates/app-storage", version = "0.6.0" }
gpui-component-macros = { path = "crates/macros", version = "0.6.0" }
gpui-component-assets = { path = "crates/assets", version = "0.6.0" }
gpui-component = { path = "crates/ui", version = "0.7.0" }
gpui-component-app = { path = "crates/app", version = "0.7.0" }
gpui-component-manifest = { path = "crates/app-manifest", version = "0.7.0" }
gpui-component-storage = { path = "crates/app-storage", version = "0.7.0" }
gpui-component-macros = { path = "crates/macros", version = "0.7.0" }
gpui-component-assets = { path = "crates/assets", version = "0.7.0" }
story = { path = "crates/story" }

gpui = { git = "https://github.com/BumpyClock/gpui", rev = "2a03ae6e789b77e98f9d9bd5489758a082313c75", features = ["font-kit"] }
gpui_platform = { git = "https://github.com/BumpyClock/gpui", rev = "2a03ae6e789b77e98f9d9bd5489758a082313c75", features = ["font-kit"] }
gpui = { git = "https://github.com/BumpyClock/gpui", rev = "5569a8cdb31a12f7ec4b9a825379400edde211c8", features = ["font-kit"] }
gpui_platform = { git = "https://github.com/BumpyClock/gpui", rev = "5569a8cdb31a12f7ec4b9a825379400edde211c8", features = ["font-kit"] }
gpui-macros = "0.2.2"
sum-tree = { version = "0.2.0", package = "zed-sum-tree" }
# reqwest = { version = "0.12.15-zed", package = "zed-reqwest" }
Expand Down
2 changes: 1 addition & 1 deletion crates/assets/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repository = "https://github.com/BumpyClock/gpui-component"
readme = "README.md"
edition.workspace = true
publish = true
version = "0.6.0"
version = "0.7.0"

[lib]
doctest = false
Expand Down
2 changes: 1 addition & 1 deletion crates/macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "gpui-component-macros"
description = "Macros for GPUI Component."
version = "0.6.0"
version = "0.7.0"
license = "Apache-2.0"
publish = true
edition.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/ui/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ documentation = "https://docs.rs/gpui-component"
homepage = "https://BumpyClock.github.io/gpui-component"
repository = "https://github.com/BumpyClock/gpui-component"
readme = "../../README.md"
version = "0.6.0"
version = "0.7.0"
publish = true
edition.workspace = true

Expand Down
10 changes: 5 additions & 5 deletions crates/ui/src/surface/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,20 +229,20 @@ impl SurfacePreset {

/// Creates a flyout surface preset for menus and dropdowns.
///
/// - 60px blur radius
/// - 32px blur radius
/// - Subtle noise
/// - Popover background at 0.75/0.85 opacity
/// - Popover background at 0.68/0.76 opacity
/// - Small elevation with subtle stroke
/// - 12px border radius
pub fn flyout() -> Self {
Self {
kind: SurfaceKind::Flyout,
blur_radius: Some(px(60.0)),
blur_radius: Some(px(32.0)),
noise_intensity: NoiseIntensity::Subtle,
background: SurfaceBackground {
color_source: SurfaceColorSource::Popover,
light_opacity: 0.75,
dark_opacity: 0.85,
light_opacity: 0.68,
dark_opacity: 0.76,
},
elevation: ElevationToken::Sm,
stroke: Some(StrokeSpec::subtle()),
Expand Down
12 changes: 6 additions & 6 deletions crates/ui/src/theme/default-theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@
"surface_card_shadow": "sm"
},
"material": {
"flyout_blur_radius": 60.0,
"flyout_blur_radius": 32.0,
"panel_blur_radius": 120.0,
"flyout_light_opacity": 0.75,
"flyout_dark_opacity": 0.85,
"flyout_light_opacity": 0.68,
"flyout_dark_opacity": 0.76,
"panel_light_opacity": 0.85,
"panel_dark_opacity": 0.9,
"card_light_opacity": 0.7,
Expand Down Expand Up @@ -298,10 +298,10 @@
"surface_card_shadow": "sm"
},
"material": {
"flyout_blur_radius": 60.0,
"flyout_blur_radius": 32.0,
"panel_blur_radius": 120.0,
"flyout_light_opacity": 0.75,
"flyout_dark_opacity": 0.85,
"flyout_light_opacity": 0.68,
"flyout_dark_opacity": 0.76,
"panel_light_opacity": 0.85,
"panel_dark_opacity": 0.9,
"card_light_opacity": 0.7,
Expand Down
Loading
Loading