Skip to content

Latest commit

 

History

History
64 lines (39 loc) · 1.44 KB

README.md

File metadata and controls

64 lines (39 loc) · 1.44 KB

Dialtone CSS

This is the library for Dialtone's CSS. Any classes or styles used within Dialtone should be stored here and documented on our site under apps/dialtone-documentation.

Installation

Install it via NPM

npm install @dialpad/dialtone-css@latest

Import dialtone

  • CSS/LESS:
@import "@dialpad/dialtone-css";
  • Javascript:
import '@dialpad/dialtone-css';

Add dialtone's theme class to the <body>

  • Light mode
<body class="dialtone-theme-light">...</body>
  • Dark mode
<body class="dialtone-theme-dark">...</body>

This will define the Dialtone CSS variables for your desired theme. It is required to do this for Dialtone to function.

Building Dialtone locally

To build Dialtone locally, visit our installation instructions.

Contributing

If you're interested in contributing to Dialtone, please read our contributing docs before submitting a pull request.

Requesting features / reporting bugs

Requesting a feature or reporting a bug? Please do so at the below links:

Please also feel free to contact us via the #dialtone Dialpad channel with any questions.