Back to Devoured - July 07, 2026
DEVOURED
Your environments at a glance (Website)

Your environments at a glance (Website)

Tech Env.style
env.style is a new developer utility that allows teams to visually distinguish between different application environments using custom colors or favicons.
What: The library integrates with frameworks like Next.js to inject visual identifiers into the browser tab, preventing configuration errors when switching between development, staging, and production environments.
Why it matters: Visual cues in the browser tab are an effective, low-effort mechanism to reduce human error during multi-environment deployment cycles.
Takeaway: Install via `pnpm add env.style` and wrap your configuration object in `withEnvStyles` to set environment-specific colors or icons.
Original article

Your environments at a glance

Style every environment with colors or custom icons. Never lose track of where you are.

$ pnpm add env.style

Color each environment

Choose a color for each environment. The preview updates live as you edit.

import { withEnvStyles } from 'env.style'

export default withEnvStyles(nextConfig, {
  color: {
    development: '#3b82f6',
    preview: '#f59e0b',
    staging: '#6b7280',
  },
})

Use custom icons

Set a custom icon for any environment. Missing icons fall back to color tints.

import { withEnvStyles } from 'env.style'

export default withEnvStyles(nextConfig, {
  icon: {
    development: './acme-favicon.png',
    preview: './triangle-favicon.png',
    staging: './acme-favicon-1.png',
  },
})
Explore all 42 articles in today's digest

Fresh dev news, AI-digested daily. Never miss a trend at devoured.fyi