0.0.1 • Published 3 years ago
@turboutils/turbo-ds v0.0.1
Turbo Design System
A simple design system based on PostCSS and CSS Variables.
Installation
Install turbo-ds
in your project.
npm install @turboutils/turbo-ds
Then import the following CSS files in your application:
import '@turboutils/turbo-ds/dist/turbo-ds.css';
import '@turboutils/turbo-ds/dist/theme-blue.css';
You can replace theme-blue.css
with your own custom theme. Simply change the
CSS variables to achieve the desired look and feel.
Finally, add the theme class to your <html>
tag as shown below:
<html class="theme-blue">
...
</html>
You can import multiple themes and switch between them dynamically by changing
the class on the html
tag.
0.0.1
3 years ago