BETA

Transvision

Filter by folder:

Show all results toolkit

Displaying 1 result:

Entity zh-TW en-US
Entity # all locales toolkit • toolkit • featuregates • features.ftl
experimental-features-devtools-color-scheme-simulation-description
zh-TW
加入用來模擬不同配色的選項,讓您可以測試 <a data-l10n-name="mdn-preferscolorscheme">@prefers-color-scheme</a> 媒體查詢。使用此媒體查詢功能,可讓您的樣式表回覆使用者偏好使用亮色或暗色介面。此功能讓您可以不需要更改瀏覽器或作業系統設定(若瀏覽器使用系統相關設定的話)就能直接進行測試。若需更多資訊,請參考 <a data-l10n-name="bugzilla1">bug 1550804</a> 及 <a data-l10n-name="bugzilla2">bug 1137699</a>。
en-US
Adds an option to simulate different color schemes allowing you to test <a data-l10n-name="mdn-preferscolorscheme">@prefers-color-scheme</a> media queries. Using this media query lets your stylesheet respond to whether the user prefers a light or dark user interface. This feature lets you test your code without having to change settings in your browser (or operating system, if the browser follows a system-wide color scheme setting). See <a data-l10n-name="bugzilla1">bug 1550804</a> and <a data-l10n-name="bugzilla2">bug 1137699</a> for more details.
Please enable JavaScript. Some features won't be available without it.