9.0.8 • Published 11 months ago

@spectrum-css/vars v9.0.8

Weekly downloads
2,151
License
Apache-2.0
Repository
github
Last release
11 months ago

@spectrum-css/vars

The vars component contains all the variables that drive the presentation of a component.

CSS Usage

The files within the css/ folder are unprocessed Spectrum DNA output. These contain ALL variables with raw data for each. These should be used if variables are required at build time.

The files within the dist/css/ folder contain processed DNA output, with references to only the DNA variables that change between color stops and scales. These should be if CSS custom properties are being used in-browser.

Updating DNA tokens / variables from Spectrum DNA

Update the DNA version in package.json

"@spectrum/spectrum-dna": "^x.y.z",

In root directory:

yarn install
yarn add -W -O @spectrum/spectrum-dna

Run the DNA update script:

cd components/vars
npm run update

Commit the new files with git add .; git commit -m "feat: update DNA to x.y.z" with x.y.z being the DNA version number matching the update in package.json.

Potential error resolving solutions

Clean Lerna, remove node_modules and reinstall Yarn dependencies.

npx lerna clean
rm -rf node_modules/
rm .yarnrc
yarn install
9.0.8

11 months ago

9.0.7

11 months ago

9.0.6

12 months ago

9.0.5

1 year ago

9.0.4

1 year ago

8.0.5

1 year ago

9.0.2

1 year ago

9.0.1

1 year ago

9.0.0

1 year ago

8.0.4

1 year ago

8.0.3

1 year ago

8.0.2

1 year ago

7.3.0

2 years ago

8.0.0

2 years ago

8.0.0-beta.0

2 years ago

7.2.0

2 years ago

7.1.1

2 years ago

7.1.0

2 years ago

7.0.1

2 years ago

5.0.0

2 years ago

6.1.0

2 years ago

6.0.0

2 years ago

6.1.1

2 years ago

7.0.0

2 years ago

5.0.0-beta.0

2 years ago

4.3.1

2 years ago

4.1.0

2 years ago

4.3.0

2 years ago

4.2.0

2 years ago

4.1.1

2 years ago

4.0.1

3 years ago

4.0.2

3 years ago

4.0.0

3 years ago

3.1.0-alpha.3

3 years ago

3.1.0-alpha.2

3 years ago

3.1.0-alpha.1

3 years ago

3.1.0-alpha.0

3 years ago

3.0.2

3 years ago

3.0.1

3 years ago

3.0.0

3 years ago

3.0.0-beta.2

3 years ago

3.0.0-beta.1

4 years ago

2.3.0

4 years ago

2.2.0

4 years ago

2.1.0

4 years ago

2.0.3

4 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

2.0.0-alpha.3

5 years ago

2.0.0-alpha.2

5 years ago

2.0.0-alpha.1

5 years ago

2.0.0-alpha.0

5 years ago

1.0.0-alpha.0

5 years ago