Merge pull request #32419 from overleaf/td-remove-material-outlined

Remove unused Material Symbols Pug mixins

GitOrigin-RevId: 03600174c45a73b4983eea1a3c8604747626f606
This commit is contained in:
Tim Down
2026-03-26 08:58:39 +00:00
committed by Copybot
parent ce6f0dd249
commit c94d649879
5 changed files with 19 additions and 27 deletions

View File

@@ -2,11 +2,3 @@ mixin material-symbol(icon, extraClass = null)
- extraClass = extraClass ? ' ' + extraClass : ''
span(aria-hidden='true' translate='no' class='material-symbols' + extraClass)&attributes(attributes)
| #{icon}
mixin material-symbol-outlined(icon, extraClass = null)
- extraClass = extraClass ? ' ' + extraClass : ''
+material-symbol(icon, 'material-symbols-outlined' + extraClass)&attributes(attributes)
mixin material-symbol-rounded(icon, extraClass = null)
- extraClass = extraClass ? ' ' + extraClass : ''
+material-symbol(icon, 'material-symbols-rounded' + extraClass)&attributes(attributes)

View File

@@ -2,5 +2,5 @@ include ./material_symbol
mixin previous-page-link(href, text)
a.previous-page-link(href=href)
+material-symbol-rounded('arrow_left_alt')
+material-symbol('arrow_left_alt')
| #{text}

View File

@@ -61,4 +61,4 @@ include ../../_mixins/material_symbol
data-bs-target='#contactUsModal'
)
span(style='margin-right: 4px') #{translate('contact_support')}
+material-symbol-rounded('arrow_right_alt', 'icon-md')
+material-symbol('arrow_right_alt', 'icon-md')

View File

