Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dcloudio/uni-cli-shared

Package Overview
Dependencies
Maintainers
3
Versions
1739
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dcloudio/uni-cli-shared - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

2

lib/index.js

@@ -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;
`
}
}

2

package.json
{
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc