////
///
/// Character Abbreviation Configuration
/// ===========================================================================
///
/// Configuration for abbreviation character styles.
///
/// @group Typography.Character.Semantics.Abbreviation
/// @author Scape Press
/// @link https://scape.style
/// @since 0.1.0 initial release
/// @access public
///
////

@use "sass:map";
@use "../../../../01-core/external" as *;

$ss-character-abbreviation-config: (
    text-decoration: underline dotted,
    cursor: help,
) !default;

// Hover/focus tooltip that surfaces the `title` attribute (ported from the
// old `abbreviation_tooltip` mixin in dev `_semantic_abbreviation.scss`).
$ss-character-abbreviation-tooltip-config: (
    // Same inverse treatment as the tooltip module (31-modules/tooltip).
    background: var(--ss-color-foreground),
    color: var(--ss-color-background),
    radius: var(--ss-radius-md),
    shadow: var(--ss-a-shadow-md),
    z-index: var(--ss-z-tooltip),
    font-size: var(--ss-font-size-sm),
    padding: q(3) q(5),
    offset: q(32),
) !default;

// // ============================================================================
// // Configuration
// // ============================================================================

// $ss-character-abbr-config: (
//     text-decoration: underline dotted,
//     text-decoration-color: var(--ss-color-border),
//     text-underline-offset: 0.2em,
//     cursor: help,
//     font-style: normal
// ) !default;

// // ============================================================================
// // Abbreviation Variants
// // ============================================================================

// $ss-character-abbr-variants: (
//     subtle: (
//         text-decoration: none,
//         cursor: help
//     ),
//     dashed: (
//         text-decoration: underline dashed,
//         text-decoration-color: var(--ss-color-border),
//         cursor: help
//     ),
//     tooltip: (
//         text-decoration: underline dotted,
//         text-decoration-color: var(--ss-color-accent),
//         cursor: help
//     )
// ) !default;
