Skip to content
On this page

Miscellaneous

Support colors

Besides general colors we have some helpers:

Error color
Sucess color
Warning collor
Info color
html
<div class="color-error"></div>
<div class="color-success"></div>
<div class="color-warning"></div>
<div class="color-info"></div>

Displays

We have some classes to help us with displays:

css
.hidden {
  display: none;
}
.block {
  display: block;
}
.flex {
  display: flex;
}

Sizes

css
.w-100 {
  width: 100%;
}
.h-100 {
  height: 100%;
}
.max-width-100 {
  max-width: 100px;
}
.max-width-200 {
  max-width: 200px;
}
.max-width-400 {
  max-width: 400px;
}

Miscellaneous

css
.cursor-pointer {
  cursor: pointer;
}
.separator {
  background-color: $greyscale-color-20;
  display: block;
  height: 1px;
  width: 100%;
}

Box shadows

html
<Card>
    <div class="row" style="justify-content: center;">
        <div class="col-3 box-shadow-0"></div>
        <div class="col-3 box-shadow-1"></div>
        <div class="col-3 box-shadow-2"></div>
        <div class="col-3 box-shadow-3"></div>
        <div class="col-3 box-shadow-4"></div>
        <div class="col-3 box-shadow-5"></div>
        <div class="col-3 box-shadow-6"></div>
        <div class="col-3 box-shadow-7"></div>
        <div class="col-3 box-shadow-8"></div>
    </div>
</Card>
css
.box-shadox-0: 0 0 0 0;
.box-shadow-1: 0 0.125rem 0.5rem rgba(#262626, 0.1);
.box-shadow-2: 0 0.125rem 0.5rem rgba(#262626, 0.2);
.box-shadow-3: 0 0.125rem 0.5rem rgba(#262626, 0.3);
.box-shadow-4: 0 0.125rem 0.5rem rgba(#262626, 0.4);
.box-shadow-5: 0 0.125rem 0.5rem rgba(#262626, 0.5);
.box-shadow-6: 0 0.25rem 0.75rem rgba(#262626, 0.6);
.box-shadow-7: 0 0.25rem 0.75rem rgba(#262626, 0.7);
.box-shadow-8: 0 0.375rem 1.0rem rgba(#262626, 0.75);

Typography

css
.fw-light {
  font-weight: 300;
}
.fw-regular {
  font-weight: 400;
}
.fw-semibold {
  font-weight: 600;
}
.fw-bold {
  font-weight: 700;
}

.text-right {
  text-align: right;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}

.line-height-small {
  line-height: 1;
}
.line-height-normal {
  line-height: 1.2;
}
.line-height-big {
  line-height: 1.5;
}