@@ -12,7 +12,7 @@ mixin managingYourSubscription
)
| Can I change plans or cancel later?
span.custom-accordion-icon
+material-symbol-outlined('keyboard_arrow_down')
+material-symbol('keyboard_arrow_down')
.collapse(id='managingYourSubscriptionQ1')
.custom-accordion-body
span Yes, you can do this at any time by going to
@@ -30,7 +30,7 @@ mixin managingYourSubscription
)
| If I change or cancel my Overleaf plan, will I lose my projects?
span.custom-accordion-icon
+material-symbol-outlined('keyboard_arrow_down')
+material-symbol('keyboard_arrow_down')
.collapse(id='managingYourSubscriptionQ2')
.custom-accordion-body
| No. Changing or canceling your plan wont affect your projects, the only change will be to the features available to you. You can see which features are available only on paid plans in the comparison table.
@@ -44,7 +44,7 @@ mixin managingYourSubscription
)
| Can I pay by invoice or purchase order?
span.custom-accordion-icon
+material-symbol-outlined('keyboard_arrow_down')
+material-symbol('keyboard_arrow_down')
.collapse(id='managingYourSubscriptionQ3')
.custom-accordion-body
| This is possible when youre purchasing a group subscription for five or more people, or a site license. For individual subscriptions, we can only accept payment online via credit card, debit card, or PayPal.
@@ -58,7 +58,7 @@ mixin managingYourSubscription
)
| How do I view/update the credit card being charged for my subscription?
span.custom-accordion-icon
+material-symbol-outlined('keyboard_arrow_down')
+material-symbol('keyboard_arrow_down')
.collapse(id='managingYourSubscriptionQ4')
.custom-accordion-body
span You can view and update the card on file by going to Account >
@@ -86,7 +86,7 @@ mixin overleafIndividualPlans
)
| How does the free trial work?
span.custom-accordion-icon
+material-symbol-outlined('keyboard_arrow_down')
+material-symbol('keyboard_arrow_down')
.collapse(id='overleafIndividualPlansQ1')
.custom-accordion-body
span You get full access to your chosen plan during your 7-day free trial, and theres no obligation to continue beyond the trial. Your card will be charged at the end of your trial unless you cancel before then. To cancel, go to
@@ -115,7 +115,7 @@ mixin overleafIndividualPlans
)
| Whats a collaborator on an Overleaf individual subscription?
span.custom-accordion-icon
+material-symbol-outlined('keyboard_arrow_down')
+material-symbol('keyboard_arrow_down')
.collapse(id='overleafIndividualPlansQ2')
.custom-accordion-body
| A collaborator is someone you invite to work with you on a project. So, for example, on our Standard plan you can have up to 10 people collaborating with you on any given project.
@@ -130,7 +130,7 @@ mixin overleafIndividualPlans
)
| The individual Standard plan has 10 project collaborators, does it mean that 10 people will be upgraded?
span.custom-accordion-icon
+material-symbol-outlined('keyboard_arrow_down')
+material-symbol('keyboard_arrow_down')
.collapse(id='overleafIndividualPlansQ3')
.custom-accordion-body
span No. Only the subscribers account will be upgraded. An individual Standard subscription allows you to invite 10 people per project to edit the project with you. Your collaborators can access features such as the full document history and extended compile time, but
@@ -148,7 +148,7 @@ mixin overleafIndividualPlans
)
| Do collaborators also have access to the editing and collaboration features Ive paid for?
span.custom-accordion-icon
+material-symbol-outlined('keyboard_arrow_down')
+material-symbol('keyboard_arrow_down')
.collapse(id='overleafIndividualPlansQ4')
.custom-accordion-body
span If you have an Overleaf subscription, then your project collaborators will have access to features like real-time track changes and document history, but
@@ -166,7 +166,7 @@ mixin overleafIndividualPlans
)
| Can I purchase an individual plan on behalf of someone else?
span.custom-accordion-icon
+material-symbol-outlined('keyboard_arrow_down')
+material-symbol('keyboard_arrow_down')
.collapse(id='overleafIndividualPlansQ5')
.custom-accordion-body
| Individual subscriptions must be purchased by the account that will be the end user. If you want to purchase a plan for someone else, youll need to provide them with relevant payment details to enable them to make the purchase.
@@ -180,7 +180,7 @@ mixin overleafIndividualPlans
)
| Who is eligible for the Student plan?
span.custom-accordion-icon
+material-symbol-outlined('keyboard_arrow_down')
+material-symbol('keyboard_arrow_down')
.collapse(id='overleafIndividualPlansQ6')
.custom-accordion-body
| As the name suggests, the Student plan is only for students at educational institutions. This includes graduate students.
@@ -194,7 +194,7 @@ mixin overleafIndividualPlans
)
| Can I transfer an individual subscription to someone else?
span.custom-accordion-icon
+material-symbol-outlined('keyboard_arrow_down')
+material-symbol('keyboard_arrow_down')
.collapse(id='overleafIndividualPlansQ7')
.custom-accordion-body
| No. Individual plans cant be transferred.
@@ -211,7 +211,7 @@ mixin overleafGroupPlans
)
| Whats the difference between users and collaborators on an Overleaf group subscription?
span.custom-accordion-icon
+material-symbol-outlined('keyboard_arrow_down')
+material-symbol('keyboard_arrow_down')
.collapse(id='overleafGroupPlansQ1')
.custom-accordion-body
div On any of our group plans, the number of users refers to the number of people you can invite to join your group. All of these people will have access to the plans paid-for features across all their projects, such as real-time track changes and document history.
@@ -226,7 +226,7 @@ mixin overleafGroupPlans
)
| What is the benefit of purchasing an Overleaf Group plan?
span.custom-accordion-icon
+material-symbol-outlined('keyboard_arrow_down')
+material-symbol('keyboard_arrow_down')
.collapse(id='overleafGroupPlansQ2')
.custom-accordion-body
span Our Group subscriptions allow you to purchase access to our premium features for multiple people. Theyre easy to manage, help save on paperwork, and allow groups of 5 or more to purchase via purchase order (PO). We also offer discounts on purchases of Group subscriptions for more than 20 users; just get in touch with our
@@ -251,7 +251,7 @@ mixin overleafGroupPlans
)
| Who is eligible for the educational discount?
span.custom-accordion-icon
+material-symbol-outlined('keyboard_arrow_down')
+material-symbol('keyboard_arrow_down')
.collapse(id='overleafGroupPlansQ3')
.custom-accordion-body
| The educational discount for group subscriptions is for students or faculty who are using Overleaf primarily for teaching.
@@ -265,7 +265,7 @@ mixin overleafGroupPlans
)
| How do I add more licenses to my group subscription, and what will it cost?
span.custom-accordion-icon
+material-symbol-outlined('keyboard_arrow_down')
+material-symbol('keyboard_arrow_down')
.collapse(id='overleafGroupPlansQ4')
.custom-accordion-body
div
@@ -317,7 +317,7 @@ mixin overleafGroupPlans
)
| How do I upgrade my plan from Group Standard to Group Professional?
span.custom-accordion-icon
+material-symbol-outlined('keyboard_arrow_down')
+material-symbol('keyboard_arrow_down')
.collapse(id='overleafGroupPlansQ5')
.custom-accordion-body
span You can upgrade your plan from Group Standard to Group Professional on the

View File

@@ -186,7 +186,7 @@ const ModeSwitcherToggleButtonContent = forwardRef<
}}
aria-expanded={ariaExpanded}
>
<MaterialIcon className="material-symbols-outlined" type={iconType} />
<MaterialIcon type={iconType} />
<div className="review-mode-switcher-toggle-label" aria-label={label}>
{label}
</div>