Skip to content

Commit 1d20243

Browse files
committed
update
1 parent d1d60f1 commit 1d20243

5 files changed

Lines changed: 1355 additions & 24 deletions

File tree

Lines changed: 282 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,290 @@
11
# 🕉️ Hindu Calendar Widget
22

33
![Scriptable](https://img.shields.io/badge/Scriptable-Compatible-purple)
4-
![Widget Size](https://img.shields.io/badge/Supports-Medium-blue)
5-
![Type](https://img.shields.io/badge/Type-Cultural%20Calendar-orange)
4+
![Widget Size](https://img.shields.io/badge/Supports-Small%2C%20Medium%2C%20Large-blue)
5+
![Theme](https://img.shields.io/badge/Theme-Hindu%20Color%20Calendar-orange)
6+
![Color Logic](https://img.shields.io/badge/Based%20on-Day%20of%20Week-yellow)
67

7-
Stay connected with Hindu festivals, tithis, and auspicious dates. This widget displays the current Hindu calendar date with important festivals and religious observances.
8+
Stay connected with Hindu traditions through daily color recommendations. This widget suggests what color to wear each day based on ancient Hindu tradition, helping you feel aligned, energized, and spiritually centered.
89

910
![Hindu Calendar Widget Preview](https://raw.githubusercontent.com/rushhiii/Scriptable-IOSWidgets/main/.src/hinduclrwear/hinduclrwear_showcase.png)
1011

11-
*Documentation coming soon...*
12+
## ✨ Features
1213

13-
[View Source Code →](https://github.com/rushhiii/Scriptable-IOSWidgets/blob/main/HinduClrWear%20Widget/WearClrAccHindu.js)
14+
- 🗓️ **Day-Aware Detection**: Automatically recognizes today's day of the week
15+
- 🎨 **Color Recommendations**: Shows traditional Hindu color for each day
16+
- 🧘‍♂️ **Spiritual Guidance**: Explains symbolic meaning behind each color
17+
- 📱 **Dynamic Layouts**: Optimized for all widget sizes
18+
- 🌈 **Auto-Adjusting Gradients**: Background colors match daily recommendations
19+
- 🕉️ **Mindfulness Focus**: Designed for intention, clarity, and spiritual alignment
20+
- 📶 **Offline Functionality**: Works without internet connection
21+
22+
## 🎨 Daily Color Traditions
23+
24+
Each day of the week has its own sacred color, deity, and spiritual intention:
25+
26+
| Day | Color | Deity/Planet | Spiritual Significance |
27+
|-----|--------|--------------|----------------------|
28+
| **Sunday** | Red | Surya (Sun) | Vitality, Leadership, Energy |
29+
| **Monday** | White | Shiva (Moon) | Purity, Peace, Calmness |
30+
| **Tuesday** | Orange-Red | Hanuman (Mars) | Courage, Strength, Determination |
31+
| **Wednesday** | Green | Budh (Mercury) | Growth, Wisdom, Communication |
32+
| **Thursday** | Yellow | Guru (Jupiter) | Knowledge, Learning, Positivity |
33+
| **Friday** | Light Blue | Durga/Shukra (Venus) | Devotion, Love, Beauty |
34+
| **Saturday** | Black | Shani (Saturn) | Protection, Discipline, Focus |
35+
36+
## 🚀 Quick Setup
37+
38+
### 1. Install Scriptable
39+
40+
Download [Scriptable](https://apps.apple.com/app/scriptable/id1405459188) from the App Store (free).
41+
42+
### 2. Add the Widget Script
43+
44+
1. Open Scriptable and create a new script
45+
2. Name it "Hindu Color Widget"
46+
3. Copy the code from [`WearClrAccHindu.js`](https://github.com/rushhiii/Scriptable-IOSWidgets/blob/main/HinduClrWear%20Widget/WearClrAccHindu.js)
47+
4. Paste and save the script
48+
49+
### 3. Add to Home Screen
50+
51+
1. Long-press your home screen → tap **"+"**
52+
2. Search for **"Scriptable"**
53+
3. Choose your preferred widget size
54+
4. Edit the widget and select **"Hindu Color Widget"**
55+
5. Leave parameters blank (auto-detects today)
56+
57+
## 📸 Screenshots
58+
59+
### Large Widget
60+
Displays today's color with full spiritual reasoning and guidance.
61+
62+
| Large Widget - Detailed View |
63+
|:--:|
64+
| ![Hindu Large](https://raw.githubusercontent.com/rushhiii/Scriptable-IOSWidgets/main/.src/hinduclrwear/hinduclrwear_l.png) |
65+
66+
### Medium Widget
67+
Shows weekly color grid with today highlighted.
68+
69+
| Medium Widget - Weekly Overview |
70+
|:--:|
71+
| ![Hindu Medium](https://raw.githubusercontent.com/rushhiii/Scriptable-IOSWidgets/main/.src/hinduclrwear/hinduclrwear_m.png) |
72+
73+
### Small Widget
74+
Compact display of today's color and day.
75+
76+
| Small Widget - Daily Focus |
77+
|:--:|
78+
| ![Hindu Small](https://raw.githubusercontent.com/rushhiii/Scriptable-IOSWidgets/main/.src/hinduclrwear/hinduclrwear_s.png) |
79+
80+
## 📱 Widget Size Features
81+
82+
### Small Widget (2x2)
83+
- **Today's Color**: Clear color name display
84+
- **Day of Week**: Current day indication
85+
- **Centered Layout**: Clean, focused design
86+
- **Color Background**: Gradient matching today's color
87+
88+
### Medium Widget (4x2)
89+
- **Weekly Grid**: All seven days and colors
90+
- **Today Highlighted**: Current day emphasized
91+
- **Color Swatches**: Visual color representation
92+
- **Complete Overview**: Full week at a glance
93+
94+
### Large Widget (4x4)
95+
- **Detailed Guidance**: Full spiritual explanation
96+
- **Color Meaning**: Deep dive into symbolism
97+
- **Deity Information**: Associated god/goddess details
98+
- **Spiritual Intent**: Purpose and benefits of wearing the color
99+
100+
## 🧘‍♂️ Spiritual Significance
101+
102+
### Understanding the Colors
103+
104+
**Red (Sunday - Surya)**
105+
- Represents vitality, leadership, and solar energy
106+
- Enhances confidence and personal power
107+
- Best for important meetings and bold decisions
108+
109+
**White (Monday - Shiva)**
110+
- Symbolizes purity, peace, and divine consciousness
111+
- Promotes calmness and spiritual clarity
112+
- Ideal for meditation and introspection
113+
114+
**Orange-Red (Tuesday - Hanuman)**
115+
- Embodies courage, strength, and protection
116+
- Boosts determination and physical energy
117+
- Perfect for challenging tasks and workouts
118+
119+
**Green (Wednesday - Budh)**
120+
- Signifies growth, wisdom, and communication
121+
- Enhances learning and intellectual pursuits
122+
- Great for studying and creative work
123+
124+
**Yellow (Thursday - Guru)**
125+
- Represents knowledge, positivity, and prosperity
126+
- Attracts wisdom and good fortune
127+
- Excellent for business and educational activities
128+
129+
**Light Blue (Friday - Durga/Shukra)**
130+
- Symbolizes devotion, love, and artistic expression
131+
- Promotes harmony in relationships
132+
- Ideal for social gatherings and creative endeavors
133+
134+
**Black (Saturday - Shani)**
135+
- Represents discipline, protection, and transformation
136+
- Provides grounding and focus
137+
- Perfect for serious work and personal development
138+
139+
## ⚙️ Customization Options
140+
141+
### Modify Color Associations
142+
143+
You can customize the color traditions in the script:
144+
145+
```javascript
146+
const colorData = [
147+
{
148+
day: "Sunday",
149+
colorName: "Red",
150+
color: "#FF4444",
151+
reason: "Custom meaning for your tradition..."
152+
},
153+
// Add or modify colors as needed
154+
];
155+
```
156+
157+
### Adjust Visual Style
158+
159+
```javascript
160+
// Background gradient customization
161+
const gradientColors = {
162+
red: ["#FF6B6B", "#FF4444"],
163+
white: ["#FFFFFF", "#F0F0F0"],
164+
// Customize gradients for each color
165+
};
166+
```
167+
168+
### Regional Variations
169+
170+
The widget can be adapted for different regional Hindu traditions:
171+
- **North Indian**: Traditional planetary color associations
172+
- **South Indian**: Regional festival color preferences
173+
- **Gujarati**: Community-specific color customs
174+
- **Bengali**: Cultural color significance
175+
176+
## 💡 Daily Practice Ideas
177+
178+
### Morning Ritual
179+
- Check the widget when you wake up
180+
- Choose clothing in the recommended color
181+
- Set intention based on the spiritual meaning
182+
- Meditate on the associated deity
183+
184+
### Mindful Dressing
185+
- **Full Color**: Wear complete outfit in recommended color
186+
- **Accent Color**: Add accessories in the daily color
187+
- **Color Touch**: Include small elements (jewelry, scarf)
188+
- **Mental Focus**: Simply keep the color in mind
189+
190+
### Spiritual Integration
191+
- **Prayer Focus**: Direct prayers to the day's deity
192+
- **Mantra Practice**: Chant mantras related to the planet
193+
- **Meditation Theme**: Focus on the color's spiritual qualities
194+
- **Daily Intention**: Set goals aligned with the color's energy
195+
196+
## 🔧 Advanced Features
197+
198+
### Widget Behavior
199+
200+
**Automatic Updates**: Widget refreshes daily at midnight
201+
**Offline Operation**: No internet required after installation
202+
**Background Gradients**: Colors automatically adjust to daily recommendation
203+
**Text Contrast**: Ensures readability on all color backgrounds
204+
205+
### Development Customization
206+
207+
```javascript
208+
// Add festival-specific colors
209+
const festivalColors = {
210+
"Diwali": { color: "#FFD700", reason: "Golden prosperity..." },
211+
"Holi": { color: "#FF69B4", reason: "Celebration of colors..." },
212+
"Navratri": { color: "#FF4444", reason: "Divine feminine energy..." }
213+
};
214+
```
215+
216+
### Time-Based Features
217+
218+
The widget can be enhanced to include:
219+
- **Tithi Integration**: Lunar calendar dates
220+
- **Festival Notifications**: Special occasion colors
221+
- **Auspicious Timing**: Muhurat-based recommendations
222+
- **Seasonal Adjustments**: Colors based on Hindu seasons
223+
224+
## 🌸 Cultural Context
225+
226+
### Historical Background
227+
228+
Hindu color traditions stem from:
229+
- **Vedic Astronomy**: Planetary influences on daily life
230+
- **Ayurvedic Medicine**: Color therapy for health
231+
- **Temple Practices**: Deity-specific color offerings
232+
- **Cultural Festivals**: Seasonal color celebrations
233+
234+
### Modern Application
235+
236+
This widget bridges ancient wisdom with modern life:
237+
- **Digital Accessibility**: Traditional knowledge on your phone
238+
- **Daily Reminders**: Consistent spiritual practice
239+
- **Cultural Connection**: Stay linked to your heritage
240+
- **Mindful Living**: Intentional color choices
241+
242+
## 🚨 Troubleshooting
243+
244+
### Common Issues
245+
246+
**Widget showing wrong day:**
247+
- Check device time zone settings
248+
- Ensure correct date and time
249+
- Restart Scriptable app if needed
250+
251+
**Colors not displaying correctly:**
252+
- Verify widget size settings
253+
- Check iOS display preferences
254+
- Ensure sufficient home screen space
255+
256+
**Text not readable:**
257+
- Widget automatically adjusts contrast
258+
- Try different widget sizes
259+
- Check iOS accessibility settings
260+
261+
## 📚 Further Learning
262+
263+
### Hindu Calendar Resources
264+
- **Panchangam**: Traditional Hindu calendar
265+
- **Jyotish**: Vedic astrology principles
266+
- **Ayurveda**: Color therapy in Indian medicine
267+
- **Temple Traditions**: Deity color associations
268+
269+
### Cultural Exploration
270+
- Study planetary deities and their significance
271+
- Learn about regional Hindu color traditions
272+
- Explore festival-specific color customs
273+
- Understand the spiritual science behind colors
274+
275+
## 📝 License
276+
277+
This project is licensed under the MIT License - see the [LICENSE](../LICENSE) file for details.
278+
279+
## 🤝 Contributing
280+
281+
Help improve the Hindu Calendar Widget:
282+
283+
1. [Share regional traditions](https://github.com/rushhiii/Scriptable-IOSWidgets/discussions)
284+
2. [Report issues](https://github.com/rushhiii/Scriptable-IOSWidgets/issues)
285+
3. [Suggest features](https://github.com/rushhiii/Scriptable-IOSWidgets/discussions)
286+
4. Contribute cultural insights and customizations
287+
288+
---
289+
290+
**Made with ❤️ by [rushhiii](https://github.com/rushhiii)** | **Align with tradition, dress with intention 🕉️**

0 commit comments

Comments
 (0)