Skip to content

Commit 61fcb2d

Browse files
Re-confifure Tailwind
1 parent 7d62631 commit 61fcb2d

File tree

30 files changed

+54
-87
lines changed

30 files changed

+54
-87
lines changed

public/assets/flowbite/tailwind.min.css

Lines changed: 22 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1198,6 +1198,14 @@ input:checked + .toggle-bg {
11981198
margin-bottom: 1.25rem;
11991199
}
12001200

1201+
.ml-0 {
1202+
margin-left: 0px;
1203+
}
1204+
1205+
.ml-0\.5 {
1206+
margin-left: 0.125rem;
1207+
}
1208+
12011209
.ml-1 {
12021210
margin-left: 0.25rem;
12031211
}
@@ -1463,10 +1471,6 @@ input:checked + .toggle-bg {
14631471
max-width: 100%;
14641472
}
14651473

1466-
.max-w-md {
1467-
max-width: 28rem;
1468-
}
1469-
14701474
.flex-1 {
14711475
flex: 1 1 0%;
14721476
}
@@ -1547,14 +1551,6 @@ input:checked + .toggle-bg {
15471551
resize: both;
15481552
}
15491553

1550-
.list-inside {
1551-
list-style-position: inside;
1552-
}
1553-
1554-
.list-disc {
1555-
list-style-type: disc;
1556-
}
1557-
15581554
.list-none {
15591555
list-style-type: none;
15601556
}
@@ -1672,12 +1668,6 @@ input:checked + .toggle-bg {
16721668
margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
16731669
}
16741670

