René's URL Explorer Experiment


Title: At least on iOS, some CSS styles are not applied without .ns-dark / .ns-light ; e.g. bg-danger is not applied to Buttons in dark mode. · Issue #8594 · NativeScript/NativeScript · GitHub

Open Graph Title: At least on iOS, some CSS styles are not applied without .ns-dark / .ns-light ; e.g. bg-danger is not applied to Buttons in dark mode. · Issue #8594 · NativeScript/NativeScript

X Title: At least on iOS, some CSS styles are not applied without .ns-dark / .ns-light ; e.g. bg-danger is not applied to Buttons in dark mode. · Issue #8594 · NativeScript/NativeScript

Description: Environment % tns info ✔ Component nativescript has 6.5.0 version and is up to date. ✔ Component tns-core-modules has 6.5.1 version and is up to date. ✔ Component tns-android has 6.5.0 version and is up to date. ✔ Component tns-ios has 6...

Open Graph Description: Environment % tns info ✔ Component nativescript has 6.5.0 version and is up to date. ✔ Component tns-core-modules has 6.5.1 version and is up to date. ✔ Component tns-android has 6.5.0 version and ...

X Description: Environment % tns info ✔ Component nativescript has 6.5.0 version and is up to date. ✔ Component tns-core-modules has 6.5.1 version and is up to date. ✔ Component tns-android has 6.5.0 version and ...

