@dcloudio/uni-cli-shared
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -146,14 +146,3 @@ const PLATFORMS = { | ||
getPlatformScss () { | ||
return `/** | ||
* 这里是uni-app内置的常用样式变量 | ||
* | ||
* uni-app 插件市场(https://ext.dcloud.net.cn)上很多插件使用了这些样式变量,你可以通过修改这些变量值来定制自己的插件主题 | ||
* | ||
*如果你的项目同样使用了scss预处理,你可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | ||
* | ||
*/ | ||
/* 颜色变量 */ | ||
/* 行为相关颜色 */ | ||
return ` | ||
$uni-color-primary: #007aff; | ||
@@ -164,3 +153,2 @@ $uni-color-success: #4cd964; | ||
/* 文字基本颜色 */ | ||
$uni-text-color:#333;//基本色 | ||
@@ -172,3 +160,2 @@ $uni-text-color-inverse:#fff;//反色 | ||
/* 背景颜色 */ | ||
$uni-bg-color:#ffffff; | ||
@@ -179,8 +166,5 @@ $uni-bg-color-grey:#f8f8f8; | ||
/* 边框颜色 */ | ||
$uni-border-color:#c8c7cc; | ||
/* 尺寸变量 */ | ||
/* 文字尺寸 */ | ||
$uni-font-size-sm:24upx; | ||
@@ -190,3 +174,2 @@ $uni-font-size-base:28upx; | ||
/* 图片尺寸 */ | ||
$uni-img-size-sm:40upx; | ||
@@ -196,3 +179,2 @@ $uni-img-size-base:52upx; | ||
/* Border Radius */ | ||
$uni-border-radius-sm: 4upx; | ||
@@ -203,3 +185,2 @@ $uni-border-radius-base: 6upx; | ||
/* 水平间距 */ | ||
$uni-spacing-row-sm: 10px; | ||
@@ -209,3 +190,2 @@ $uni-spacing-row-base: 20upx; | ||
/* 垂直间距 */ | ||
$uni-spacing-col-sm: 8upx; | ||
@@ -215,6 +195,4 @@ $uni-spacing-col-base: 16upx; | ||
/* 透明度 */ | ||
$uni-opacity-disabled: 0.3; // 组件禁用态的透明度 | ||
/* 文章场景相关 */ | ||
$uni-color-title: #2C405A; // 文章标题颜色 | ||
@@ -221,0 +199,0 @@ $uni-font-size-title:40upx; |
{ | ||
"name": "@dcloudio/uni-cli-shared", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"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
29378
630