:root { /**************************************************************** * Blur * Variables for applying blur filters to an element. * filter|backdrop-filter: var(--blur); *****************************************************************/ --blur-none: blur(0); --blur-sm: blur(4px); --blur: blur(8px); --blur-md: blur(12px); --blur-lg: blur(16px); --blur-xl: blur(24px); --blur-2xl: blur(40px); --blur-3xl: blur(64px); /**************************************************************** * Brightness * Variables for applying brightness filters to an element. * filter|backdrop-filter: var(--brightness-50); *****************************************************************/ --brightness-0: brightness(0); --brightness-50: brightness(0.5); --brightness-75: brightness(0.75); --brightness-90: brightness(0.9); --brightness-95: brightness(0.95); --brightness-100: brightness(1); --brightness-105: brightness(1.05); --brightness-110: brightness(1.1); --brightness-125: brightness(1.25); --brightness-150: brightness(1.5); --brightness-200: brightness(2); /**************************************************************** * Contrast * Variables for applying contrast filters to an element. * filter|backdrop-filter: var(--contrast-50); *****************************************************************/ --contrast-0: contrast(0); --contrast-50: contrast(0.5); --contrast-75: contrast(0.75); --contrast-100: contrast(1); --contrast-125: contrast(1.25); --contrast-150: contrast(1.5); --contrast-200: contrast(2); /**************************************************************** * Drop Shadow * Variables for applying drop-shadow filters to an element. * filter: var(--drop-shadow); *****************************************************************/ --drop-shadow-none: drop-shadow(0 0 #0000); --drop-shadow-sm: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05)); --drop-shadow: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1)) drop-shadow(0 1px 1px rgba(0, 0, 0, 0.06)); --drop-shadow-md: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.07)) drop-shadow(0 2px 2px rgba(0, 0, 0, 0.06)); --drop-shadow-lg: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.04)) drop-shadow(0 4px 3px rgba(0, 0, 0, 0.1)); --drop-shadow-xl: drop-shadow(0 20px 13px rgba(0, 0, 0, 0.03)) drop-shadow(0 8px 5px rgba(0, 0, 0, 0.08)); --drop-shadow-2xl: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.15)); /**************************************************************** * Grayscale * Variables for applying grayscale filters to an element. * filter|backdrop-filter: var(--grayscale); *****************************************************************/ --grayscale-0: grayscale(0); --grayscale: grayscale(100%); /**************************************************************** * Hue Rotate * Variables for applying hue-rotate filters to an element. * filter|backdrop-filter: var(--hue-rotate-15); *****************************************************************/ --hue-rotate-0: hue-rotate(0deg); --hue-rotate-15: hue-rotate(15deg); --hue-rotate-30: hue-rotate(30deg); --hue-rotate-60: hue-rotate(60deg); --hue-rotate-90: hue-rotate(90deg); --hue-rotate-180: hue-rotate(180deg); /**************************************************************** * Invert * Variables for applying invert filters to an element. * filter|backdrop-filter: var(--invert); *****************************************************************/ --invert-0: invert(0); --invert: invert(100%); /**************************************************************** * Saturate * Variables for applying saturation filters to an element. * filter|backdrop-filter: var(--saturate-50); *****************************************************************/ --saturate-0: saturate(0); --saturate-50: saturate(0.5); --saturate-100: saturate(1); --saturate-150: saturate(1.5); --saturate-200: saturate(2); /**************************************************************** * Sepia * Variables for applying sepia filters to an element. * filter|backdrop-filter: var(--sepia); *****************************************************************/ --sepia-0: sepia(0); --sepia: sepia(100%); /**************************************************************** * Opacity * Utilities for applying backdrop opacity filters to an element. * backdrop-filter: var(--alpha-45); *****************************************************************/ --alpha-0: opacity(0); --alpha-5: opacity(0.05); --alpha-10: opacity(0.1); --alpha-15: opacity(0.15); --alpha-20: opacity(0.2); --alpha-25: opacity(0.25); --alpha-30: opacity(0.3); --alpha-35: opacity(0.35); --alpha-40: opacity(0.4); --alpha-45: opacity(0.45); --alpha-50: opacity(0.5); --alpha-55: opacity(0.55); --alpha-60: opacity(0.6); --alpha-65: opacity(0.65); --alpha-70: opacity(0.7); --alpha-75: opacity(0.75); --alpha-80: opacity(0.8); --alpha-85: opacity(0.85); --alpha-90: opacity(0.9); --alpha-95: opacity(0.95); --alpha-100: opacity(1); }