@mc-markets/ui 1.0.2 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/USAGE.md +1 -1
- package/dist/index.js +3 -2
- package/dist/packages/index.d.ts +3 -148
- package/dist/style.css +1 -1
- package/package.json +4 -6
- package/packages/styles/README.md +150 -0
- package/packages/styles/index.scss +11 -0
- package/packages/styles/variables/border-mode.css +6 -0
- package/packages/styles/variables/color-modes-dark.css +143 -0
- package/packages/styles/variables/index.scss +6 -0
- package/packages/styles/variables/primitives-style.css +112 -0
- package/packages/styles/variables/radius-mode.css +14 -0
- package/packages/styles/variables/spacing-mode.css +20 -0
- package/packages/styles/variables/typography-desktop.css +40 -0
- package/packages/styles/variables/typography-mobile.css +40 -0
- package/packages/styles/variables.scss +20 -12
- package/dist/index-36fc8778.js +0 -5
- package/packages/styles/css-variables.css +0 -197
package/USAGE.md
CHANGED
|
@@ -160,7 +160,7 @@ const setCustomTheme = () => {
|
|
|
160
160
|
```typescript
|
|
161
161
|
import { createApp } from 'vue'
|
|
162
162
|
import McMarketsUI from '@mc-markets/ui'
|
|
163
|
-
import '@mc-markets/ui/
|
|
163
|
+
import '@mc-markets/ui/scss-variables' // 导入SCSS变量
|
|
164
164
|
|
|
165
165
|
const app = createApp(App)
|
|
166
166
|
app.use(McMarketsUI)
|