Interactivity
Utilities for controlling the accented color of a form control.
Class | Styles |
---|---|
accent-inherit | accent-color: inherit; |
accent-current | accent-color: currentColor; |
accent-transparent | accent-color: transparent; |
accent-black | accent-color: var(--color-black); /* #000 */ |
accent-white | accent-color: var(--color-white); /* #fff */ |
accent-red-50 | accent-color: var(--color-red-50); /* oklch(0.971 0.013 17.38) */ |
accent-red-100 | accent-color: var(--color-red-100); /* oklch(0.936 0.032 17.717) */ |
accent-red-200 | accent-color: var(--color-red-200); /* oklch(0.885 0.062 18.334) */ |
accent-red-300 | accent-color: var(--color-red-300); /* oklch(0.808 0.114 19.571) */ |
accent-red-400 | accent-color: var(--color-red-400); /* oklch(0.704 0.191 22.216) */ |
accent-red-500 | accent-color: var(--color-red-500); /* oklch(0.637 0.237 25.331) */ |
accent-red-600 | accent-color: var(--color-red-600); /* oklch(0.577 0.245 27.325) */ |
accent-red-700 | accent-color: var(--color-red-700); /* oklch(0.505 0.213 27.518) */ |
accent-red-800 | accent-color: var(--color-red-800); /* oklch(0.444 0.177 26.899) */ |
accent-red-900 | accent-color: var(--color-red-900); /* oklch(0.396 0.141 25.723) */ |
accent-red-950 | accent-color: var(--color-red-950); /* oklch(0.258 0.092 26.042) */ |
accent-orange-50 | accent-color: var(--color-orange-50); /* oklch(0.98 0.016 73.684) */ |
accent-orange-100 | accent-color: var(--color-orange-100); /* oklch(0.954 0.038 75.164) */ |
accent-orange-200 | accent-color: var(--color-orange-200); /* oklch(0.901 0.076 70.697) */ |
accent-orange-300 | accent-color: var(--color-orange-300); /* oklch(0.837 0.128 66.29) */ |
accent-orange-400 | accent-color: var(--color-orange-400); /* oklch(0.75 0.183 55.934) */ |
accent-orange-500 | accent-color: var(--color-orange-500); /* oklch(0.705 0.213 47.604) */ |
accent-orange-600 | accent-color: var(--color-orange-600); /* oklch(0.646 0.222 41.116) */ |
accent-orange-700 | accent-color: var(--color-orange-700); /* oklch(0.553 0.195 38.402) */ |
accent-orange-800 | accent-color: var(--color-orange-800); /* oklch(0.47 0.157 37.304) */ |
accent-orange-900 | accent-color: var(--color-orange-900); /* oklch(0.408 0.123 38.172) */ |
accent-orange-950 | accent-color: var(--color-orange-950); /* oklch(0.266 0.079 36.259) */ |
accent-amber-50 | accent-color: var(--color-amber-50); /* oklch(0.987 0.022 95.277) */ |
accent-amber-100 | accent-color: var(--color-amber-100); /* oklch(0.962 0.059 95.617) */ |
accent-amber-200 | accent-color: var(--color-amber-200); /* oklch(0.924 0.12 95.746) */ |
accent-amber-300 | accent-color: var(--color-amber-300); /* oklch(0.879 0.169 91.605) */ |
accent-amber-400 | accent-color: var(--color-amber-400); /* oklch(0.828 0.189 84.429) */ |
accent-amber-500 | accent-color: var(--color-amber-500); /* oklch(0.769 0.188 70.08) */ |
accent-amber-600 | accent-color: var(--color-amber-600); /* oklch(0.666 0.179 58.318) */ |
accent-amber-700 | accent-color: var(--color-amber-700); /* oklch(0.555 0.163 48.998) */ |
accent-amber-800 | accent-color: var(--color-amber-800); /* oklch(0.473 0.137 46.201) */ |
accent-amber-900 | accent-color: var(--color-amber-900); /* oklch(0.414 0.112 45.904) */ |
accent-amber-950 | accent-color: var(--color-amber-950); /* oklch(0.279 0.077 45.635) */ |
accent-yellow-50 | accent-color: var(--color-yellow-50); /* oklch(0.987 0.026 102.212) */ |
accent-yellow-100 | accent-color: var(--color-yellow-100); /* oklch(0.973 0.071 103.193) */ |
accent-yellow-200 | accent-color: var(--color-yellow-200); /* oklch(0.945 0.129 101.54) */ |
accent-yellow-300 | accent-color: var(--color-yellow-300); /* oklch(0.905 0.182 98.111) */ |
accent-yellow-400 | accent-color: var(--color-yellow-400); /* oklch(0.852 0.199 91.936) */ |
accent-yellow-500 | accent-color: var(--color-yellow-500); /* oklch(0.795 0.184 86.047) */ |
accent-yellow-600 | accent-color: var(--color-yellow-600); /* oklch(0.681 0.162 75.834) */ |
accent-yellow-700 | accent-color: var(--color-yellow-700); /* oklch(0.554 0.135 66.442) */ |
accent-yellow-800 | accent-color: var(--color-yellow-800); /* oklch(0.476 0.114 61.907) */ |
accent-yellow-900 | accent-color: var(--color-yellow-900); /* oklch(0.421 0.095 57.708) */ |
accent-yellow-950 | accent-color: var(--color-yellow-950); /* oklch(0.286 0.066 53.813) */ |
accent-lime-50 | accent-color: var(--color-lime-50); /* oklch(0.986 0.031 120.757) */ |
accent-lime-100 | accent-color: var(--color-lime-100); /* oklch(0.967 0.067 122.328) */ |
accent-lime-200 | accent-color: var(--color-lime-200); /* oklch(0.938 0.127 124.321) */ |
accent-lime-300 | accent-color: var(--color-lime-300); /* oklch(0.897 0.196 126.665) */ |
accent-lime-400 | accent-color: var(--color-lime-400); /* oklch(0.841 0.238 128.85) */ |
accent-lime-500 | accent-color: var(--color-lime-500); /* oklch(0.768 0.233 130.85) */ |
accent-lime-600 | accent-color: var(--color-lime-600); /* oklch(0.648 0.2 131.684) */ |
accent-lime-700 | accent-color: var(--color-lime-700); /* oklch(0.532 0.157 131.589) */ |
accent-lime-800 | accent-color: var(--color-lime-800); /* oklch(0.453 0.124 130.933) */ |
accent-lime-900 | accent-color: var(--color-lime-900); /* oklch(0.405 0.101 131.063) */ |
accent-lime-950 | accent-color: var(--color-lime-950); /* oklch(0.274 0.072 132.109) */ |
accent-green-50 | accent-color: var(--color-green-50); /* oklch(0.982 0.018 155.826) */ |
accent-green-100 | accent-color: var(--color-green-100); /* oklch(0.962 0.044 156.743) */ |
accent-green-200 | accent-color: var(--color-green-200); /* oklch(0.925 0.084 155.995) */ |
accent-green-300 | accent-color: var(--color-green-300); /* oklch(0.871 0.15 154.449) */ |
accent-green-400 | accent-color: var(--color-green-400); /* oklch(0.792 0.209 151.711) */ |
accent-green-500 | accent-color: var(--color-green-500); /* oklch(0.723 0.219 149.579) */ |
accent-green-600 | accent-color: var(--color-green-600); /* oklch(0.627 0.194 149.214) */ |
accent-green-700 | accent-color: var(--color-green-700); /* oklch(0.527 0.154 150.069) */ |
accent-green-800 | accent-color: var(--color-green-800); /* oklch(0.448 0.119 151.328) */ |
accent-green-900 | accent-color: var(--color-green-900); /* oklch(0.393 0.095 152.535) */ |
accent-green-950 | accent-color: var(--color-green-950); /* oklch(0.266 0.065 152.934) */ |
accent-emerald-50 | accent-color: var(--color-emerald-50); /* oklch(0.979 0.021 166.113) */ |
accent-emerald-100 | accent-color: var(--color-emerald-100); /* oklch(0.95 0.052 163.051) */ |
accent-emerald-200 | accent-color: var(--color-emerald-200); /* oklch(0.905 0.093 164.15) */ |
accent-emerald-300 | accent-color: var(--color-emerald-300); /* oklch(0.845 0.143 164.978) */ |
accent-emerald-400 | accent-color: var(--color-emerald-400); /* oklch(0.765 0.177 163.223) */ |
accent-emerald-500 | accent-color: var(--color-emerald-500); /* oklch(0.696 0.17 162.48) */ |
accent-emerald-600 | accent-color: var(--color-emerald-600); /* oklch(0.596 0.145 163.225) */ |
accent-emerald-700 | accent-color: var(--color-emerald-700); /* oklch(0.508 0.118 165.612) */ |
accent-emerald-800 | accent-color: var(--color-emerald-800); /* oklch(0.432 0.095 166.913) */ |
accent-emerald-900 | accent-color: var(--color-emerald-900); /* oklch(0.378 0.077 168.94) */ |
accent-emerald-950 | accent-color: var(--color-emerald-950); /* oklch(0.262 0.051 172.552) */ |
accent-teal-50 | accent-color: var(--color-teal-50); /* oklch(0.984 0.014 180.72) */ |
accent-teal-100 | accent-color: var(--color-teal-100); /* oklch(0.953 0.051 180.801) */ |
accent-teal-200 | accent-color: var(--color-teal-200); /* oklch(0.91 0.096 180.426) */ |
accent-teal-300 | accent-color: var(--color-teal-300); /* oklch(0.855 0.138 181.071) */ |
accent-teal-400 | accent-color: var(--color-teal-400); /* oklch(0.777 0.152 181.912) */ |
accent-teal-500 | accent-color: var(--color-teal-500); /* oklch(0.704 0.14 182.503) */ |
accent-teal-600 | accent-color: var(--color-teal-600); /* oklch(0.6 0.118 184.704) */ |
accent-teal-700 | accent-color: var(--color-teal-700); /* oklch(0.511 0.096 186.391) */ |
accent-teal-800 | accent-color: var(--color-teal-800); /* oklch(0.437 0.078 188.216) */ |
accent-teal-900 | accent-color: var(--color-teal-900); /* oklch(0.386 0.063 188.416) */ |
accent-teal-950 | accent-color: var(--color-teal-950); /* oklch(0.277 0.046 192.524) */ |
accent-cyan-50 | accent-color: var(--color-cyan-50); /* oklch(0.984 0.019 200.873) */ |
accent-cyan-100 | accent-color: var(--color-cyan-100); /* oklch(0.956 0.045 203.388) */ |
accent-cyan-200 | accent-color: var(--color-cyan-200); /* oklch(0.917 0.08 205.041) */ |
accent-cyan-300 | accent-color: var(--color-cyan-300); /* oklch(0.865 0.127 207.078) */ |
accent-cyan-400 | accent-color: var(--color-cyan-400); /* oklch(0.789 0.154 211.53) */ |
accent-cyan-500 | accent-color: var(--color-cyan-500); /* oklch(0.715 0.143 215.221) */ |
accent-cyan-600 | accent-color: var(--color-cyan-600); /* oklch(0.609 0.126 221.723) */ |
accent-cyan-700 | accent-color: var(--color-cyan-700); /* oklch(0.52 0.105 223.128) */ |
accent-cyan-800 | accent-color: var(--color-cyan-800); /* oklch(0.45 0.085 224.283) */ |
accent-cyan-900 | accent-color: var(--color-cyan-900); /* oklch(0.398 0.07 227.392) */ |
accent-cyan-950 | accent-color: var(--color-cyan-950); /* oklch(0.302 0.056 229.695) */ |
accent-sky-50 | accent-color: var(--color-sky-50); /* oklch(0.977 0.013 236.62) */ |
accent-sky-100 | accent-color: var(--color-sky-100); /* oklch(0.951 0.026 236.824) */ |
accent-sky-200 | accent-color: var(--color-sky-200); /* oklch(0.901 0.058 230.902) */ |
accent-sky-300 | accent-color: var(--color-sky-300); /* oklch(0.828 0.111 230.318) */ |
accent-sky-400 | accent-color: var(--color-sky-400); /* oklch(0.746 0.16 232.661) */ |
accent-sky-500 | accent-color: var(--color-sky-500); /* oklch(0.685 0.169 237.323) */ |
accent-sky-600 | accent-color: var(--color-sky-600); /* oklch(0.588 0.158 241.966) */ |
accent-sky-700 | accent-color: var(--color-sky-700); /* oklch(0.5 0.134 242.749) */ |
accent-sky-800 | accent-color: var(--color-sky-800); /* oklch(0.443 0.11 240.79) */ |
accent-sky-900 | accent-color: var(--color-sky-900); /* oklch(0.391 0.09 240.876) */ |
accent-sky-950 | accent-color: var(--color-sky-950); /* oklch(0.293 0.066 243.157) */ |
accent-blue-50 | accent-color: var(--color-blue-50); /* oklch(0.97 0.014 254.604) */ |
accent-blue-100 | accent-color: var(--color-blue-100); /* oklch(0.932 0.032 255.585) */ |
accent-blue-200 | accent-color: var(--color-blue-200); /* oklch(0.882 0.059 254.128) */ |
accent-blue-300 | accent-color: var(--color-blue-300); /* oklch(0.809 0.105 251.813) */ |
accent-blue-400 | accent-color: var(--color-blue-400); /* oklch(0.707 0.165 254.624) */ |
accent-blue-500 | accent-color: var(--color-blue-500); /* oklch(0.623 0.214 259.815) */ |
accent-blue-600 | accent-color: var(--color-blue-600); /* oklch(0.546 0.245 262.881) */ |
accent-blue-700 | accent-color: var(--color-blue-700); /* oklch(0.488 0.243 264.376) */ |
accent-blue-800 | accent-color: var(--color-blue-800); /* oklch(0.424 0.199 265.638) */ |
accent-blue-900 | accent-color: var(--color-blue-900); /* oklch(0.379 0.146 265.522) */ |
accent-blue-950 | accent-color: var(--color-blue-950); /* oklch(0.282 0.091 267.935) */ |
accent-indigo-50 | accent-color: var(--color-indigo-50); /* oklch(0.962 0.018 272.314) */ |
accent-indigo-100 | accent-color: var(--color-indigo-100); /* oklch(0.93 0.034 272.788) */ |
accent-indigo-200 | accent-color: var(--color-indigo-200); /* oklch(0.87 0.065 274.039) */ |
accent-indigo-300 | accent-color: var(--color-indigo-300); /* oklch(0.785 0.115 274.713) */ |
accent-indigo-400 | accent-color: var(--color-indigo-400); /* oklch(0.673 0.182 276.935) */ |
accent-indigo-500 | accent-color: var(--color-indigo-500); /* oklch(0.585 0.233 277.117) */ |
accent-indigo-600 | accent-color: var(--color-indigo-600); /* oklch(0.511 0.262 276.966) */ |
accent-indigo-700 | accent-color: var(--color-indigo-700); /* oklch(0.457 0.24 277.023) */ |
accent-indigo-800 | accent-color: var(--color-indigo-800); /* oklch(0.398 0.195 277.366) */ |
accent-indigo-900 | accent-color: var(--color-indigo-900); /* oklch(0.359 0.144 278.697) */ |
accent-indigo-950 | accent-color: var(--color-indigo-950); /* oklch(0.257 0.09 281.288) */ |
accent-violet-50 | accent-color: var(--color-violet-50); /* oklch(0.969 0.016 293.756) */ |
accent-violet-100 | accent-color: var(--color-violet-100); /* oklch(0.943 0.029 294.588) */ |
accent-violet-200 | accent-color: var(--color-violet-200); /* oklch(0.894 0.057 293.283) */ |
accent-violet-300 | accent-color: var(--color-violet-300); /* oklch(0.811 0.111 293.571) */ |
accent-violet-400 | accent-color: var(--color-violet-400); /* oklch(0.702 0.183 293.541) */ |
accent-violet-500 | accent-color: var(--color-violet-500); /* oklch(0.606 0.25 292.717) */ |
accent-violet-600 | accent-color: var(--color-violet-600); /* oklch(0.541 0.281 293.009) */ |
accent-violet-700 | accent-color: var(--color-violet-700); /* oklch(0.491 0.27 292.581) */ |
accent-violet-800 | accent-color: var(--color-violet-800); /* oklch(0.432 0.232 292.759) */ |
accent-violet-900 | accent-color: var(--color-violet-900); /* oklch(0.38 0.189 293.745) */ |
accent-violet-950 | accent-color: var(--color-violet-950); /* oklch(0.283 0.141 291.089) */ |
accent-purple-50 | accent-color: var(--color-purple-50); /* oklch(0.977 0.014 308.299) */ |
accent-purple-100 | accent-color: var(--color-purple-100); /* oklch(0.946 0.033 307.174) */ |
accent-purple-200 | accent-color: var(--color-purple-200); /* oklch(0.902 0.063 306.703) */ |
accent-purple-300 | accent-color: var(--color-purple-300); /* oklch(0.827 0.119 306.383) */ |
accent-purple-400 | accent-color: var(--color-purple-400); /* oklch(0.714 0.203 305.504) */ |
accent-purple-500 | accent-color: var(--color-purple-500); /* oklch(0.627 0.265 303.9) */ |
accent-purple-600 | accent-color: var(--color-purple-600); /* oklch(0.558 0.288 302.321) */ |
accent-purple-700 | accent-color: var(--color-purple-700); /* oklch(0.496 0.265 301.924) */ |
accent-purple-800 | accent-color: var(--color-purple-800); /* oklch(0.438 0.218 303.724) */ |
accent-purple-900 | accent-color: var(--color-purple-900); /* oklch(0.381 0.176 304.987) */ |
accent-purple-950 | accent-color: var(--color-purple-950); /* oklch(0.291 0.149 302.717) */ |
accent-fuchsia-50 | accent-color: var(--color-fuchsia-50); /* oklch(0.977 0.017 320.058) */ |
accent-fuchsia-100 | accent-color: var(--color-fuchsia-100); /* oklch(0.952 0.037 318.852) */ |
accent-fuchsia-200 | accent-color: var(--color-fuchsia-200); /* oklch(0.903 0.076 319.62) */ |
accent-fuchsia-300 | accent-color: var(--color-fuchsia-300); /* oklch(0.833 0.145 321.434) */ |
accent-fuchsia-400 | accent-color: var(--color-fuchsia-400); /* oklch(0.74 0.238 322.16) */ |
accent-fuchsia-500 | accent-color: var(--color-fuchsia-500); /* oklch(0.667 0.295 322.15) */ |
accent-fuchsia-600 | accent-color: var(--color-fuchsia-600); /* oklch(0.591 0.293 322.896) */ |
accent-fuchsia-700 | accent-color: var(--color-fuchsia-700); /* oklch(0.518 0.253 323.949) */ |
accent-fuchsia-800 | accent-color: var(--color-fuchsia-800); /* oklch(0.452 0.211 324.591) */ |
accent-fuchsia-900 | accent-color: var(--color-fuchsia-900); /* oklch(0.401 0.17 325.612) */ |
accent-fuchsia-950 | accent-color: var(--color-fuchsia-950); /* oklch(0.293 0.136 325.661) */ |
accent-pink-50 | accent-color: var(--color-pink-50); /* oklch(0.971 0.014 343.198) */ |
accent-pink-100 | accent-color: var(--color-pink-100); /* oklch(0.948 0.028 342.258) */ |
accent-pink-200 | accent-color: var(--color-pink-200); /* oklch(0.899 0.061 343.231) */ |
accent-pink-300 | accent-color: var(--color-pink-300); /* oklch(0.823 0.12 346.018) */ |
accent-pink-400 | accent-color: var(--color-pink-400); /* oklch(0.718 0.202 349.761) */ |
accent-pink-500 | accent-color: var(--color-pink-500); /* oklch(0.656 0.241 354.308) */ |
accent-pink-600 | accent-color: var(--color-pink-600); /* oklch(0.592 0.249 0.584) */ |
accent-pink-700 | accent-color: var(--color-pink-700); /* oklch(0.525 0.223 3.958) */ |
accent-pink-800 | accent-color: var(--color-pink-800); /* oklch(0.459 0.187 3.815) */ |
accent-pink-900 | accent-color: var(--color-pink-900); /* oklch(0.408 0.153 2.432) */ |
accent-pink-950 | accent-color: var(--color-pink-950); /* oklch(0.284 0.109 3.907) */ |
accent-rose-50 | accent-color: var(--color-rose-50); /* oklch(0.969 0.015 12.422) */ |
accent-rose-100 | accent-color: var(--color-rose-100); /* oklch(0.941 0.03 12.58) */ |
accent-rose-200 | accent-color: var(--color-rose-200); /* oklch(0.892 0.058 10.001) */ |
accent-rose-300 | accent-color: var(--color-rose-300); /* oklch(0.81 0.117 11.638) */ |
accent-rose-400 | accent-color: var(--color-rose-400); /* oklch(0.712 0.194 13.428) */ |
accent-rose-500 | accent-color: var(--color-rose-500); /* oklch(0.645 0.246 16.439) */ |
accent-rose-600 | accent-color: var(--color-rose-600); /* oklch(0.586 0.253 17.585) */ |
accent-rose-700 | accent-color: var(--color-rose-700); /* oklch(0.514 0.222 16.935) */ |
accent-rose-800 | accent-color: var(--color-rose-800); /* oklch(0.455 0.188 13.697) */ |
accent-rose-900 | accent-color: var(--color-rose-900); /* oklch(0.41 0.159 10.272) */ |
accent-rose-950 | accent-color: var(--color-rose-950); /* oklch(0.271 0.105 12.094) */ |
accent-slate-50 | accent-color: var(--color-slate-50); /* oklch(0.984 0.003 247.858) */ |
accent-slate-100 | accent-color: var(--color-slate-100); /* oklch(0.968 0.007 247.896) */ |
accent-slate-200 | accent-color: var(--color-slate-200); /* oklch(0.929 0.013 255.508) */ |
accent-slate-300 | accent-color: var(--color-slate-300); /* oklch(0.869 0.022 252.894) */ |
accent-slate-400 | accent-color: var(--color-slate-400); /* oklch(0.704 0.04 256.788) */ |
accent-slate-500 | accent-color: var(--color-slate-500); /* oklch(0.554 0.046 257.417) */ |
accent-slate-600 | accent-color: var(--color-slate-600); /* oklch(0.446 0.043 257.281) */ |
accent-slate-700 | accent-color: var(--color-slate-700); /* oklch(0.372 0.044 257.287) */ |
accent-slate-800 | accent-color: var(--color-slate-800); /* oklch(0.279 0.041 260.031) */ |
accent-slate-900 | accent-color: var(--color-slate-900); /* oklch(0.208 0.042 265.755) */ |
accent-slate-950 | accent-color: var(--color-slate-950); /* oklch(0.129 0.042 264.695) */ |
accent-gray-50 | accent-color: var(--color-gray-50); /* oklch(0.985 0.002 247.839) */ |
accent-gray-100 | accent-color: var(--color-gray-100); /* oklch(0.967 0.003 264.542) */ |
accent-gray-200 | accent-color: var(--color-gray-200); /* oklch(0.928 0.006 264.531) */ |
accent-gray-300 | accent-color: var(--color-gray-300); /* oklch(0.872 0.01 258.338) */ |
accent-gray-400 | accent-color: var(--color-gray-400); /* oklch(0.707 0.022 261.325) */ |
accent-gray-500 | accent-color: var(--color-gray-500); /* oklch(0.551 0.027 264.364) */ |
accent-gray-600 | accent-color: var(--color-gray-600); /* oklch(0.446 0.03 256.802) */ |
accent-gray-700 | accent-color: var(--color-gray-700); /* oklch(0.373 0.034 259.733) */ |
accent-gray-800 | accent-color: var(--color-gray-800); /* oklch(0.278 0.033 256.848) */ |
accent-gray-900 | accent-color: var(--color-gray-900); /* oklch(0.21 0.034 264.665) */ |
accent-gray-950 | accent-color: var(--color-gray-950); /* oklch(0.13 0.028 261.692) */ |
accent-zinc-50 | accent-color: var(--color-zinc-50); /* oklch(0.985 0 0) */ |
accent-zinc-100 | accent-color: var(--color-zinc-100); /* oklch(0.967 0.001 286.375) */ |
accent-zinc-200 | accent-color: var(--color-zinc-200); /* oklch(0.92 0.004 286.32) */ |
accent-zinc-300 | accent-color: var(--color-zinc-300); /* oklch(0.871 0.006 286.286) */ |
accent-zinc-400 | accent-color: var(--color-zinc-400); /* oklch(0.705 0.015 286.067) */ |
accent-zinc-500 | accent-color: var(--color-zinc-500); /* oklch(0.552 0.016 285.938) */ |
accent-zinc-600 | accent-color: var(--color-zinc-600); /* oklch(0.442 0.017 285.786) */ |
accent-zinc-700 | accent-color: var(--color-zinc-700); /* oklch(0.37 0.013 285.805) */ |
accent-zinc-800 | accent-color: var(--color-zinc-800); /* oklch(0.274 0.006 286.033) */ |
accent-zinc-900 | accent-color: var(--color-zinc-900); /* oklch(0.21 0.006 285.885) */ |
accent-zinc-950 | accent-color: var(--color-zinc-950); /* oklch(0.141 0.005 285.823) */ |
accent-neutral-50 | accent-color: var(--color-neutral-50); /* oklch(0.985 0 0) */ |
accent-neutral-100 | accent-color: var(--color-neutral-100); /* oklch(0.97 0 0) */ |
accent-neutral-200 | accent-color: var(--color-neutral-200); /* oklch(0.922 0 0) */ |
accent-neutral-300 | accent-color: var(--color-neutral-300); /* oklch(0.87 0 0) */ |
accent-neutral-400 | accent-color: var(--color-neutral-400); /* oklch(0.708 0 0) */ |
accent-neutral-500 | accent-color: var(--color-neutral-500); /* oklch(0.556 0 0) */ |
accent-neutral-600 | accent-color: var(--color-neutral-600); /* oklch(0.439 0 0) */ |
accent-neutral-700 | accent-color: var(--color-neutral-700); /* oklch(0.371 0 0) */ |
accent-neutral-800 | accent-color: var(--color-neutral-800); /* oklch(0.269 0 0) */ |
accent-neutral-900 | accent-color: var(--color-neutral-900); /* oklch(0.205 0 0) */ |
accent-neutral-950 | accent-color: var(--color-neutral-950); /* oklch(0.145 0 0) */ |
accent-stone-50 | accent-color: var(--color-stone-50); /* oklch(0.985 0.001 106.423) */ |
accent-stone-100 | accent-color: var(--color-stone-100); /* oklch(0.97 0.001 106.424) */ |
accent-stone-200 | accent-color: var(--color-stone-200); /* oklch(0.923 0.003 48.717) */ |
accent-stone-300 | accent-color: var(--color-stone-300); /* oklch(0.869 0.005 56.366) */ |
accent-stone-400 | accent-color: var(--color-stone-400); /* oklch(0.709 0.01 56.259) */ |
accent-stone-500 | accent-color: var(--color-stone-500); /* oklch(0.553 0.013 58.071) */ |
accent-stone-600 | accent-color: var(--color-stone-600); /* oklch(0.444 0.011 73.639) */ |
accent-stone-700 | accent-color: var(--color-stone-700); /* oklch(0.374 0.01 67.558) */ |
accent-stone-800 | accent-color: var(--color-stone-800); /* oklch(0.268 0.007 34.298) */ |
accent-stone-900 | accent-color: var(--color-stone-900); /* oklch(0.216 0.006 56.043) */ |
accent-stone-950 | accent-color: var(--color-stone-950); /* oklch(0.147 0.004 49.25) */ |
accent-<custom-property> | accent-color: var(<custom-property>); |
accent-[<value>] | accent-color: <value>; |
Use utilities like accent-rose-500
and accent-lime-600
to change the accent color of an element:
This is helpful for styling elements like checkboxes and radio groups by overriding the browser's default color.
Use the color opacity modifier to control the opacity of an element's accent color:
Setting the accent color opacity has limited browser-support and only works in Firefox at this time.
Use the accent-[<value>]
syntax to set the accent color based on a completely custom value:
<input class="accent-[#50d71e] ..." type="checkbox" />
For CSS variables, you can also use the accent-(<custom-property>)
syntax:
<input class="accent-(--my-accent-color) ..." type="checkbox" />
This is just a shorthand for accent-[var(<custom-property>)]
that adds the var()
function for you automatically.
Prefix an accent-color
utility with a variant like hover:*
to only apply the utility in that state:
Learn more about using variants in the variants documentation.
Prefix an accent-color
utility with a breakpoint variant like md:
to only apply the utility at medium screen sizes and above:
<input class="accent-black md:accent-pink-500 ..." type="checkbox" />
Learn more about using variants in the variants documentation.
Use the --color-*
theme variables to customize the color utilities in your project:
@theme { --color-regal-blue: #243c5a; }
Now the accent-regal-blue
utility can be used in your markup:
<input class="accent-regal-blue" type="checkbox" />
Learn more about customizing your theme in the theme documentation.