Opengraph URL: https://github.com/NativeScript/NativeScript/issues/8594

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"At least on iOS, some CSS styles are not applied without .ns-dark / .ns-light ; e.g. bg-danger is not applied to Buttons in dark mode.","articleBody":"**Environment**\r\n```\r\n% tns  info\r\n✔ Component nativescript has 6.5.0 version and is up to date.\r\n✔ Component tns-core-modules has 6.5.1 version and is up to date.\r\n✔ Component tns-android has 6.5.0 version and is up to date.\r\n✔ Component tns-ios has 6.5.0 version and is up to date.\r\n```\r\n\r\nUsing an iOS 13 emulator.\r\n\r\n**Describe the bug**\r\nApplying `bg-danger` to a Button does not make the button _red_ when the phone is in dark mode.\r\n\r\nSome CSS attributes seems to require having `.ns-dark` or `.ns-light`, e.g. `border-width` or `border-color`. Otherwise nothing is applied.\r\n\r\n**To Reproduce**\r\n`app-common.scss`\r\n```\r\n// Uncommenting the following fixes the `bg-danger` problem\r\n// .ns-dark .bg-danger {\r\n//   background-color: const(error);\r\n//   opacity: 1;\r\n// }\r\n\r\n.border-color {\r\n  border-width: 2px 2px 2px 2px;\r\n  border-color: green;\r\n}\r\n\r\n.ns-light .border-color2,\r\n.ns-light .border-color3,\r\n.ns-dark .border-color2,\r\n.ns-dark .border-color3 {\r\n  border-width: 2px 2px 2px 2px;\r\n  border-color: green;\r\n}\r\n.border-color3 {\r\n  border-radius: 20px;\r\n}\r\n```\r\n\r\n`home.component.html`\r\n```\r\n  \u003cStackLayout\u003e\r\n    \u003cLabel class=\"bg-danger\" text=\"Expecting bg-danger: OK with labels!\"\u003e\u003c/Label\u003e\r\n    \u003cButton class=\"bg-danger\" text=\"Expecting bg-danger: only in light mode\"\u003e\u003c/Button\u003e\r\n    \u003cButton class=\"border-color\" text=\"Expecting green borders: never\"\u003e\u003c/Button\u003e\r\n    \u003cButton class=\"border-color2\" text=\"But OK if ns-dark/light specified\"\u003e\u003c/Button\u003e\r\n    \u003cButton class=\"border-color3\" text=\"Note that border-radius works as expected!\"\u003e\u003c/Button\u003e\r\n  \u003c/StackLayout\u003e\r\n```\r\n\r\n\u003cimg width=\"769\" alt=\"image\" src=\"https://user-images.githubusercontent.com/1008816/82646386-d5e42880-9c14-11ea-9ddc-89fbf5c64f8e.png\"\u003e\r\n\r\n**Expected behavior**\r\n\r\nCSS being applied without `.ns-dark`, `.ns-light` specifiers.\r\n\r\n**Sample project**\r\nI've done this. (Question: is it possible to test it within an emulator without downloading the project?) After downloading it and running it, the bg-danger problem is still here and the border problems are a bit different, but the version used seems to be 6.5.0 instead of 6.5.1.\r\n\r\nhttps://play.nativescript.org/?template=play-ng\u0026id=yicNoo","author":{"url":"https://github.com/boutier","@type":"Person","name":"boutier"},"datePublished":"2020-05-22T09:03:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/8594/NativeScript/issues/8594"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:ef24b77e-892f-d355-0135-7d88da48a1e2
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC7EE:2CE953:1F3C628:295588E:6A5C9B33
html-safe-nonce77f48f9c37e4d2566fe6e7f16f5ad92dccd16b41d09ceee10ef4f6cacbff6cda
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDN0VFOjJDRTk1MzoxRjNDNjI4OjI5NTU4OEU6NkE1QzlCMzMiLCJ2aXNpdG9yX2lkIjoiMjA3NDg0ODUzNzI2NDAzNjY1OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac9fd43ee8589d0495123b80d5808bda802639762dd60fc6e24060683f73a2d29d
hovercard-subject-tagissue:623065370
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/NativeScript/8594/issue_layout
twitter:imagehttps://opengraph.githubassets.com/a3f3231b9e6fb89890ae32887cee63f6103d0bb447f08174f1c3bd8b7f67d8fb/NativeScript/NativeScript/issues/8594
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a3f3231b9e6fb89890ae32887cee63f6103d0bb447f08174f1c3bd8b7f67d8fb/NativeScript/NativeScript/issues/8594
og:image:altEnvironment % tns info ✔ Component nativescript has 6.5.0 version and is up to date. ✔ Component tns-core-modules has 6.5.1 version and is up to date. ✔ Component tns-android has 6.5.0 version and ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameboutier
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-preview
go-importgithub.com/NativeScript/NativeScript git https://github.com/NativeScript/NativeScript.git
octolytics-dimension-user_id7392261
octolytics-dimension-user_loginNativeScript
octolytics-dimension-repository_id31492490
octolytics-dimension-repository_nwoNativeScript/NativeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id31492490
octolytics-dimension-repository_network_root_nwoNativeScript/NativeScript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/NativeScript/NativeScript/issues/8594#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2FNativeScript%2Fissues%2F8594
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2FNativeScript%2Fissues%2F8594
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=NativeScript%2FNativeScript
Reloadhttps://github.com/NativeScript/NativeScript/issues/8594
Reloadhttps://github.com/NativeScript/NativeScript/issues/8594
Reloadhttps://github.com/NativeScript/NativeScript/issues/8594
Please reload this pagehttps://github.com/NativeScript/NativeScript/issues/8594
NativeScript https://github.com/NativeScript
NativeScripthttps://github.com/NativeScript/NativeScript
Please reload this pagehttps://github.com/NativeScript/NativeScript/issues/8594
Notifications https://github.com/login?return_to=%2FNativeScript%2FNativeScript
Fork 1.7k https://github.com/login?return_to=%2FNativeScript%2FNativeScript
Star 25.6k https://github.com/login?return_to=%2FNativeScript%2FNativeScript
Code https://github.com/NativeScript/NativeScript
Issues 771 https://github.com/NativeScript/NativeScript/issues
Pull requests 67 https://github.com/NativeScript/NativeScript/pulls
Discussions https://github.com/NativeScript/NativeScript/discussions
Actions https://github.com/NativeScript/NativeScript/actions
Projects https://github.com/NativeScript/NativeScript/projects
Wiki https://github.com/NativeScript/NativeScript/wiki
Security and quality 0 https://github.com/NativeScript/NativeScript/security
Insights https://github.com/NativeScript/NativeScript/pulse
Code https://github.com/NativeScript/NativeScript
Issues https://github.com/NativeScript/NativeScript/issues
Pull requests https://github.com/NativeScript/NativeScript/pulls
Discussions https://github.com/NativeScript/NativeScript/discussions
Actions https://github.com/NativeScript/NativeScript/actions
Projects https://github.com/NativeScript/NativeScript/projects
Wiki https://github.com/NativeScript/NativeScript/wiki
Security and quality https://github.com/NativeScript/NativeScript/security
Insights https://github.com/NativeScript/NativeScript/pulse
At least on iOS, some CSS styles are not applied without .ns-dark / .ns-light ; e.g. bg-danger is not applied to Buttons in dark mode.https://github.com/NativeScript/NativeScript/issues/8594#top
csshttps://github.com/NativeScript/NativeScript/issues?q=state%3Aopen%20label%3A%22css%22
os: ioshttps://github.com/NativeScript/NativeScript/issues?q=state%3Aopen%20label%3A%22os%3A%20ios%22
https://github.com/boutier
boutierhttps://github.com/boutier
on May 22, 2020https://github.com/NativeScript/NativeScript/issues/8594#issue-623065370
https://user-images.githubusercontent.com/1008816/82646386-d5e42880-9c14-11ea-9ddc-89fbf5c64f8e.png
https://play.nativescript.org/?template=play-ng&id=yicNoohttps://play.nativescript.org/?template=play-ng&id=yicNoo
csshttps://github.com/NativeScript/NativeScript/issues?q=state%3Aopen%20label%3A%22css%22
os: ioshttps://github.com/NativeScript/NativeScript/issues?q=state%3Aopen%20label%3A%22os%3A%20ios%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.