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

theo

Package Overview
Dependencies
Maintainers
3
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

theo - npm Package Compare versions

Comparing version 6.0.0-beta.6 to 6.0.0-beta.7

lib/formats/custom-properties.css.hbs

2

package.json
{
"name": "theo",
"version": "6.0.0-beta.6",
"version": "6.0.0-beta.7",
"license": "BSD-3-Clause",

@@ -5,0 +5,0 @@ "description": "Design Tokens formatter",

@@ -17,8 +17,8 @@ # <img src="https://raw.githubusercontent.com/salesforce-ux/theo/master/assets/theo.png" alt="Theo logo" width="28" /> Theo

props:
buttonBackground:
value: "{!primaryColor}"
button_background:
value: "{!primary_color}"
imports:
- aliases.yml
global:
type: token
type: color
category: buttons

@@ -30,3 +30,3 @@ ```

aliases:
primaryColor:
primary_color:
value: "#0070d2"

@@ -48,3 +48,3 @@ ```

.then(scss => {
// $buttonBackground: rgba(0, 112, 210, 1);
// $button-background: rgb(0, 112, 210);
})

@@ -247,2 +247,89 @@ .catch(error => console.log(`Something went wrong: ${error}`))

### custom-properties.css
```css
:root {
/* If prop has 'comment' key, that value will go here. */
--prop-name: PROP_VALUE;
}
```
### cssmodules.css
```css
/* If prop has 'comment' key, that value will go here. */
@value prop-name: PROP_VALUE;
```
### scss
```sass
// If prop has 'comment' key, that value will go here.
$prop-name: PROP_VALUE;
```
### sass
```sass
// If prop has 'comment' key, that value will go here.
$prop-name: PROP_VALUE
```
### less
```less
// If prop has 'comment' key, that value will go here.
@prop-name: PROP_VALUE;
```
### styl
```styl
// If prop has 'comment' key, that value will go here.
$prop-name = PROP_VALUE
```
### map.scss
```sass
$file-name-map: (
// If prop has 'comment' key, that value will go here.
"prop-name": (PROP_VALUE),
);
```
### map.variables.scss
```sass
$file-name-map: (
// If prop has 'comment' key, that value will go here.
"prop-name": ($prop-name)
);
```
### list.scss
```sass
$file-name-list: (
// If prop has 'comment' key, that value will go here.
"prop-name"
);
```
### module.js
```js
// If prop has 'comment' key, that value will go here.
export const propName = "PROP_VALUE";
```
### common.js
```js
module.exports = {
// If prop has 'comment' key, that value will go here.
propName: "PROP_VALUE"
};
```
### json

@@ -295,48 +382,2 @@

### scss
```scss
// If prop has 'comment' key, that value will go here.
$prop-name: PROP_VALUE;
```
### map.scss
```sass
$file-name-map: (
// If prop has 'comment' key, that value will go here.
"prop-name": (PROP_VALUE),
);
```
### map.variables.scss
```sass
$file-name-map-variables: (
// If prop has 'comment' key, that value will go here.
"prop-name": ($prop-name)
);
```
### sass
```sass
// If prop has 'comment' key, that value will go here.
$prop-name: PROP_VALUE
```
### less
```less
// If prop has 'comment' key, that value will go here.
@prop-name: PROP_VALUE;
```
### cssmodules.css
```css
/* If prop has 'comment' key, that value will go here. */
@value prop-name: PROP_VALUE;
```
### aura.tokens

@@ -350,10 +391,2 @@

### common.js
```js
module.exports = {
propName: PROP_VALUE
};
```
[npm-url]: https://npmjs.org/package/theo

@@ -360,0 +393,0 @@ [npm-image]: http://img.shields.io/npm/v/theo.svg

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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