1675-
.space-y-1 > :not([hidden]) ~ :not([hidden]) {
1676-
--tw-space-y-reverse: 0;
1677-
margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
1678-
margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
1679-
}
1680-
16811671
.space-y-2 > :not([hidden]) ~ :not([hidden]) {
16821672
--tw-space-y-reverse: 0;
16831673
margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
@@ -1861,6 +1851,11 @@ input:checked + .toggle-bg {
18611851
border-left-color: rgb(255 90 31 / var(--tw-border-opacity));
18621852
}
18631853

1854+
.border-l-yellow-300 {
1855+
--tw-border-opacity: 1;
1856+
border-left-color: rgb(250 202 21 / var(--tw-border-opacity));
1857+
}
1858+
18641859
.bg-blue-700 {
18651860
--tw-bg-opacity: 1;
18661861
background-color: rgb(26 86 219 / var(--tw-bg-opacity));
@@ -1917,6 +1912,10 @@ input:checked + .toggle-bg {
19171912
background-color: rgb(255 255 255 / 0.5);
19181913
}
19191914

1915+
.bg-yellow-300\/\[\.1\] {
1916+
background-color: rgb(250 202 21 / .1);
1917+
}
1918+
19201919
.bg-opacity-50 {
19211920
--tw-bg-opacity: 0.5;
19221921
}
@@ -1925,11 +1924,6 @@ input:checked + .toggle-bg {
19251924
fill: #FF5A1F;
19261925
}
19271926

1928-
.object-cover {
1929-
-o-object-fit: cover;
1930-
object-fit: cover;
1931-
}
1932-
19331927
.p-1 {
19341928
padding: 0.25rem;
19351929
}
@@ -2148,10 +2142,6 @@ input:checked + .toggle-bg {
21482142
line-height: 2.25rem;
21492143
}
21502144

2151-
.leading-normal {
2152-
line-height: 1.5;
2153-
}
2154-
21552145
.leading-relaxed {
21562146
line-height: 1.625;
21572147
}
@@ -2215,6 +2205,11 @@ input:checked + .toggle-bg {
22152205
color: rgb(224 36 36 / var(--tw-text-opacity));
22162206
}
22172207

2208+
.text-strava-orange {
2209+
--tw-text-opacity: 1;
2210+
color: rgb(242 103 34 / var(--tw-text-opacity));
2211+
}
2212+
22182213
.text-white {
22192214
--tw-text-opacity: 1;
22202215
color: rgb(255 255 255 / var(--tw-text-opacity));
@@ -2518,11 +2513,6 @@ input:checked + .toggle-bg {
25182513
background-color: rgb(31 41 55 / 0.5);
25192514
}
25202515

2521-
:is(.dark .dark\:bg-gray-900) {
2522-
--tw-bg-opacity: 1;
2523-
background-color: rgb(17 24 39 / var(--tw-bg-opacity));
2524-
}
2525-
25262516
:is(.dark .dark\:bg-opacity-80) {
25272517
--tw-bg-opacity: 0.8;
25282518
}
@@ -2532,11 +2522,6 @@ input:checked + .toggle-bg {
25322522
color: rgb(63 131 248 / var(--tw-text-opacity));
25332523
}
25342524

2535-
:is(.dark .dark\:text-gray-300) {
2536-
--tw-text-opacity: 1;
2537-
color: rgb(209 213 219 / var(--tw-text-opacity));
2538-
}
2539-
25402525
:is(.dark .dark\:text-gray-400) {
25412526
--tw-text-opacity: 1;
25422527
color: rgb(156 163 175 / var(--tw-text-opacity));
@@ -2672,10 +2657,6 @@ input:checked + .toggle-bg {
26722657
display: flex;
26732658
}
26742659

2675-
.lg\:w-1\/2 {
2676-
width: 50%;
2677-
}
2678-
26792660
.lg\:w-\[450px\] {
26802661
width: 450px;
26812662
}
@@ -2692,19 +2673,6 @@ input:checked + .toggle-bg {
26922673
.lg\:grid-cols-3 {
26932674
grid-template-columns: repeat(3, minmax(0, 1fr));
26942675
}
2695-
2696-
.lg\:flex-row {
2697-
flex-direction: row;
2698-
}
2699-
2700-
.lg\:rounded-none {
2701-
border-radius: 0px;
2702-
}
2703-
2704-
.lg\:rounded-s-lg {
2705-
border-start-start-radius: 0.5rem;
2706-
border-end-start-radius: 0.5rem;
2707-
}
27082676
}
27092677

27102678
@media (min-width: 1280px) {

tailwind.config.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
/** @type {import('tailwindcss').Config} */
2-
32
module.exports = {
4-
darkMode: 'class',
53
content: [
6-
"./build/html/*.html",
7-
"./build/html/fetch-json/activity-data-table.json",
8-
"./build/html/fetch-json/segment-data-table.json",
9-
"./build/html/**/activity-8837881433.html",
10-
"./build/html/month/*.html",
4+
"./templates/**/*.html.twig",
115
"./public/app.php",
126
"./node_modules/flowbite/**/*.js"
137
],

templates/html/month.html.twig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,11 @@
9797
</div>
9898
</div>
9999
<div class="grid grid-cols-7 gap-px leading-6 text-xs w-full bg-gray-200 border">
100+
{#
101+
class="bg-emerald-600/[.1] border-l-emerald-600"
102+
class="bg-orange-500/[.1] border-l-orange-500"
103+
class="bg-yellow-300/[.1] border-l-yellow-300"
104+
#}
100105
{% for day in calendar.getDays() %}
101106
<div class="py-2 px-3 {{ day.isCurrentMonth ? 'bg-white' : 'bg-gray-100' }}">
102107
<div class="text-right text-gray-400">

tests/Domain/Strava/BuildHtmlVersion/__snapshots__/BuildHtmlVersionCommandHandlerTest--testHandle--buildhtmlmonthmonth-2022-07.html.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ <h3 class="flex items-center text-lg font-semibold text-gray-900">
7676
</div>
7777
</div>
7878
<div class="grid grid-cols-7 gap-px leading-6 text-xs w-full bg-gray-200 border">
79-
<div class="py-2 px-3 bg-gray-100">
79+
<div class="py-2 px-3 bg-gray-100">
8080
<div class="text-right text-gray-400">
8181
27
8282
</div>

tests/Domain/Strava/BuildHtmlVersion/__snapshots__/BuildHtmlVersionCommandHandlerTest--testHandle--buildhtmlmonthmonth-2022-08.html.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ <h3 class="flex items-center text-lg font-semibold text-gray-900">
7979
</div>
8080
</div>
8181
<div class="grid grid-cols-7 gap-px leading-6 text-xs w-full bg-gray-200 border">
82-
<div class="py-2 px-3 bg-white">
82+
<div class="py-2 px-3 bg-white">
8383
<div class="text-right text-gray-400">
8484
1
8585
</div>

tests/Domain/Strava/BuildHtmlVersion/__snapshots__/BuildHtmlVersionCommandHandlerTest--testHandle--buildhtmlmonthmonth-2022-09.html.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ <h3 class="flex items-center text-lg font-semibold text-gray-900">
7979
</div>
8080
</div>
8181
<div class="grid grid-cols-7 gap-px leading-6 text-xs w-full bg-gray-200 border">
82-
<div class="py-2 px-3 bg-gray-100">
82+
<div class="py-2 px-3 bg-gray-100">
8383
<div class="text-right text-gray-400">
8484
29
8585
</div>

tests/Domain/Strava/BuildHtmlVersion/__snapshots__/BuildHtmlVersionCommandHandlerTest--testHandle--buildhtmlmonthmonth-2022-10.html.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ <h3 class="flex items-center text-lg font-semibold text-gray-900">
7979
</div>
8080
</div>
8181
<div class="grid grid-cols-7 gap-px leading-6 text-xs w-full bg-gray-200 border">
82-
<div class="py-2 px-3 bg-gray-100">
82+
<div class="py-2 px-3 bg-gray-100">
8383
<div class="text-right text-gray-400">
8484
26
8585
</div>

tests/Domain/Strava/BuildHtmlVersion/__snapshots__/BuildHtmlVersionCommandHandlerTest--testHandle--buildhtmlmonthmonth-2022-11.html.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ <h3 class="flex items-center text-lg font-semibold text-gray-900">
7979
</div>
8080
</div>
8181
<div class="grid grid-cols-7 gap-px leading-6 text-xs w-full bg-gray-200 border">
82-
<div class="py-2 px-3 bg-gray-100">
82+
<div class="py-2 px-3 bg-gray-100">
8383
<div class="text-right text-gray-400">
8484
31
8585
</div>

tests/Domain/Strava/BuildHtmlVersion/__snapshots__/BuildHtmlVersionCommandHandlerTest--testHandle--buildhtmlmonthmonth-2022-12.html.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ <h3 class="flex items-center text-lg font-semibold text-gray-900">
7979
</div>
8080
</div>
8181
<div class="grid grid-cols-7 gap-px leading-6 text-xs w-full bg-gray-200 border">
82-
<div class="py-2 px-3 bg-gray-100">
82+
<div class="py-2 px-3 bg-gray-100">
8383
<div class="text-right text-gray-400">
8484
28
8585
</div>

tests/Domain/Strava/BuildHtmlVersion/__snapshots__/BuildHtmlVersionCommandHandlerTest--testHandle--buildhtmlmonthmonth-2023-01.html.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ <h3 class="flex items-center text-lg font-semibold text-gray-900">
8181
</div>
8282
</div>
8383
<div class="grid grid-cols-7 gap-px leading-6 text-xs w-full bg-gray-200 border">
84-
<div class="py-2 px-3 bg-gray-100">
84+
<div class="py-2 px-3 bg-gray-100">
8585
<div class="text-right text-gray-400">
8686
26
8787
</div>

0 commit comments

Comments
 (0)