color mode icon

color-mode from Codicons by Microsoft Corporation · Regular · CC-BY-4.0 Attribution required.

Name
color-mode
Set
Codicons
Style
Regular
Viewbox
16×16
License
CC BY 4.0

Use the color mode icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><path fill="currentColor" d="M8 1.002a7 7 0 1 0 0 14a7 7 0 0 0 0-14m0 13v-12a6 6 0 1 1 0 12"/></svg>

React

import type { SVGProps } from "react";

export function CodiconColorMode(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><path fill="currentColor" d="M8 1.002a7 7 0 1 0 0 14a7 7 0 0 0 0-14m0 13v-12a6 6 0 1 1 0 12"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><path fill="currentColor" d="M8 1.002a7 7 0 1 0 0 14a7 7 0 0 0 0-14m0 13v-12a6 6 0 1 1 0 12"/></svg>
</template>

CSS

.icon-color-mode {
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M8%201.002a7%207%200%201%200%200%2014a7%207%200%200%200%200-14m0%2013v-12a6%206%200%201%201%200%2012%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M8%201.002a7%207%200%201%200%200%2014a7%207%200%200%200%200-14m0%2013v-12a6%206%200%201%201%200%2012%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/codicon/color-mode.svg?color=%231a73e8&size=48