@use "sass:map";
@use "./character-bold.config" as config;

////
/// Character Variant — Bold
/// Mixins
////

@mixin ss-character-bold($override: ()) {
    $settings: map.merge(config.$ss-character-bold-config, $override);

    // Weight, style and size only: the "normal" character reset also set
    // `color: inherit` and `text-decoration: none`, which stripped a link's
    // colour when `ss-t-bold` sat on the link itself.
    font-weight: map.get($settings, font-weight);
    font-style: map.get($settings, font-style);
    font-size: map.get($settings, font-size);
}
