visua/src/tokens/themes/decisions/_border.scss

76 lines
2.9 KiB
SCSS
Raw Normal View History

2025-07-15 12:49:18 +02:00
@use '../../../base/colors/blue-france';
@use '../../../base/colors/error';
@use '../../../base/colors/focus';
@use '../../../base/colors/grey' as grey-variant;
@use '../../../base/colors/info';
@use '../../../base/colors/success';
@use '../../../base/colors/warning';
@use "sass:list";
$light-color-list: (
grey-variant.$grey-900,
grey-variant.$grey-625,
blue-france.$blue-france-main-525,
blue-france.$blue-france-sun-113,
grey-variant.$grey-50,
blue-france.$blue-france-925,
grey-variant.$grey-925,
grey-variant.$grey-200,
success.$success-425,
error.$error-425,
warning.$warning-425,
info.$info-425,
blue-france.$blue-france-850,
);
$dark-color-list: (
grey-variant.$grey-175,
grey-variant.$grey-425,
blue-france.$blue-france-main-525,
blue-france.$blue-france-625,
grey-variant.$grey-1000,
blue-france.$blue-france-125,
grey-variant.$grey-125,
grey-variant.$grey-850,
success.$success-625,
error.$error-625,
warning.$warning-625,
info.$info-625,
blue-france.$blue-france-200,
);
$border-light: (
"border-default-grey": list.nth($light-color-list, 1),
"border-contrast-grey": list.nth($light-color-list, 2),
"border-default-blue-france": list.nth($light-color-list, 3),
"border-action-high-blue-france": list.nth($light-color-list, 4),
"border-action-high-grey": list.nth($light-color-list, 5),
"border-active-blue-france": list.nth($light-color-list, 4),
"border-open-blue-france": list.nth($light-color-list, 6),
"border-disabled-grey": list.nth($light-color-list, 7),
"border-plain-blue-france": list.nth($light-color-list, 4),
"border-plain-grey": list.nth($light-color-list, 8),
"border-plain-success": list.nth($light-color-list, 9),
"border-plain-error": list.nth($light-color-list, 10),
"border-plain-warning": list.nth($light-color-list, 11),
"border-plain-info": list.nth($light-color-list, 12),
"border-action-low-blue-france": list.nth($light-color-list, 13),
);
$border-dark: (
"border-default-grey": list.nth($dark-color-list, 1),
"border-contrast-grey": list.nth($dark-color-list, 2),
"border-default-blue-france": list.nth($dark-color-list, 3),
"border-action-high-blue-france": list.nth($dark-color-list, 4),
"border-action-high-grey": list.nth($dark-color-list, 5),
"border-active-blue-france": list.nth($dark-color-list, 4),
"border-open-blue-france": list.nth($dark-color-list, 6),
"border-disabled-grey": list.nth($dark-color-list, 7),
"border-plain-blue-france": list.nth($dark-color-list, 4),
"border-plain-grey": list.nth($dark-color-list, 8),
"border-plain-success": list.nth($dark-color-list, 9),
"border-plain-error": list.nth($dark-color-list, 10),
"border-plain-warning": list.nth($dark-color-list, 11),
"border-plain-info": list.nth($dark-color-list, 12),
"border-action-low-blue-france": list.nth($dark-color-list, 13),
);