From cc64afeefd051dd3e10a41177ce0f5681438ca36 Mon Sep 17 00:00:00 2001 From: "songwanli2025@163.com" Date: Fri, 18 Oct 2019 17:14:47 +0800 Subject: [PATCH] feat(Notificatoion): add theme to Notification --- .../components/notificationDemo.vue | 18 +- packages/common/Confirm/index.js | 4 +- packages/common/LoadingBar/index.js | 4 +- packages/common/Message/index.js | 4 +- packages/common/Message/src/main.js | 37 +-- packages/common/Notification/index.js | 2 +- .../Notification/src/NotificationCell.vue | 37 +-- packages/common/Notification/src/main.js | 45 ++- packages/utils/installThemeableComponent.js | 26 +- styles/Notification.scss | 272 ++++++++++-------- .../themes/dark/components/Notification.scss | 10 + styles/themes/dark/index.scss | 56 ++-- .../themes/light/components/Notification.scss | 12 + styles/themes/light/index.scss | 60 ++-- 14 files changed, 328 insertions(+), 259 deletions(-) create mode 100644 styles/themes/dark/components/Notification.scss create mode 100644 styles/themes/light/components/Notification.scss diff --git a/demo/documentation/components/notificationDemo.vue b/demo/documentation/components/notificationDemo.vue index 4bf72f3c0..9b24dbc76 100644 --- a/demo/documentation/components/notificationDemo.vue +++ b/demo/documentation/components/notificationDemo.vue @@ -1,25 +1,17 @@