Skip to content

Commit 9cc4fd6

Browse files
authored
Upgrade to tailwindcss v4.0.13 (#4443)
``` npx @tailwindcss/upgrade ``` - Linked `./tailwind.config.js` to `./hypha/static_src/tailwind/main.css` - Migrated configuration file: `./tailwind.config.js` - Migrated templates for configuration file: `./tailwind.config.js` - Migrated stylesheet: `./hypha/static_src/tailwind/main.css` - Updated package: `tailwindcss` - Verifed the changes - it had modified some un-indented https://tailwindcss.com/docs/upgrade-guide fixes #4389
1 parent 1eceb82 commit 9cc4fd6

File tree

83 files changed

+1426
-1635
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+1426
-1635
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ indent_style = space
1010
insert_final_newline = true
1111
trim_trailing_whitespace = true
1212

13-
[*.{yml,yaml,js,json}]
13+
[*.{yml,yaml,js,json,css}]
1414
indent_size = 2
1515

1616
[*.md]

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ repos:
5959
- rustywind@latest
6060
entry: rustywind
6161
args: [--write]
62-
types_or: [html]
62+
types_or: [html, css]
6363

6464
- repo: https://github.com/biomejs/pre-commit
6565
rev: "v0.6.1"

biome.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,5 @@
108108
"trailingCommas": "es5"
109109
},
110110
"globals": ["define", "htmx", "jQuery", "Alpine"]
111-
},
112-
"css": {
113-
"formatter": {
114-
"indentWidth": 4
115-
}
116111
}
117112
}

docs/assets/extra.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
:root {
2-
--md-primary-fg-color: #1269a1;
2+
--md-primary-fg-color: #1269a1;
33
}
44

55
[dir="ltr"] .md-header__title {
6-
margin-left: 0.2rem;
6+
margin-left: 0.2rem;
77
}

hypha/apply/activity/templates/activity/partial_comment_message.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<div class="flex flex-wrap gap-2 pb-2 mt-4 max-w-xl min-w-40">
1414
{% for attachment in attachments %}
1515
<a href="{{attachment.get_absolute_url }}"
16-
class="inline-flex items-center py-2 px-3 font-medium rounded border transition-colors bg-slate-50 hover:bg-slate-200"
16+
class="inline-flex items-center py-2 px-3 font-medium rounded-sm border transition-colors bg-slate-50 hover:bg-slate-200"
1717
target="_blank"
1818
rel="noopener noreferrer"
1919
title="{{ attachment.filename }}"

hypha/apply/activity/templates/activity/ui/activity-comment-item.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</div>
1414
</div>
1515

16-
<div class="{% if activity.user == request.user %}border-cyan-300{% else %}border-gray-300{% endif %} flex-1 pb-2 bg-white border rounded target:ring-2 target:ring-cyan-500 scroll-m-2"
16+
<div class="{% if activity.user == request.user %}border-cyan-300{% else %}border-gray-300{% endif %} flex-1 pb-2 bg-white border rounded-sm target:ring-2 target:ring-cyan-500 scroll-m-2"
1717
id="communications--{{ activity.id }}">
1818
<header class="{% if activity.user == request.user %}bg-fuchsia-100{% else %}bg-slate-100{% endif %} flex flex-wrap items-center justify-between gap-2 px-3 py-2 rounded-t">
1919
<div>

hypha/apply/activity/templates/activity/ui/edit_comment_form.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
rows="10" name="message"
1919
>{{ activity.message }}</textarea>
2020

21-
<div id="wmd-preview-edit-comment-{{ activity.id }}" class="p-4 w-full max-w-none bg-gray-100 shadow-sm prose"></div>
21+
<div id="wmd-preview-edit-comment-{{ activity.id }}" class="p-4 w-full max-w-none bg-gray-100 shadow-xs prose"></div>
2222
</div>
2323

2424
<div class="flex gap-2">

hypha/apply/dashboard/templates/dashboard/applicant_dashboard.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,9 @@ <h4 class="font-bold heading heading--no-margin"><a class="link" href="{{ invoic
8282
{% display_invoice_table_status_for_user invoice.status request.user as invoice_status %}
8383
<div class="flex-1 w-full"></div>
8484
<div class="w-full max-w-fit text-end">
85-
<p class="{{ invoice_status|invoice_status_bg_color }} text-base py-2 px-3 {{ invoice_status|invoice_status_fg_color }}">{{ invoice_status }}</p>
85+
<p class="{{ invoice_status|invoice_status_bg_color }} text-sm font-semibold py-2 px-3 rounded-sm shadow-xs {{ invoice_status|invoice_status_fg_color }}">
86+
{{ invoice_status }}
87+
</p>
8688
</div>
8789
</div>
8890
</div>

hypha/apply/dashboard/templates/dashboard/community_dashboard.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ <h3 class="mb-0 text-xl">{% trans "Submit a new application" %}</h3>
2121

2222
<div class="wrapper wrapper--bottom-space">
2323
<h2 class="mb-2 text-xl">
24-
{% trans "Community review submissions" %} <span class="py-0.5 px-2.5 text-sm font-medium text-blue-800 bg-blue-100 rounded me-2">{{ my_community_review_count }}</span>
24+
{% trans "Community review submissions" %} <span class="py-0.5 px-2.5 text-sm font-medium text-blue-800 bg-blue-100 rounded-sm me-2">{{ my_community_review_count }}</span>
2525
</h2>
2626

2727
{% if my_community_review.data %}

hypha/apply/dashboard/templates/dashboard/includes/my-tasks.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{% if my_tasks.data %}
55
<h2 class="font-light text-center">{% trans "My tasks" %}</h2>
66

7-
<div class="border divide-y shadow-sm task--list">
7+
<div class="border divide-y shadow-xs task--list">
88
{% for task in my_tasks.data %}
99
{% include "todo/todolist_item.html" with button_type_class="button--transparent" %}
1010
{% endfor %}

0 commit comments

Comments
 (0)