@dcloudio/uni-cli-shared
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -33,2 +33,3 @@ const tags = require('./tags') | ||
const { | ||
getPlatformScss, | ||
isInHBuilderX, | ||
@@ -63,2 +64,3 @@ getPlatformExts, | ||
isInHBuilderX, | ||
getPlatformScss, | ||
getPlatformExts, | ||
@@ -65,0 +67,0 @@ getPlatformTarget, |
@@ -137,3 +137,22 @@ const fs = require('fs') | ||
return platform.cssVars | ||
}, | ||
getPlatformScss () { | ||
return `//颜色变量 | ||
//行为相关 | ||
$uni-color-primary: #007aff; | ||
$uni-color-success: #4cd964; | ||
$uni-color-warning: #f0ad4e; | ||
$uni-color-danger: #dd524d; | ||
//主题相关 | ||
$uni-color-blue: #007aff; | ||
$uni-color-green: #4cd964; | ||
$uni-color-yellow: #f0ad4e; | ||
$uni-color-red: #dd524d; | ||
$uni-text-color:#333; | ||
$uni-border-color:#c8c7cc; | ||
$uni-background-color:#fff; | ||
//尺寸变量 | ||
$uni-text-size:32upx; | ||
` | ||
} | ||
} |
{ | ||
"name": "@dcloudio/uni-cli-shared", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "uni-cli-shared", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27769
577