Budibase is an open-source low-code platform for creating internal apps in minutes. Supports PostgreSQL, MySQL, MSSQL, MongoDB, Rest API, Docker, K8s 🚀
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Martin McKeaveney c8b772b8c1 allow configuration of redis cluster with fully qualified redis URL 5 years ago
..
.tmp allow configuration of redis cluster with fully qualified redis URL 5 years ago
css allow configuration of redis cluster with fully qualified redis URL 5 years ago
dist allow configuration of redis cluster with fully qualified redis URL 5 years ago
json allow configuration of redis cluster with fully qualified redis URL 5 years ago
tasks allow configuration of redis cluster with fully qualified redis URL 5 years ago
CHANGELOG.md allow configuration of redis cluster with fully qualified redis URL 5 years ago
LICENSE allow configuration of redis cluster with fully qualified redis URL 5 years ago
README.md allow configuration of redis cluster with fully qualified redis URL 5 years ago
gulpfile.js allow configuration of redis cluster with fully qualified redis URL 5 years ago
package.json allow configuration of redis cluster with fully qualified redis URL 5 years ago

README.md

@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