ShareGate old styling stack using Tachyons atomic CSS library.
Includes:
- CSS normalize
- Customized version of Tachyons
npm i -D @orbit-ui/react-components @orbit-ui/tachyons
Import the styles in your root stylesheet:
@import "~@sharegate/orbit-ui/index.css";
@import "~@orbit-ui/tachyons";
Create the theme variables at the root of your React application:
// index.js
import { createThemeVars, ApricotTheme, ThemeProvider } from "@sharegate/orbit-ui";
import { render } from "react-dom";
import App from "./App";
createThemeVars([ApricotTheme]);
render(
<ThemeProvider theme={ApricotTheme} colorScheme="light">
<App />
</ThemeProvider>,
document.getElementById("root")
);
The following documentation is only for the maintainers of this repository.
Clone the repository:
git clone https://github.com/gsoft-inc/sg-orbit-tachyons.git
Then, install the dependencies for all the packages with Yarn or NPM:
yarn install
This project use np to automate the release flow of the package.
Before you release, make sure you have write access to @orbit-ui/tachyons NPM package and that you are logged in to NPM.
To release, open a terminal at the root of the project and execute the following commands:
yarn publish
Dont forget to publish the release.
Copyright © 2019, GSoft inc. This code is licensed under the Apache License, Version 2.0. You may obtain a copy of this license at https://github.com/gsoft-inc/gsoft-license/blob/master/LICENSE.