Closed RJQingHuan closed 5 months ago
This update introduces a new NavigationBarShadow
interface to enhance UI customization, allowing developers to specify shadow color types for navigation bars. It seamlessly integrates across the core configuration, playground settings, and schema definition, ensuring a consistent and straightforward implementation process for setting navigation bar shadows with preferred color types.
File Path | Change Summary |
---|---|
.../config/types/globalStyle.ts |
Added NavigationBarShadow interface; updated GlobalStyle interface |
packages/playground/pages.config.ts |
Added navigationBarShadow property with colorType: 'blue' |
packages/schema/schema.json |
Added NavigationBarShadow definition; updated references |
🐰✨ In the realm of code, where shadows play,
A rabbit hopped, bringing light to the day.
With a flick and a hop, a new shadow cast,
In shades of blue, a change vast.
"To navigate with style," it said with a cheer,
"Let your bar shine, clear and dear."
🌈🐾
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Description 描述
我正在更新type以及schema,我对schema不太熟,不知道这样写是否正确。有无问题请给我反馈,后续我将继续更新这个PR。
同时我也发现了一个问题,当前
PagesConfig.globalStyle
和PagesConfig.pages.style
的类型都是GlobalStyle
.但是在uniapp中页面的style和globalStyle
是有区别的。比如我现在更新的navigationBarShadow
在globalStyle
中并不存在。是否需要将类型定义分开?Linked Issues 关联的 Issues
Additional context 额外上下文
Summary by CodeRabbit