بنقرة واحدة
subscription-pill-4-tier-color-hierarchy
The 4-tier M3 color system for subscription status pills
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
The 4-tier M3 color system for subscription status pills
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Guidelines for managing Varisankya releases across Beta and Production tracks.
How to safely record extra payments without advancing the Varisankya subscription next due date.
Instructions for extracting the Play Store upload keystore, Firebase JSON, and passwords from Bitwarden.
Standard operating procedure for concluding an AI agent session and ensuring workspace integrity.
Guidelines for compiling Varisankya from the CLI without Android Studio.
How to correctly handle custom dates for extra subscription payments using MaterialDatePicker.
| name | Subscription Pill 4-Tier Color Hierarchy |
| description | The 4-tier M3 color system for subscription status pills |
This skill documents the color hierarchy used for subscription status pills in the app.
| State | Background | Text | Usage |
|---|---|---|---|
| Active | colorPrimary | colorOnPrimary | Any active subscription (Due Today/Tomorrow/Future) |
| Inactive | colorSurfaceVariant | colorOnSurfaceVariant | Paused/Discontinued subscriptions |
| Amount Pill | colorSurfaceContainerHighest | colorOnSurface | Secondary formatting for cost |
app/src/main/java/com/hora/varisankya/SubscriptionAdapter.kt
We moved away from complex urgency gradients to a clean binary state:
if (!subscription.active) {
// INACTIVE
holder.pillContainer.setCardBackgroundColor(surfaceVariant)
holder.daysLeftTextView.setTextColor(onSurfaceVariant)
} else {
// ACTIVE (Uniform Priority)
holder.pillContainer.setCardBackgroundColor(primary)
holder.daysLeftTextView.setTextColor(onPrimary)
}
colorOutlineVariantThe notification window is user-configurable:
val notificationWindow = PreferenceHelper.getNotificationDays(context)
This determines the boundary between Tier 2 and Tier 3.
ThemeHelper.kt - Color resolutionitem_subscription.xml - Pill layoutRoundedProgressView.kt - Progress bar component