Class: ContextDev::Models::WebExtractStyleguideResponse::Styleguide::Typography::Headings::H2

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/context_dev/models/web_extract_styleguide_response.rb

Overview

See Also:

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

This class inherits a constructor from ContextDev::Internal::Type::BaseModel

Instance Attribute Details

#font_fallbacksArray<String>

Full ordered font list from resolved computed font-family

Returns:

  • (Array<String>)


960
# File 'lib/context_dev/models/web_extract_styleguide_response.rb', line 960

required :font_fallbacks, ContextDev::Internal::Type::ArrayOf[String], api_name: :fontFallbacks

#font_familyString

Primary face (first family in the computed stack)

Returns:

  • (String)


966
# File 'lib/context_dev/models/web_extract_styleguide_response.rb', line 966

required :font_family, String, api_name: :fontFamily

#font_sizeString

Returns:

  • (String)


971
# File 'lib/context_dev/models/web_extract_styleguide_response.rb', line 971

required :font_size, String, api_name: :fontSize

#font_weightFloat

Returns:

  • (Float)


976
# File 'lib/context_dev/models/web_extract_styleguide_response.rb', line 976

required :font_weight, Float, api_name: :fontWeight

#letter_spacingString

Returns:

  • (String)


981
# File 'lib/context_dev/models/web_extract_styleguide_response.rb', line 981

required :letter_spacing, String, api_name: :letterSpacing

#line_heightString

Returns:

  • (String)


986
# File 'lib/context_dev/models/web_extract_styleguide_response.rb', line 986

required :line_height, String, api_name: :lineHeight