Skip to content
Snippets Groups Projects
Commit ad52988c authored by Emmanuel Raviart's avatar Emmanuel Raviart
Browse files

Replace currentColor with TailwindCSS classes.

parent a9f6ea53
No related branches found
No related tags found
No related merge requests found
......@@ -13,8 +13,7 @@
{:else if open}
<!-- Heroicon name: solid/chevron-down -->
<svg
class="h-5 inline w-5"
fill="currentColor"
class="fill-current h-5 inline w-5"
viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg"
>
......@@ -27,8 +26,7 @@
{:else}
<!-- Heroicon name: solid/chevron-right -->
<svg
class="h-5 inline w-5"
fill="currentColor"
class="fill-current h-5 inline w-5"
viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg"
>
......
......@@ -38,11 +38,10 @@
{#if open}
<!-- Heroicon name: outline/x -->
<svg
class="block h-6 w-6"
class="block h-6 stroke-current w-6"
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
aria-hidden="true"
>
<path
......@@ -55,11 +54,10 @@
{:else}
<!-- Heroicon name: outline/menu -->
<svg
class="block h-6 w-6"
class="block h-6 stroke-current w-6"
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
aria-hidden="true"
>
<path
......@@ -110,11 +108,10 @@
<span class="sr-only">View notifications</span>
<!-- Heroicon name: outline/bell -->
<svg
class="h-6 w-6"
class="h-6 stroke-current w-6"
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
aria-hidden="true"
>
<path
......
......@@ -140,8 +140,7 @@
>
<!-- Heroicon name: solid/x -->
<svg
class="h-5 w-5"
fill="currentColor"
class="fill-current h-5 w-5"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 20 20"
>
......
......@@ -86,8 +86,7 @@
<g class="axis y-axis" transform="translate({-$padding.left}, 0)">
<rect
class="text-indigo-200"
fill="currentColor"
class="fill-current text-indigo-200"
height={$height}
width={44 * 4}
x={-44 * 4}
......
......@@ -124,9 +124,8 @@
<!-- Material Icons name: Event Busy -->
<svg
aria-hidden="true"
class="block h-4 w-4"
class="block h-4 stroke-current w-4"
fill="red"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
><path
......@@ -138,9 +137,8 @@
<!-- Material Icons name: Event Busy -->
<svg
aria-hidden="true"
class="block h-4 w-4"
class="block h-4 stroke-current w-4"
fill="red"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
><path
......@@ -151,9 +149,8 @@
<!-- Material Icons name: Event Available -->
<svg
aria-hidden="true"
class="block h-4 w-4"
class="block h-4 stroke-current w-4"
fill="green"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
><path
......
......@@ -112,9 +112,8 @@
<!-- Material Icons name: Expand More -->
<svg
aria-hidden="true"
class="block h-6 w-6"
class="block h-6 stroke-current w-6"
fill="black"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
><path d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z" /></svg
......@@ -123,9 +122,8 @@
<!-- Material Icons name: Expand Less -->
<svg
aria-hidden="true"
class="block h-6 w-6"
class="block h-6 stroke-current w-6"
fill="black"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
><path d="M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z" /></svg
......@@ -178,8 +176,7 @@
<!-- Material Icons name: Expand More -->
<svg
aria-hidden="true"
class="block h-6 w-6 fill-current text-gray-500"
stroke="currentColor"
class="block h-6 fill-current stroke-current text-gray-500 w-6"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
><path d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z" /></svg
......@@ -188,8 +185,7 @@
<!-- Material Icons name: Expand Less -->
<svg
aria-hidden="true"
class="block h-6 w-6 fill-current text-gray-500"
stroke="currentColor"
class="block h-6 fill-current stroke-current text-gray-500 w-6"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
><path d="M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z" /></svg
......
......@@ -91,9 +91,8 @@
<!-- Material Icons name: Event Busy -->
<svg
aria-hidden="true"
class="block h-4 w-4"
class="block h-4 stroke-current w-4"
fill="red"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
><path
......@@ -105,9 +104,8 @@
<!-- Material Icons name: Event Busy -->
<svg
aria-hidden="true"
class="block h-4 w-4"
class="block h-4 stroke-current w-4"
fill="red"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
><path
......@@ -118,9 +116,8 @@
<!-- Material Icons name: Event Available -->
<svg
aria-hidden="true"
class="block h-4 w-4"
class="block h-4 stroke-current w-4"
fill="green"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
><path
......
......@@ -75,10 +75,9 @@
/>
{#if node.children !== undefined && height >= 24}
<g
class="cursor-pointer text-white"
class="cursor-pointer stroke-current text-white"
fill="none"
on:click={() => dispatch("toggleAggregate", node)}
stroke="currentColor"
transform="translate({x + width / 2 - 12}, {y + height / 2 - 12})"
>
{#if node.open}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment