All Projects → accera-tech → solar-components

accera-tech / solar-components

Licence: MIT license
Web Components Implementation of Solar Design System

Programming Languages

typescript
32286 projects
SCSS
7915 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to solar-components

Atoms
Atoms for Blaze UI
Stars: ✭ 1,505 (+9306.25%)
Mutual labels:  webcomponents, stencil, stenciljs
gatsby-remark-highlight-code
Adds stylish cards and syntax highlighting to code blocks in markdown files
Stars: ✭ 63 (+293.75%)
Mutual labels:  webcomponents, stencil, stenciljs
Stencil
A toolchain for building scalable, enterprise-ready component systems on top of TypeScript and Web Component standards. Stencil components can be distributed natively to React, Angular, Vue, and traditional web developers from a single, framework-agnostic codebase.
Stars: ✭ 9,880 (+61650%)
Mutual labels:  webcomponents, stencil, stenciljs
anywhere-webcomponents
A UI work in progress based on custom elements (web components) for use in anywhere.
Stars: ✭ 17 (+6.25%)
Mutual labels:  webcomponents, stencil, stenciljs
Ionic Framework
A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript.
Stars: ✭ 45,802 (+286162.5%)
Mutual labels:  webcomponents, stencil, stenciljs
web-photo-filter
A Web Component to apply Instagram-like WebGL filters to photos
Stars: ✭ 105 (+556.25%)
Mutual labels:  webcomponents, stencil, stenciljs
Calcite Components
Web Components for the Calcite Design System. Built with Stencil JS. Currently in Beta!
Stars: ✭ 96 (+500%)
Mutual labels:  webcomponents, design-system
Ionicons
Premium hand-crafted icons built by Ionic, for Ionic apps and web apps everywhere 🌎
Stars: ✭ 15,802 (+98662.5%)
Mutual labels:  webcomponents, stenciljs
web-components
A set of high-quality standards based web components for enterprise web applications. Part of Vaadin 20+
Stars: ✭ 322 (+1912.5%)
Mutual labels:  webcomponents, design-system
block-photos
A photos app built with Ionic and Blockstack as backend.
Stars: ✭ 24 (+50%)
Mutual labels:  stencil, stenciljs
stencil-boilerplate
A Stencil app boilerplate including routing, Redux etc.
Stars: ✭ 51 (+218.75%)
Mutual labels:  stencil, stenciljs
capacitor-site
Capacitor website
Stars: ✭ 0 (-100%)
Mutual labels:  stencil, stenciljs
app-starter
Angular mono-repo (Ionic/Capacitor/StencilJS/Web Component) app starter for supporting cross platform apps.
Stars: ✭ 75 (+368.75%)
Mutual labels:  webcomponents, stenciljs
Deckdeckgo
The web open source editor for presentations
Stars: ✭ 1,117 (+6881.25%)
Mutual labels:  webcomponents, stencil
stenciljs-in-react
Stenciljs components in React: step by step guide
Stars: ✭ 22 (+37.5%)
Mutual labels:  webcomponents, stenciljs
mm-components
Music Markups components
Stars: ✭ 50 (+212.5%)
Mutual labels:  webcomponents, stenciljs
Nice Anim
An animate on scroll Web Component built with StencilJS
Stars: ✭ 23 (+43.75%)
Mutual labels:  webcomponents, stencil
Awesome Stenciljs
List of Awesome Web Components Built with StencilJS
Stars: ✭ 520 (+3150%)
Mutual labels:  webcomponents, stencil
Blazor.fast
A tiny wrapper around Fast and Fluent Web Components to integrate with Blazor and easily use the EditForm components
Stars: ✭ 23 (+43.75%)
Mutual labels:  webcomponents, design-system
design-system
The Baloise Design System consists of reusable components and a clearly defined visual style, that can be assembled together to build any number of applications.
Stars: ✭ 40 (+150%)
Mutual labels:  design-system, stenciljs

Solar Components

Built With Stencil version

This is an implementation of Accera's Design System in WebComponents.

Packages 📦

Project Package Doc
Core @accera/solar-components.core README.md
Angular @accera/solar-components.angular README.md
React @accera/solar-components.react README.md

Getting Started 🔌

With JS

Pure JS & HTML

Put a script tag similar to this in the head of your index.html:

<script src='https://unpkg.com/@accera/solar-components.core/dist/solar.js'></script>

With Bundlers and Transpilers

In your project, run npm install @accera/solar-components.core --save

import { applyPolyfills, defineCustomElements } from '@accera/solar-components.core/dist/loader';
applyPolyfills().then(() => {
  defineCustomElements(window);
});

With Angular

Coming Soon

With React

Coming Soon

Theming 💅

We use CSS variables to work with themes. You can customize colors declaring it in a :root block in your main CSS file:

:root {
  --color-primary-normal: #FF5E00;
  --color-primary-normal-rgb: 255, 94, 0;
  --color-primary-dark: #cc4b00;
  --color-primary-dark-rgb: 204, 75.2, 0;
  --color-primary-light: #ff7e33;
  --color-primary-light-rgb: 255, 126.2, 51;
  --color-secondary-normal: #0080FF;
  --color-secondary-normal-rgb: 0, 128, 255;
  --color-secondary-dark: #0066cc;
  --color-secondary-dark-rgb: 0, 102.4, 204;
  --color-secondary-light: #3399ff;
  --color-secondary-light-rgb: 51, 153.4, 255;
}

Check out the _default.theme.scss to discover all the theme variables that you can customize.

Note that you need to define the --color-<color-name>-<brightness>-rgb for each color that you customize.

Extending your Style 👌

Optionally, you can apply the global style of Solar in your application putting this code in the head of your index.html.

<link rel="stylesheet" href="/node_modules/@accera/solar-components.core/dist/solar.css">

Or import it in your CSS/SCSS using:

@import "node_modules/@accera/solar-components.core/dist/solar.css";

This will add some features like:

You can also use the variables defined in this lib in your SCSS:

@import "node_modules/@accera/solar-components.core/collection/scss/variables";

Contributing 👋

Thanks for your interest in contributing ! Read up on our guidelines for contributing to know how help us 😄.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].