     /// The foreground color attribute.
     open var foregroundColor: Color? {
         get {
-            return dictionary[NSForegroundColorAttributeName] as? Color
-        }
-        set {
-            dictionary[NSForegroundColorAttributeName] = newValue
+            return dictionary[.foregroundColor] as? Color
+        }
+        set {
+            dictionary[.foregroundColor] = newValue
         }
     }
 

    /// The strikethrough style attribute.
    open var strikethroughStyle: NSUnderlineStyle {
        get {
            if let int = dictionary[NSStrikethroughStyleAttributeName] as? Int, let style = NSUnderlineStyle(rawValue: int) {
                return style
            } else {
                return .styleNone
            }
        }

        set {
            dictionary[NSStrikethroughStyleAttributeName] = NSNumber(value: newValue.rawValue)
        }
    }


    /// The stroke color attribute.
    open var strokeColor: Color? {
        get {
            return dictionary[.strokeColor] as? Color
        }
        set {
            dictionary[.strokeColor] = newValue
        }
    }

