Skip to content

Commit 03bdd0c

Browse files
authored
feat(eds-icons): add dark_mode icon (#4926)
1 parent ac4511a commit 03bdd0c

3 files changed

Lines changed: 21 additions & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions
Loading

packages/eds-core-react/stories/assets/icons/system-icons.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8602,5 +8602,17 @@
86028602
"height": "24",
86038603
"width": "24",
86048604
"svgPathData": "M7.099 18.315A7.96 7.96 0 0 0 11 19.935v2.014a9.95 9.95 0 0 1-5.327-2.209zM13 2.05c5.051.502 9 4.767 9 9.95s-3.949 9.447-9 9.95v-2.015c3.94-.494 7-3.864 7-7.935s-3.06-7.442-7-7.936zM4.065 13a7.96 7.96 0 0 0 1.62 3.9L4.26 18.326A9.95 9.95 0 0 1 2.05 13zm13.936-4-8 8-4-4 1.41-1.41 2.59 2.58 6.59-6.59zM5.686 7.099A7.96 7.96 0 0 0 4.066 11H2.05c.2-2.01.996-3.845 2.209-5.327zM11 4.064A7.96 7.96 0 0 0 7.1 5.684L5.674 4.26A9.95 9.95 0 0 1 11 2.049z"
8605+
},
8606+
{
8607+
"name": "dark_mode",
8608+
"value": "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12 21q-3.75 0-6.375-2.625T3 12t2.625-6.375T12 3a9 9 0 0 1 1.35.1 5.3 5.3 0 0 0-1.637 1.887A5.3 5.3 0 0 0 11.1 7.5q0 2.25 1.575 3.825T16.5 12.9q1.375 0 2.525-.613A5.3 5.3 0 0 0 20.9 10.65 8.5 8.5 0 0 1 21 12q0 3.75-2.625 6.375T12 21m0-2q2.2 0 3.95-1.212a7 7 0 0 0 2.55-3.163q-.5.125-1 .2t-1 .075q-3.075 0-5.238-2.162Q9.1 10.575 9.1 7.5q0-.5.075-1t.2-1a7 7 0 0 0-3.162 2.55Q5 9.8 5 12q0 2.9 2.05 4.95T12 19\"/></svg>",
8609+
"id": "17681:6679",
8610+
"url": "https://figma-alpha-api.s3.us-west-2.amazonaws.com/images/c750f7a9-b226-4e71-a0b5-50fe38d3ac41",
8611+
"path": "ui-action",
8612+
"group": "UI action",
8613+
"viewbox": "0 0 24 24",
8614+
"height": "24",
8615+
"width": "24",
8616+
"svgPathData": "M12 21q-3.75 0-6.375-2.625T3 12t2.625-6.375T12 3a9 9 0 0 1 1.35.1 5.3 5.3 0 0 0-1.637 1.887A5.3 5.3 0 0 0 11.1 7.5q0 2.25 1.575 3.825T16.5 12.9q1.375 0 2.525-.613A5.3 5.3 0 0 0 20.9 10.65 8.5 8.5 0 0 1 21 12q0 3.75-2.625 6.375T12 21m0-2q2.2 0 3.95-1.212a7 7 0 0 0 2.55-3.163q-.5.125-1 .2t-1 .075q-3.075 0-5.238-2.162Q9.1 10.575 9.1 7.5q0-.5.075-1t.2-1a7 7 0 0 0-3.162 2.55Q5 9.8 5 12q0 2.9 2.05 4.95T12 19"
86058617
}
86068618
]

packages/eds-icons/src/data.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5735,3 +5735,11 @@ export const partial_completion: IconData = {
57355735
width: '24',
57365736
svgPathData: 'M7.099 18.315A7.96 7.96 0 0 0 11 19.935v2.014a9.95 9.95 0 0 1-5.327-2.209zM13 2.05c5.051.502 9 4.767 9 9.95s-3.949 9.447-9 9.95v-2.015c3.94-.494 7-3.864 7-7.935s-3.06-7.442-7-7.936zM4.065 13a7.96 7.96 0 0 0 1.62 3.9L4.26 18.326A9.95 9.95 0 0 1 2.05 13zm13.936-4-8 8-4-4 1.41-1.41 2.59 2.58 6.59-6.59zM5.686 7.099A7.96 7.96 0 0 0 4.066 11H2.05c.2-2.01.996-3.845 2.209-5.327zM11 4.064A7.96 7.96 0 0 0 7.1 5.684L5.674 4.26A9.95 9.95 0 0 1 11 2.049z',
57375737
}
5738+
5739+
export const dark_mode: IconData = {
5740+
name: 'dark_mode',
5741+
prefix: 'eds',
5742+
height: '24',
5743+
width: '24',
5744+
svgPathData: 'M12 21q-3.75 0-6.375-2.625T3 12t2.625-6.375T12 3a9 9 0 0 1 1.35.1 5.3 5.3 0 0 0-1.637 1.887A5.3 5.3 0 0 0 11.1 7.5q0 2.25 1.575 3.825T16.5 12.9q1.375 0 2.525-.613A5.3 5.3 0 0 0 20.9 10.65 8.5 8.5 0 0 1 21 12q0 3.75-2.625 6.375T12 21m0-2q2.2 0 3.95-1.212a7 7 0 0 0 2.55-3.163q-.5.125-1 .2t-1 .075q-3.075 0-5.238-2.162Q9.1 10.575 9.1 7.5q0-.5.075-1t.2-1a7 7 0 0 0-3.162 2.55Q5 9.8 5 12q0 2.9 2.05 4.95T12 19',
5745+
}

0 commit comments

Comments
 (0)