parameters: (
          self,
          declarations_str: str,
          inherited: dict[str, str] | None = None,
      )
return_statement: return self._update_other_units(props)
docstring: The given declarations to atomic properties.
  
          Parameters
          ----------
          declarations_str : str
              A list of CSS declarations
          inherited : dict, optional
              Atomic properties indicating the inherited style context in which
              declarations_str is to be resolved. ``inherited`` should already
              be resolved, i.e. valid output of this method.
  
          Returns
          -------
          dict
              Atomic CSS 2.2 properties.
  
          Examples
          --------
          >>> resolve = CSSResolver()
          >>> inherited = {'font-family': 'serif', 'font-weight': 'bold'}
          >>> out = resolve('''
          ...               border-color: BLUE RED;
          ...               font-size: 1em;
          ...               font-size: 2em;
          ...               font-weight: normal;
          ...               font-weight: inherit;
          ...               ''', inherited)
          >>> sorted(out.items())  # doctest: +NORMALIZE_WHITESPACE
          [('border-bottom-color', 'blue'),
           ('border-left-color', 'red'),
           ('border-right-color', 'red'),
           ('border-top-color', 'blue'),
           ('font-family', 'serif'),
           ('font-size', '24pt'),
           ('font-weight', 'bold')]
docstring_summary: The given declarations to atomic properties.
docstring_tokens: The given declarations to atomic properties .
function: def __call__(
          self,
          declarations_str: str,
          inherited: dict[str, str] | None = None,
      ) -> dict[str, str]:
          """
          The given declarations to atomic properties.
  
          Parameters
          ----------
          declarations_str : str
              A list of CSS declarations
          inherited : dict, optional
              Atomic properties indicating the inherited style context in which
              declarations_str is to be resolved. ``inherited`` should already
              be resolved, i.e. valid output of this method.
  
          Returns
          -------
          dict
              Atomic CSS 2.2 properties.
  
          Examples
          --------
          >>> resolve = CSSResolver()
          >>> inherited = {'font-family': 'serif', 'font-weight': 'bold'}
          >>> out = resolve('''
          ...               border-color: BLUE RED;
          ...               font-size: 1em;
          ...               font-size: 2em;
          ...               font-weight: normal;
          ...               font-weight: inherit;
          ...               ''', inherited)
          >>> sorted(out.items())  # doctest: +NORMALIZE_WHITESPACE
          [('border-bottom-color', 'blue'),
           ('border-left-color', 'red'),
           ('border-right-color', 'red'),
           ('border-top-color', 'blue'),
           ('font-family', 'serif'),
           ('font-size', '24pt'),
           ('font-weight', 'bold')]
          """
          props = dict(self.atomize(self.parse(declarations_str)))
          if inherited is None:
              inherited = {}
  
          props = self._update_initial(props, inherited)
          props = self._update_font_size(props, inherited)
          return self._update_other_units(props)
function_tokens: def __call__ ( self , declarations_str : str , inherited : dict [ str , str ] | None = None , ) -> dict [ str , str ] : props = dict ( self . atomize ( self . parse ( declarations_str ) ) ) if inherited is None : inherited = { } props = self . _update_initial ( props , inherited ) props = self . _update_font_size ( props , inherited ) return self . _update_other_units ( props )