////
///
/// 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: (
    background: var(--ss-color-code-bg, #1e1e1e),
    color: var(--ss-color-surface, #ffffff),
    radius: q(3),
    shadow: q(1) q(1) q(5) rgba(0, 0, 0, 0.4),
    font-size: q(14),
    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;
