Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Latest commit

 

History

History
82 lines (57 loc) · 1.56 KB

File metadata and controls

82 lines (57 loc) · 1.56 KB

ARCS Corporate Design

Corporate design elements for all ARCS projects and tools.

Installation

Use one of the following:

yarn add arcs-vr/arc-cd
npm install arcs-vr/arc-cd

Usage

// 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.html
  • template/ArcLogo.vue

More

Look at the arcs-vr/arc-aframe-vue-template for easier setup and at the arcs-vr/arc-aframe-vue-demo for example usage.