Corporate design elements for all ARCS projects and tools.
Use one of the following:
yarn add arcs-vr/arc-cd
npm install arcs-vr/arc-cd// import all
@import '~arc-cd';
// or separate files
@import '~arc-cd/src/variables';
@import '~arc-cd/src/typography';
@import '~arc-cd/src/fonts';
@import '~arc-cd/src/reset';The "variables" module provides the following SCSS variables:
$theme-dark;
$theme-light;
$theme-primary;
$theme-secondary;
$font-heading;
$font-heading-style;
$font-heading-weight;
$font-paragraph;
$font-paragraph-style;
$font-paragraph-weight;You can import the scss variables into JavaScript, as long as you use the webpack sass-loader:
import ThemeColors from 'arc-cd/src/_variables.scss'
console.info(ThemeColors.dark)
console.info(ThemeColors.light)
console.info(ThemeColors.primary)
console.info(ThemeColors.secondary)The "typography" module includes the following class:
.font-heading {
// […] heading styles
}
.font-paragraph {
// […] paragraph styles
}It also provides the logo in two version:
images/arc-logo-large.jpg (500px × 500px)images/arc-logo-small.jpg (128px × 128px)
For convenience also as html and vue templates:
template/arc-logo.htmltemplate/ArcLogo.vue
Look at the arcs-vr/arc-aframe-vue-template for easier setup and at the
arcs-vr/arc-aframe-vue-demo for example usage.