# لون شق iOS / محدد لون الواجهة

**URL:** https://meta.discourse.org/t/ios-notch-color-interface-color-selector/388488
**Category:** Bug
**Created:** [14 نوفمبر 2025، 2:46م UTC](https://meta.discourse.org/t/ios-notch-color-interface-color-selector/388488 "2025-11-14T14:46:50Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [14 نوفمبر 2025، 2:46م UTC](https://meta.discourse.org/t/ios-notch-color-interface-color-selector/388488/1 "2025-11-14T14:46:50Z")

</div>

عند تغيير محدد لون الواجهة، لا يتم تحديث علامات `meta name="theme-color"` الوصفية، مما يتسبب أحيانًا في ظهور لون خاطئ على شق iPhone.

إعادة الإنتاج (هنا على meta)

- تمكين محدد لون الواجهة
- ضبط وضع نظام التشغيل على “فاتح”
- ضبط وضع محدد لون واجهة Discourse على “فاتح”
- إعادة تحميل المتصفح
- تبدو العلامات الوصفية مثل

```plaintext
<meta name="theme-color" media="all" content="#ffffff">
<meta name="theme-color" media="none" content="#1a1a1a">

```

مما يجعل شق iPhone باللون الصحيح بشكل صحيح

- تبديل وضع محدد لون واجهة Discourse إلى “تلقائي”
- تتغير سمات `media` لـ `link class="light-scheme"` و `dark-scheme` بشكل صحيح
- تظل علامات `theme-color` الوصفية كما هي ← سيء
- تغيير وضع نظام التشغيل إلى “داكن”
- لا يتغير لون الشق 😱
- تحديث المتصفح
- تتغير العلامات الوصفية لـ HTML إلى

```plaintext
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#ffffff">
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#1a1a1a">

```

---

_[View the full topic](https://meta.discourse.org/t/ios-notch-color-interface-color-selector/388488)._
