Skip to content
Merged
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
5 changes: 5 additions & 0 deletions .changeset/unify-basic-ui-app-bar-height.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@stackflow/plugin-basic-ui": minor
---

Set the default AppBar height and minimum height to 56px for both Cupertino and Android, independent of the root font size. Previously, Cupertino used 2.75rem and Android used 3.5rem. AppScreen content spacing follows the new height while preserving the top safe area inset and custom height options.
6 changes: 2 additions & 4 deletions extensions/plugin-basic-ui/src/basicUIPlugin.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ const androidValues: GlobalVars = {
borderColor: "rgba(0, 0, 0, 0.07)",
borderColorTransitionDuration: "0s",
borderSize: "1px",
height: "3.5rem",
height: "56px",
heightTransitionDuration: "0s",
minHeight: "3.5rem",
minHeight: "56px",
iconColor: "#212124",
iconColorTransitionDuration: "0s",
textColor: "#212124",
Expand Down Expand Up @@ -106,8 +106,6 @@ const cupertinoValues: GlobalVars = {
defaultTransitionOffSet: "100%",
appBar: {
...androidValues.appBar,
height: "2.75rem",
minHeight: "2.75rem",
borderSize: "0.5px",
lineHeight: "normal",
},
Expand Down
Loading