Command TV Pattern Library

Home Dashboard

Welcome to Our Pattern Library,

Explore our design guidelines and components for building a beautiful web application

Get Started

Typography

This is Barlow, our brand typeface.

Barlow is a clean, modern, and readable sans-serif typeface. Easily customized with multiple weights and sizes, as shown below, for flexible use.

Weights

We have four different font weights. 'Light', 'Regular', 'Semi-Bold', and 'Bold'. This styling can be added by using the class selectors below.

                              .weight300 {
                                  font-weight: 300;
                                }
                                
                                .weight400 {
                                  font-weight: 400;
                                }
                              
                              .weight500 {
                                  font-weight: 500;
                                 }
                                    
                              .weight700 {
                                  font-weight: 700;
                                 }
                                

Sizing

This is xs light text. This is xs regular text. This is xs semi-bold text. This is xs bold text.

This is s light text. This is sm regular text. This is sm semi-bold text. This is sm bold text.

This is md light text. This is md regular text. This is md semi-bold text. This is md bold text.

This is lg light text. This is lg regular text. This is lg semi-bold text. This is lg bold text.

This is xl light text. This is xl regular text. This is xl semi-bold text. This is xl bold text.

This is xxl light text. This is xxl regular text. This is xxl semi-bold text. This is xxl bold text.

Color

Blue Gem

--colorPrimaryPurple

#3B118D

Jazzberry Jam

--colorSecondaryMagenta

#B21666

Royal Fuchsia

--colorAccentPink

#C33C96

Deluge

--colorPurpleTint

#7658AF

Bashful Pink

--colorMagentaTint

#C95C94

Sky Magenta

--colorPinkTint

#D577B6

Violent Violet

--colorPurpleShade

#290C63

Rose Bud Cherry

--colorMagentaShade

#7D0F47

Boysenberry

--colorPinkShade

#892A69

Functional Colors

Black

--colorBlack

#050505

Dark Gray

--colorDarkGrey

#222222

Medium Gray

--colorGrey

#7F7F7F

Soft Gray

--colorLightGrey

#EEEEEE

Alabaster

--colorWhiteText

#FAFAFA

Alabaster

--colorWhiteText

#FAFAFA

Page Layout

Notes

Page layouts structure and organize content, ensuring a legible and user-friendly navigation throughout the website.

Code

Example

1/1
1/2
1/2
1/3
1/3
1/3
Aside
Main

Data Visualization

Notes

Data visualization simplifies complex information, transforming it into easily comprehensible and visually appealing charts and graphs that enable users to quickly gain insights and make informed decisions.

Examples

Line Chart

Combo Chart

Area Chart

Stacked Area Chart

Column Chart

Stacked Column Chart

Doughnut Chart

Animations

Notes

Animations on a website capture the userrs attention, making the content more visually compelling and helping to convey information and navigate the site.

Code

Example

Container Hover

Container Hover

Button Hover

Button Hover

Button Hover

Nav Element Not Selected

Buttons

Notes

Buttons are used to allow the user to submit data, clear alerts, and follow to different pages. Below are some examples of different button stylings.

Button Library

CTA Button

Ghost Button

Toggle Button

Dropdown Button

html code for the following button elements

Card

Notes

Cards can be used for displaying data in a clean and organized way. Below are some examples of different card layouts.

html code for the card elements below

This is a card with no image

This is a card with a top image

This is a card with a left-aligned image

This is a card with a right-aligned image

Toggle

Notes

Simple toggle switches for enabling and disabling options.

Code


        label class="switch">
        input type="checkbox">
        span class="slider">/span>
        /label>
        
        label class="switch">
        input type="checkbox">
        span class="slider round">/span>
        /label>
        
        

Example

Icons

Notes

Icons play an important role for the user to navigate around the website, and is therefore important that they are recognizable, simple, and visually appealing.

Code

img
 class
= "iconSample iconSize"
 src
= "images/home.png" >

img
 class
= "iconSample iconSize"
 src
= "images/profile.png" >

img
 class
= "iconSample iconSize"
 src
= "images/menu.png" >

img
 class
= "iconSample iconSize"
 src
= "images/search.png" >

img
 class
= "iconSample iconSize"
 src
= "images/settings.png" >

img
 class
= "iconSample iconSize"
 src
= "images/microphone.png" >

img
 class
= "iconSample iconSize"
 src
= "images/credit_card.png" >

span
 class
= "iconSample iconSize material-symbols-outlined" >
    developer_buide
/ span >

span
 class
= "iconSample iconSize material-symbols-outlined" >
    apps
/ span >

span
 class
= "iconSample iconSize material-symbols-outlined" >
    brush
/ span >

Example

Home

Profile

Menu

Search

Settings

Microphone

Credit Card

developer_guide

Guidelines

apps

Components

brush

Style Utilities

Flexbox

Introduction

Flexbox is a CSS web layout that allows for easier placement of objects in columns and rows

Justify Content

.j-start
CommandTV
.j-center
CommandTV
.j-end
CommandTV

Flex Align Items

.align-start
CommandTV
.align-start
CommandTV
.align-start
CommandTV

Text Align

Text alignment allows for the adjustment of inline content in block elements or table-cells on the x or y axis

An link image with a default alignment.
An link image with a text-top alignment.
An link image with a middle alignment.
An link image with a text-bottom alignment.
.vertText-top CommandTV
.vertText-middle CommandTV
.vertText-bottom CommandTV

Text Align: x-axis

.text-left
.text-center
.text-right

Spacing - Margin & Padding

Classes for margin and padding help keep spacing consistent.

Margin - All Sides

m0
m0
m1
m1
m2
m2
m3
m3
m4
m4
m5
m5

Margin - Bottom

m0
m0
m1
m1
m2
m2
m3
m3
m4
m4
m5
m5

Margin - Top

m0
m0
m1
m1
m2
m2
m3
m3
m4
m4
m5
m5

Margin - Left

CommandTV
ml0
CommandTV ml1
CommandTV ml2
CommandTV ml3
CommandTV ml4
CommandTV ml5

Margin - Right

mr0 CommandTV
mr1 CommandTV
mr2 CommandTV
mr3 CommandTV
mr4 CommandTV
mr5 CommandTV

Padding

p0
p1
p2
p3
p4
p5