Skip to content

gl-text-subtle in app/assets/javascripts/work_items/components/create_work_item_modal.vue

Follow up from !170573 (comment 2223516701)

It is odd that we are passing class="gl-text-subtle" to a <gl-button>

Implementation Plan

It is unlikely this class is doing anything, if it is the case that it is being overridden in the button, we should remove gl-text-subtle, if it is actually changing the text color, we should consider using a different variant of button instead. here is a link to how buttons work at GitLab: https://design.gitlab.com/components/button/code

Please add screenshots of the component before and after so that it is easier to review and validate this change

This other issue is very similar, if you are able to complete this, you might also want to do this one too hhttps://gitlab.com/gitlab-org/gitlab/-/issues/505780

Edited by James Rushford