@use 'styles/helpers.scss' as *;

$scope: 'textarea';

$themes: (
  'light': (
    'border': rgba(color('light', 'base-black'), 0.3),
    'background': rgba(color('light', 'base-white'), 0.05),
    'focused-border': rgba(color('light', 'base-black'), 0.5),
    'error': color('light', 'base-text-error'),
    'disabled-background': rgba(color('light', 'base-black'), 0.05),
    'disabled-text': color('light', 'base-text-disabled'),
    'info-text': color('light', 'base-text-secondary'),
    'placeholder': color('light', 'base-text-secondary'),
  ),
  'dark': (),
);

@mixin textarea-theme-modifiers() {
  @include theme-modifiers($scope, $themes);
}

@function textarea-theme-color($name) {
  @return theme-color($scope, $name);
}
