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

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>)


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

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

#font_familyString

Primary face (first family in the computed stack)

Returns:

  • (String)


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

required :font_family, String, api_name: :fontFamily

#font_sizeString

Returns:

  • (String)


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

required :font_size, String, api_name: :fontSize

#font_weightFloat

Returns:

  • (Float)


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

required :font_weight, Float, api_name: :fontWeight

#letter_spacingString

Returns:

  • (String)


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

required :letter_spacing, String, api_name: :letterSpacing

#line_heightString

Returns:

  • (String)


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

required :line_height, String, api_name: :lineHeight