Comparing version 6.0.0-beta.6 to 6.0.0-beta.7
{ | ||
"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", |
151
README.md
@@ -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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
59115
35
391
0