feat: platform-agnostic base style
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- typescript
Hướng nghiên cứu
Bắt đầu bằng cách xem xét các style hiện có dành riêng cho từng nền tảng iOS và Material cho các component content, modal, router và navigation. So sánh hành vi chung và các điểm tùy chỉnh của chúng, sau đó xác định phạm vi của một theme cơ sở không phụ thuộc nền tảng. Công việc được xem là hoàn tất khi có thiết kế đã được thống nhất và kế hoạch triển khai cho các giá trị mặc định hợp lý, khả năng tùy chỉnh, transition và gesture.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already include this feature request, without success.
Describe the Feature Request
tl;dr: Introduce a new minimal "base" style, which is platform-agnostic and more customizable than the current platform-specific styles.
I've been using Ionic for 8 years now in a production app with great success. When liquid glass was announced, my first thought was that this could become a problem for Ionic and other cross-platform frameworks, because they usually have one style per platform, but not per OS version number. If Ionic adjusts to liquid glass, it will be the same style even for devices running anything < iOS 26. Now, Ionic has the problem that it looks like "old iOS" on iOS 26 devices.
However, after using the mess which is called liquid glass, I'm convinced that app developers won't even bother with making their app look Apple-like and rebuilding liquid glass in CSS is a waste of time. Liquid glass is so opinionated that devs might actually go for a more unified style for both Android and iOS just like Flutter apps, which have pixel-perfect matching styles. For React Native, it's similar. While they do have platform-specific styles, big apps try to use their own design system instead of going for that Apple- or Material-specific look. UI libraries like shadcn/ui are on the rise, which give apps a unified look.
Flutter seems to be surprisingly popular, too, even though they don't even give you simple OS-level tools like text selection, copy-paste etc. which you get for free in an Ionic app.
Ionic is still unique, because it gives devs sensible defaults, a great dev experience, good basics like page transitions, modal transitions, gestures, toggles, a router and I love the idea that Ionic components are just Web components. Another framework that tries to mimic liquid glass is KonstaUI, but they lack transitions and gestures. I also thought about creating my own mini-framework that is mostly without styles, but this made me appreciate all of the tiny things that Ionic does right even more (especially transitions, gestures, the whole overscroll/rubberbanding effect etc.)
On modern devices, I don't really see the reason to use Flutter, because why would I need a custom rendering engine if Chrome and Safari can be my rendering engines and I can write HTML/CSS/JS to make true cross-platform apps with a single code base.
The biggest disadvantage of Ionic is that it is hard to customize the theme, partially because the web components use ShadowDOM, partially because "ios" and "md" are deeply entrenched in the framework. What I'd like to see and maybe this is a vision that'd work for the Ionic team, too:
Make a new "base" theme that can easily be customized. Maybe the base theme could have mostly unstyled components or comes only with the bare minimum components to make a SPA feel applike: content, header, modal, router, transitions including all gestures etc.
Anyways, I just wanted to put this out here and hear from people what they think about this.
Describe the Use Case
Apps that want to have more of their own design system without using Material or Liquid Glass.
Describe Preferred Solution
Make content, modal, router, nav have a sensible base style that works on both platforms, make them open so that I could customize transition speeds etc. but still get a great UI out of the box.
Describe Alternatives
Build my own, but then lose access to all the work that went into optimizing the "headless" part of Ionic core components.
Related Code
No response
Additional Information
No response
- Ngôn ngữ chính
- TypeScript
- Star
- 52.8k
- Fork
- 13.3k
- Merge trung bình
- 3 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 86
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ionic-team/ionic-framework
-
bug: input-otp, backspace in an empty box only moves focus instead of clearing the previous boxCó thể đã có người làm @sarankumar1325 đã nhận 23 ngày trước. Đang mởpackage: core type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
ionic-team/ionic-framework#31639 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug: vue swipe cancellation throws when the previous page is missingCó thể đã có người làm @dandoingdev đã nhận 46 ngày trước. Đang mởpackage: vue type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
ionic-team/ionic-framework#31514 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug: ion-searchbar input is always labelled "search text"; aria-label on the host is not forwardedCó thể đã có người làm @HappyKnuckles đã nhận 41 ngày trước. Đang mởa11y package: core type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
ionic-team/ionic-framework#31492 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug: IonTabs throws when a Fragment contains one IonRouterOutletCó thể đã có người làm @Benziza đã nhận 82 ngày trước. Đang mởpackage: react type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ionic-team/ionic-framework#31410 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug: angular swipe-back gesture crashes in StackController.startBackTransition when the stack is popped before the gesture is capturedCó thể đã có người làm @officialasishkumar đã nhận 9 ngày trước. Đang mởpackage: angular type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
ionic-team/ionic-framework#31291 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của ionic-team/ionic-framework
Issue tương tự
-
area-templates triage:bot-seen triage:needs-human
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
microsoft/aspire#22356 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Archiving an agent that is not loaded keeps its old updatedAtCó thể đã có người làm @luoph đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
content triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
contributor: external needs review severity: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
expo/expo#53642 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
JSPrismarine/JSPrismarine#3214 ·
Maintainer thường phản hồi trong vòng 1 ngày