diff --git a/demo/styles/ComponentDemo.scss b/demo/styles/ComponentDemo.scss index a6d110fea..c5ba7afcf 100644 --- a/demo/styles/ComponentDemo.scss +++ b/demo/styles/ComponentDemo.scss @@ -30,6 +30,7 @@ cursor: pointer; } @include e(title) { + transition: color .3s $default-cubic-bezier; position: relative; margin: 0 24px; font-size: 18px; diff --git a/demo/styles/markdown.scss b/demo/styles/markdown.scss index e88d39a3b..50f6fcf32 100644 --- a/demo/styles/markdown.scss +++ b/demo/styles/markdown.scss @@ -9,6 +9,7 @@ font-weight: 700; } h1, h2, h3, h4, h5, h6 { + transition: color .3s $default-cubic-bezier; margin: 0; font-weight: 700; } @@ -34,22 +35,27 @@ ul, ol { padding-left: 0; li { + transition: color .3s $default-cubic-bezier; line-height: 1.875; margin-bottom: 0px; font-size: 14px; + color: $--n-secondary-text-color; } } p { + transition: color .3s $default-cubic-bezier; margin: 8px 0 0 0; font-size: 14px; line-height: 1.875; + color: $--n-secondary-text-color; } a { - color: $primary-6; + transition: color .3s $default-cubic-bezier; + color: $--primary-6; font-size: 14px; } code { - transition: background-color .3s $default-cubic-bezier, border-color .3s $default-cubic-bezier; + transition: background-color .3s $default-cubic-bezier, border-color .3s $default-cubic-bezier, color .3s $default-cubic-bezier; } pre { width: 100%; @@ -66,6 +72,7 @@ box-sizing: border-box; border-radius: 3px; background-color: rgba(255, 255, 255, .12); + color: $--n-secondary-text-color; padding: 0em .4em .1em .4em; font-size: 14px; font-family: 'Lato'; @@ -112,8 +119,11 @@ } } @else { .n-app--light-theme .markdown { + p, li, code { + color: $--n-secondary-text-color; + } a { - color: $primary-6; + color: $--primary-6; } pre { & > code { diff --git a/packages/common/Alert/src/main.vue b/packages/common/Alert/src/main.vue index 5c3523ea0..901ee93c9 100644 --- a/packages/common/Alert/src/main.vue +++ b/packages/common/Alert/src/main.vue @@ -2,8 +2,9 @@
-
+
{{ title }}
-
+
@@ -51,11 +52,15 @@