ejplatform/ej-server

View on GitHub
lib/scss/hicontrast.scss

Summary

Maintainability
Test Coverage
//------------------------------------------------------------------------------
// OVERRIDE COLORS TO HIGH CONTRAST
//------------------------------------------------------------------------------

$color-accent: #aa110a;
$color-brand: #000000;
$color-brand-light: #767676;
$color-brand-lighter: #d0d0d0;
$color-brand-alternate: $color-brand-light;

// Text and background
$color-black: black;
$color-white: white;

// Action colors
$color-action: $color-accent;
$color-primary: black;
$color-secondary: $color-accent;

@import 'config';
@import 'elements';
@import 'components';
@import 'legacy';
@import 'utilities';

//------------------------------------------------------------------------------
// AD-HOC FIXES
//------------------------------------------------------------------------------

// Default styles
img {
    filter: brightness(95%) contrast(120%);
}

a {
    font-weight: 600;
}

// Components
.conversation-card__button {
    a.button {
        @include color('white');
    }
}

.comment-form__count {
    color: $color-black;
}

.progress-bar__progress {
    div:first-child {
        background: $color-brand-light;
    }
}

.page-menu nav h1 {
    opacity: 0.75;
}