graycoreio/daffodil

View on GitHub
libs/design/scss/theming/_daff-theme.scss

Summary

Maintainability
Test Coverage
@use 'configure-palette';
@use 'configure-theme';
@use 'color-palettes' as palette;
@use '../core';

$primary: configure-palette.daff-configure-palette(palette.$daff-blue, 60);
$secondary: configure-palette.daff-configure-palette(palette.$daff-purple, 60);
$tertiary: configure-palette.daff-configure-palette(palette.$daff-turquoise, 60);

$theme: configure-theme.daff-configure-theme($primary, $secondary, $tertiary, 'light');

$primary-dark: configure-palette.daff-configure-palette(palette.$daff-blue, 50);
$secondary-dark: configure-palette.daff-configure-palette(palette.$daff-purple, 50);
$tertiary-dark: configure-palette.daff-configure-palette(palette.$daff-turquoise, 50);

$theme-dark: configure-theme.daff-configure-theme($primary-dark, $secondary-dark, $tertiary-dark, 'dark');

$black: core.daff-map-deep-get($theme, 'core.black');
$white: core.daff-map-deep-get($theme, 'core.white');