feat: Adapt svg classes to use color of parent, add group:hover
This commit is contained in:
parent
8665738d27
commit
44b5637398
@ -9,7 +9,7 @@ const Sun = () => (
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 20 20"
|
||||
fill="currentColor"
|
||||
className="h-6 w-6 text-gray-900 dark:text-gray-100"
|
||||
className="group:hover:text-gray-100 h-6 w-6"
|
||||
>
|
||||
<path
|
||||
fillRule="evenodd"
|
||||
@ -23,7 +23,7 @@ const Moon = () => (
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 20 20"
|
||||
fill="currentColor"
|
||||
className="h-6 w-6 text-gray-900 dark:text-gray-100"
|
||||
className="group:hover:text-gray-100 h-6 w-6"
|
||||
>
|
||||
<path d="M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z" />
|
||||
</svg>
|
||||
@ -37,7 +37,7 @@ const Monitor = () => (
|
||||
stroke-width="2"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
className="h-6 w-6 text-gray-900 dark:text-gray-100"
|
||||
className="group:hover:text-gray-100 h-6 w-6"
|
||||
>
|
||||
<rect x="3" y="3" width="14" height="10" rx="2" ry="2"></rect>
|
||||
<line x1="7" y1="17" x2="13" y2="17"></line>
|
||||
|
Loading…
x
Reference in New Issue
Block a user