1
0
mirror of synced 2026-01-20 21:02:43 -05:00
Files
docs/includes/graphql-arguments.html
Kevin Heis 49377f9096 Upgrade Primer CSS to 16 (#18713)
* Upgrade primer to 16

* Upgrade colors in scss

* Get SCSS to build

* Initial dark mode support

* trashcan -> trash

* More specific search browser test

* Fix link color on homepage

* Update overrides.scss

* Upgrade some colors to primer variables

* Hide dark mode support for now

* Apply suggestions from code review

* Update overrides.scss
2021-04-13 16:00:46 +00:00

13 lines
551 B
HTML

{% if field.arguments %}
<div class="border rounded-1 mt-3 mb-3 p-3 color-bg-secondary f5">
<p><b>{% data ui.products.graphql.reference.arguments %}</b></p>
{% for arg in arguments %}
<div class="border-top mt-2">
<p class="mt-2"><code>{{ arg.name }}</code> (<code><a href="/{{ currentLanguage }}{{ arg.type.href }}">{{ arg.type.name }}</a></code>)</p>
<p>{{ arg.description }}</p>
{% if arg.defaultValue or arg.defaultValue == false %}<p>The default value is <code>{{ arg.defaultValue }}</code>.</p>{% endif %}
</div>
{% endfor %}
</div>
{% endif %}