Skip to content

Commit 666bed3

Browse files
authored
Merge branch 'master' into optapi
2 parents a40bafc + 09f09c5 commit 666bed3

File tree

11 files changed

+1467
-307
lines changed

11 files changed

+1467
-307
lines changed

package.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,24 @@
1111
"check": "biome check .",
1212
"fix": "biome lint --write"
1313
},
14-
"keywords": ["scrum", "google groups", "fossasia"],
14+
"keywords": [
15+
"scrum",
16+
"google groups",
17+
"fossasia"
18+
],
1519
"author": "hkedia321",
1620
"license": "ISC",
1721
"bugs": {
1822
"url": "https://github.com/fossasia/scrum_helper/issues"
1923
},
2024
"homepage": "https://github.com/fossasia/scrum_helper",
2125
"devDependencies": {
22-
"@biomejs/biome": "1.9.4"
26+
"@biomejs/biome": "1.9.4",
27+
"autoprefixer": "^10.4.21",
28+
"postcss": "^8.5.3",
29+
"tailwindcss": "^4.1.4"
30+
},
31+
"dependencies": {
32+
"@tailwindcss/cli": "^4.1.3"
2333
}
2434
}

src/icons/light-mode.png

731 Bytes
Loading

src/icons/night-mode.png

9.76 KB
Loading

src/index.css

Lines changed: 63 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1+
@import "tailwindcss";
2+
@tailwind base;
3+
@tailwind components;
4+
@tailwind utilities;
15
body {
26
margin: 0;
37
padding: 0;
48
background-color: rgba(251, 251, 251, 0.6);
59
}
6-
710
* {
811
box-sizing: border-box;
912
}
@@ -50,20 +53,71 @@ li {
5053
list-style-type: disc !important;
5154
margin-left: 1rem;
5255
}
53-
.selectedLabel {
54-
font-weight: 400;
55-
color: #333333;
56+
57+
body,input,div,h3,h4,p,label,hr, #scrumReport{
58+
transition: all 0.3s ease-in-out;
59+
}
60+
61+
.dark-mode {
62+
background: #1a1a1a !important;
63+
color: #ffffff !important;
64+
transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
65+
}
66+
.dark-mode .bg-white{
67+
background-color: #2d2d2d !important;
68+
border-color: #404040 !important;
69+
transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
70+
}
71+
72+
.dark-mode input[type="text"],
73+
.dark-mode input[type="date"],
74+
.dark-mode #scrumReport {
75+
background-color: #404040 !important;
76+
border-color: #505050 !important;
77+
color: #ffffff !important;
78+
transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
79+
}
80+
.dark-mode h3,
81+
.dark-mode h4,
82+
.dark-mode p,
83+
.dark-mode label {
84+
color: #ffffff !important;
85+
transition: color 0.3s ease-in-out;
86+
}
87+
88+
.dark-mode hr {
89+
border-color: #505050 !important;
90+
transition: border-color 0.3s ease-in-out;
91+
}
92+
#scrumReport {
93+
font-size: 13px !important;
94+
line-height: 1.5 !important;
5695
}
5796

58-
.unselectedLabel {
59-
font-weight: 300;
60-
color: #666666;
97+
#scrumReport b {
98+
font-size: 13px !important;
6199
}
62100

63-
.selectedLabel, .unselectedLabel {
64-
transition: color 0.3s ease-in-out, font-weight 0.3s ease-in-out;
101+
#scrumReport li {
102+
font-size: 13px !important;
103+
margin-bottom: 4px !important;
65104
}
66105

106+
.dark-mode #scrumReport {
107+
font-size: 13px !important;
108+
}
109+
110+
.dark-mode #scrumReport b {
111+
font-size: 13px !important;
112+
}
113+
114+
.dark-mode #scrumReport li {
115+
font-size: 13px !important;
116+
}
117+
118+
.dark-mode a {
119+
color: #00b7ff !important;
120+
}
67121
.refresh-btn {
68122
transition: all 0.3s ease;
69123
position: relative;
@@ -94,26 +148,3 @@ li {
94148
@keyframes spin {
95149
100% { transform: rotate(360deg); }
96150
}
97-
98-
#scrumReport {
99-
border: 1px solid #ccc;
100-
padding: 10px;
101-
min-height: 200px;
102-
max-height: 400px;
103-
overflow-y: auto;
104-
background-color: white;
105-
}
106-
107-
#scrumReport:focus {
108-
outline: none;
109-
border-color: #26a69a;
110-
}
111-
112-
#scrumReport a {
113-
color: #26a69a;
114-
text-decoration: none;
115-
}
116-
117-
#scrumReport a:hover {
118-
text-decoration: underline;
119-
}

src/manifest.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@
3131
"content_security_policy": {
3232
"extension_pages": "script-src 'self'; object-src 'self';"
3333
},
34+
"web_accessible_resources": [{
35+
"resources": [
36+
"/icons/night-mode.png",
37+
"icons/night-mode.png"
38+
],
39+
"matches": ["<all_urls>"]
40+
}],
3441
"permissions": [
3542
"tabs",
3643
"storage",

0 commit comments

Comments
 (0)