The Terra Redwood Theme is a compiled set of CSS variables that can be consumed by Terra, Cerner's open-source web application framework. This repository uses Style Dictionary, Amazon's open-source tool for building and maintaining design token libraries. If you are building or maintaining the tokens themselves, please see the Style Dictionary documentation for information on how to write proper design token syntax.
To consume this theme into a Terra project, add the latest release as a dependency in your package.json
file as such:
npm i --save-dev terra-redwood-theme
Style Dictionary requires a few dependencies, so start by installing those:
npm ci && npm run build
This will yield the CSS variables needed in the build
directory.
If you wish to continuously build the variables as you work, run the following:
npm run watch
This repository contains an .nvmrc
file. While the project itself does not require a specific Node.js/NPM version, using this file keeps your development environment consistent with the current requirements of the Terra platform.
This theme file is currently maintained by the Oracle Design UX team charged with supporting Oracle Health. Pull requests are not currently accepted.
Copyright © 2023 Oracle and/or its affiliates. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.