Skip to content

feat(dark-mode): add system appearance property, event and CSS classes - #7887

Merged
manoldonev merged 19 commits into
masterfrom
vchimev/system-mode
Oct 8, 2019
Merged

manoldonev merged 19 commits into
masterfrom
vchimev/system-mode

Conversation

@vchimev

@vchimev vchimev commented Oct 1, 2019 •

Copy link
Copy Markdown
Contributor

PR Checklist

Implements

  • Detect system appearance at application launch:
    expose a systemAppearance property to the application module,
  • Add ns-light/ns-dark CSS classes to the application root view,
  • Notify about a system appearance change:
    expose a systemAppearanceChanged event

of #7800.

@cla-bot cla-bot Bot added the cla: yes label Oct 1, 2019
@vchimev
vchimev requested review from MartoYankov, manoldonev and vakrilov and removed request for MartoYankov and manoldonev October 1, 2019 08:25
@vchimev vchimev changed the title feat(dark-mode): apply ns-light|ns-dark CSS classes to the application root view feat(dark-mode): add ns-light|ns-dark CSS classes to the application root view Oct 1, 2019
@vchimev
vchimev requested review from ADjenkov and MartoYankov and removed request for vakrilov October 1, 2019 08:28
@vchimev
vchimev force-pushed the vchimev/system-mode branch from 15bec02 to d81be71 Compare October 3, 2019 05:17
@vchimev vchimev mentioned this pull request Oct 3, 2019
4 of 12 tasks
@vchimev vchimev changed the title feat(dark-mode): add ns-light|ns-dark CSS classes to the application root view feat(dark-mode): add system appearance property, event and CSS classes Oct 3, 2019
Comment thread tns-core-modules/application/application.ios.ts
Comment thread tns-core-modules/application/application-common.ts Outdated
Comment thread tns-core-modules/application/application.android.ts Outdated
Comment thread tns-core-modules/application/application.android.ts
Comment thread tns-core-modules/application/application.android.ts Outdated
Comment thread tns-core-modules/application/application.d.ts Outdated
Comment thread tns-core-modules/application/application.ios.ts
Comment thread tns-core-modules/css/system-classes.ts
Comment thread tns-core-modules/ui/bottom-navigation/bottom-navigation.ios.ts Outdated
Comment thread tns-core-modules/ui/core/view/view.ios.ts Outdated
Comment thread tns-core-modules/ui/frame/frame.ios.ts Outdated
Comment thread tns-core-modules/ui/page/page.ios.ts Outdated
Comment thread tns-core-modules/ui/tab-view/tab-view.ios.ts Outdated
Comment thread tns-core-modules/ui/tabs/tabs.ios.ts Outdated
@vchimev
vchimev force-pushed the vchimev/system-mode branch from b276a1c to 20594c1 Compare October 4, 2019 14:15
@vchimev
vchimev requested a review from manoldonev October 4, 2019 14:16

@manoldonev manoldonev left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After addressing last comment.

@vchimev
vchimev force-pushed the vchimev/system-mode branch from 20594c1 to 10edbfc Compare October 4, 2019 16:04
@manoldonev
manoldonev merged commit 5c9a217 into master Oct 8, 2019
@manoldonev
manoldonev deleted the vchimev/system-mode branch October 8, 2019 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants