Tokens
The Password component tokens.
@use 'node_modules/@sipster/core/tools' as *;
body {
--sds_password_background: var(
--sds_theme_control_background,
#{sds-color(white)}
);
--sds_password_border_color: var(
--sds_theme_control_border,
#{sds-color(neutral, 30)}
);
--sds_password_border_radius: var(--sds_theme_border_radius, 0.5rem);
--sds_password_border_style: solid;
--sds_password_border_width: 1px;
--sds_password_placeholder: var(
--sds_theme_control_placeholder,
#{sds-color(neutral, 60)}
);
--sds_password_text: var(--sds_theme_control_text, #{sds-color(black)});
--sds_password_hover_background: var(
--sds_theme_control_hover_background,
#{sds-color(white)}
);
--sds_password_hover_border_color: var(
--sds_theme_control_hover_border,
#{sds-color(neutral)}
);
--sds_password_hover_border_radius: var(--sds_password_border_radius);
--sds_password_hover_border_style: var(--sds_password_border_style);
--sds_password_hover_border_width: var(--sds_password_border_width);
--sds_password_hover_placeholder: var(
--sds_theme_control_hover_placeholder,
#{sds-color(neutral, 60)}
);
--sds_password_hover_text: var(
--sds_theme_control_hover_text,
#{sds-color(black)}
);
--sds_password_focus_background: var(
--sds_theme_control_focus_background,
#{sds-color(white)}
);
--sds_password_focus_border_color: var(
--sds_theme_focus_border,
#{sds-color(indigo, 60)}
);
--sds_password_focus_border_radius: var(--sds_password_hover_border_radius);
--sds_password_focus_border_style: var(--sds_password_hover_border_style);
--sds_password_focus_border_width: 2px;
--sds_password_focus_placeholder: var(
--sds_theme_control_focus_placeholder,
#{sds-color(neutral, 60)}
);
--sds_password_focus_text: var(
--sds_theme_control_focus_text,
#{sds-color(black)}
);
--sds_password_error_background: var(
--sds_theme_control_error_background,
#{sds-color(red, 05)}
);
--sds_password_error_border_color: var(
--sds_theme_control_error_border,
#{sds-color(red, 60)}
);
--sds_password_error_border_radius: var(--sds_password_border_radius);
--sds_password_error_border_style: var(--sds_password_border_style);
--sds_password_error_border_width: 2px;
--sds_password_error_icon: var(
--sds_theme_control_error_icon,
#{sds-color(red, 60)}
);
--sds_password_error_placeholder: var(
--sds_theme_control_error_placeholder,
#{sds-color(neutral, 60)}
);
--sds_password_error_text: var(
--sds_theme_control_error_text,
#{sds-color(red, 70)}
);
--sds_password_disabled_background: var(
--sds_theme_control_disabled_background,
#{sds-color(white)}
);
--sds_password_disabled_border_color: var(
--sds_theme_control_disabled_border,
#{sds-color(neutral, 30)}
);
--sds_password_disabled_border_radius: var(--sds_password_border_radius);
--sds_password_disabled_border_style: var(--sds_password_border_style);
--sds_password_disabled_border_width: var(--sds_password_border_width);
--sds_password_disabled_opacity: var(--sds_theme_disabled_opacity, 48%);
--sds_password_disabled_placeholder: var(
--sds_theme_control_disabled_placeholder,
#{sds-color(neutral, 60)}
);
--sds_password_disabled_text: var(
--sds_theme_control_disabled_text,
#{sds-color(black)}
);
}
Last updated