{# Inputs: allocation: AllocationView from portfolio.allocation.build_allocation() #} {% set rank_palette = [ '#0A84FF', '#FFD60A', '#30D158', '#FF375F', '#5E5CE6', '#64D2FF', '#5AC8FA', '#BF5AF2', 'rgba(181,181,255,0.65)', 'rgba(255,255,255,0.40)' ] %} {% set rest_color = 'rgba(255,255,255,0.14)' %} {% set cash_color = 'rgba(142,142,147,0.6)' %} {# neutral gray; matches Apple's systemGray #} {% if allocation.symbol_count == 0 %}