@@ -52,7 +52,7 @@
padding: 12px 16px 0;
box-sizing: border-box;
background: #f7f7fa;
- border-right: 1px solid rgba(29, 28, 35, 0.08));
+ border-right: 1px solid rgba(29, 28, 35, 0.08);
}
.demo-free-right-top-panel {
@@ -62,3 +62,18 @@
.rs-red {
color: var(--rp-container-danger-text);
+
+.light-mode {
+ color-scheme: light;
+ --background-color: #ffffff !important; /* 强制使用浅色背景 */
+ --text-color: #000000 !important; /* 强制使用深色文本 */
+ --rp-c-bg: #fff !important;
+ button {
+ background: transparent;
+ }
+}
+.light-mode * {
+ color: var(--text-color) !important;
@@ -7,7 +7,9 @@ outline: false
import { FixedFeatureOverview } from '../../../../components';
-<FixedFeatureOverview />
+<div className='light-mode'>
+ <FixedFeatureOverview />
+</div>
## Installation
import { FixedLayoutSimplePreview } from '../../../../components';
-<FixedLayoutSimplePreview />
+ <FixedLayoutSimplePreview />
import { FreeFeatureOverview } from '../../../../components';
-<FreeFeatureOverview />
+ <FreeFeatureOverview />
import { FreeLayoutSimplePreview } from '../../../../components';
-<FreeLayoutSimplePreview />
+ <FreeLayoutSimplePreview />
## 安装