Check out the [_default.theme.scss](https://github.com/accera-tech/solar-components/blob/master/src/theme/_default.theme.scss) to discover all the theme variables that you can customize.
### Extending your Style
Also, you can apply the global style of Solar in your application putting this code in the `head` of your `index.html`.
This will add some features like:
- Typography Styles (`h1 h2 p...`)
- Webkit scrollbar styles
- Tooltip util
You can also use the variables defined in this lib in your SCSS:
Stencil is a compiler for building Web Components with ease.
Stencil combines the best concepts of the most popular frontend frameworks into a compile-time rather than run-time tool. Stencil takes TypeScript, JSX, a tiny virtual DOM layer, efficient one-way data binding, an asynchronous rendering pipeline (similar to React Fiber), and lazy-loading out of the box, and generates 100% standards-based Web Components that run in any browser supporting the Custom Elements v1 spec.
Stencil components are just Web Components, so they work in any major framework or with no framework at all.
Getting Started
To start developing new components in this lib, clone this repo to a new directory:
Then you can use an Solar element anywhere in your template, JSX, html etc
Note that your project needs to support NPM packages
With React
In your project, run npm install @accera/solar-components@beta --save
In the main script of your application, update the code to something like:
```jsx harmony
import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import registerServiceWorker from './registerServiceWorker';
// test-component is the name of our made up Web Component that we have
// published to npm:
import { defineCustomElements } from '@accera/solar-components/dist/loader';
Check out the [_default.theme.scss](https://github.com/accera-tech/solar-components/blob/master/src/theme/_default.theme.scss) to discover all the theme variables that you can customize.
### Extending your Style
Also, you can apply the global style of Solar in your application putting this code in the `head` of your `index.html`.
This will add some features like:
- Typography Styles (`h1 h2 p...`)
- Webkit scrollbar styles
- Tooltip util
You can also use the variables defined in this lib in your SCSS: