Skip to content

Commit 8338b5a

Browse files
authored
Merge pull request omroy07#228 from UDAYA2003/main
Made Dark/Light Themes visible on all cards
2 parents 05e3788 + 5ef503d commit 8338b5a

11 files changed

Lines changed: 19 additions & 8 deletions

File tree

Crop Recommendation/templates/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<meta charset="UTF-8" />
55
<title>Crop Recommendation</title>
66
<link rel="icon" type="image/png" href="/AgriTech/images/logo.png">
7+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css" />
78
<link
89
rel="stylesheet"
910
href="{{ url_for('static', filename='style.css') }}"

Crop Yield Prediction/crop_yield_app/templates/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap"
1313
rel="stylesheet"
1414
/>
15+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css" />
1516
<link rel="stylesheet" href="../../theme.css" />
1617
<style>
1718
* {

Crop_Planning/static/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ body {
6565
}
6666

6767
.navbar-title {
68-
color: white;
68+
color: var(--text-primary);
6969
font-size: 1.5rem;
7070
font-weight: 600;
7171
}

Crop_Planning/templates/cropplan.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<link rel="icon" type="image/png" href="/AgriTech/images/logo.png">
88
<link rel="stylesheet" href="../static/style.css">
99
<link rel="stylesheet" href="../../theme.css">
10+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css" />
1011
</head>
1112
<body>
1213
<div id="canvas-container">

Crop_Prices_Tracker/templates/crop_price_tracker.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<link rel="icon" type="image/png" href="/AgriTech/images/logo.png">
88
<link rel="stylesheet" href="../static/styles.css">
99
<link rel="stylesheet" href="../../theme.css">
10+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css" />
1011
</head>
1112

1213
<body>

Forum/forum.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<link rel="icon" type="image/png" href="/AgriTech/images/logo.png">
77
<link rel="stylesheet" href="farmer.css" />
88
<link rel="stylesheet" href="../theme.css" />
9+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css" />
910
<style>
1011
body {
1112
font-family: Arial, sans-serif;

disease.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ header {
3737
.header-content {
3838
display: flex;
3939
align-items: center;
40-
justify-content: center;
40+
justify-content: space-between;
4141
gap: 15px;
4242
margin-bottom: 20px;
4343
}
@@ -72,7 +72,7 @@ header > p {
7272
background: rgba(255, 255, 255, 0.2);
7373
color: white;
7474
text-decoration: none;
75-
padding: 12px 20px;
75+
padding: 6px 10px;
7676
border-radius: 25px;
7777
font-size: 14px;
7878
font-weight: 500;

disease.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,24 @@
77
<link rel="icon" type="image/png" href="/AgriTech/images/logo.png">
88
<link rel="stylesheet" href="disease.css">
99
<link rel="stylesheet" href="theme.css">
10+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css" />
1011
</head>
1112
<body>
1213
<div class="container">
1314
<header class="header">
1415
<div class="header-content">
16+
<a href="main.html" class="back-button"> ← Back to Main </a>
1517
<div>
1618
<h1>🌱 Plant Disease Detection</h1>
1719
<p>AI-Powered Plant Health Diagnosis System</p>
1820
</div>
1921
<div style="display: flex; gap: 1rem; align-items: center;">
20-
<button class="theme-toggle" aria-label="Toggle dark/light mode" style="background: rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.3); color: white;">
22+
<button class="theme-toggle" aria-label="Toggle dark/light mode">
2123
<i class="fas fa-sun sun-icon"></i>
2224
<i class="fas fa-moon moon-icon"></i>
2325
<span class="theme-text">Light</span>
2426
</button>
25-
<a href="main.html" class="back-button"> ← Back to Main </a>
27+
2628
</div>
2729
</div>
2830
</header>

farmer.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
rel="stylesheet" />
1313
<link rel="stylesheet" href="farmer.css">
1414
<link rel="stylesheet" href="theme.css">
15+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css" />
1516
</head>
1617
<body>
1718
<header>
@@ -22,7 +23,7 @@ <h1><i class="fas fa-seedling"></i> Farmer Connection</h1>
2223
Connecting farmers with buyers across India
2324
</p>
2425
<div style="display: flex; gap: 1rem; align-items: center;">
25-
<button class="theme-toggle" aria-label="Toggle dark/light mode" style="background: rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.3); color: white;">
26+
<button class="theme-toggle" aria-label="Toggle dark/light mode">
2627
<i class="fas fa-sun sun-icon"></i>
2728
<i class="fas fa-moon moon-icon"></i>
2829
<span class="theme-text">Light</span>

organic.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
77
<title>AgriTech – Organic Farming</title>
88
<link rel="stylesheet" href="organic.css" />
9+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css" />
10+
911
<link
1012
href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap"
1113
rel="stylesheet"
@@ -29,7 +31,7 @@
2931
<h1>Welcome to AgriTech</h1>
3032
</div>
3133
<div style="display: flex; gap: 1rem; align-items: center;">
32-
<button class="theme-toggle" aria-label="Toggle dark/light mode" style="background: rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.3); color: white;">
34+
<button class="theme-toggle" aria-label="Toggle dark/light mode">
3335
<i class="fas fa-sun sun-icon"></i>
3436
<i class="fas fa-moon moon-icon"></i>
3537
<span class="theme-text">Light</span>

0 commit comments

Comments
 (0)