mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-13 17:22:15 -05:00
Resize open book icon (#15828)
* resize icon * rename icon and remove icon from commands
This commit is contained in:
@@ -91,11 +91,7 @@
|
||||
},
|
||||
{
|
||||
"command": "notebook.command.open",
|
||||
"title": "%notebook.command.open%",
|
||||
"icon": {
|
||||
"dark": "resources/dark/open_notebook_inverse.svg",
|
||||
"light": "resources/light/open_notebook.svg"
|
||||
}
|
||||
"title": "%notebook.command.open%"
|
||||
},
|
||||
{
|
||||
"command": "notebook.command.runactivecell",
|
||||
@@ -137,11 +133,7 @@
|
||||
},
|
||||
{
|
||||
"command": "jupyter.task.openNotebook",
|
||||
"title": "%title.openJupyterNotebook%",
|
||||
"icon": {
|
||||
"dark": "resources/dark/open_notebook_inverse.svg",
|
||||
"light": "resources/light/open_notebook.svg"
|
||||
}
|
||||
"title": "%title.openJupyterNotebook%"
|
||||
},
|
||||
{
|
||||
"command": "jupyter.cmd.newNotebook",
|
||||
@@ -223,8 +215,8 @@
|
||||
"title": "%title.openJupyterBook%",
|
||||
"category": "%books-preview-category%",
|
||||
"icon": {
|
||||
"dark": "resources/dark/open_notebook_inverse.svg",
|
||||
"light": "resources/light/open_notebook.svg"
|
||||
"dark": "resources/dark/open_book_inverse.svg",
|
||||
"light": "resources/light/open_book.svg"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -263,20 +255,12 @@
|
||||
{
|
||||
"command": "notebook.command.createBook",
|
||||
"title": "%title.createJupyterBook%",
|
||||
"category": "%books-preview-category%",
|
||||
"icon": {
|
||||
"dark": "resources/dark/open_notebook_inverse.svg",
|
||||
"light": "resources/light/open_notebook.svg"
|
||||
}
|
||||
"category": "%books-preview-category%"
|
||||
},
|
||||
{
|
||||
"command": "notebook.command.openRemoteBook",
|
||||
"title": "%title.openRemoteJupyterBook%",
|
||||
"category": "%books-preview-category%",
|
||||
"icon": {
|
||||
"dark": "resources/dark/open_notebook_inverse.svg",
|
||||
"light": "resources/light/open_notebook.svg"
|
||||
}
|
||||
"category": "%books-preview-category%"
|
||||
},
|
||||
{
|
||||
"command": "notebook.command.pinNotebook",
|
||||
|
||||
7
extensions/notebook/resources/dark/open_book_inverse.svg
Normal file
7
extensions/notebook/resources/dark/open_book_inverse.svg
Normal file
@@ -0,0 +1,7 @@
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M12.015 3.72022L11.944 3.62306H11.4465L10.8336 3.67606C10.7554 3.75297 10.6868 3.83897 10.6293 3.93221V11.6078H9.02144C8.74199 11.607 8.46383 11.6456 8.19531 11.7226C7.92483 11.7862 7.66468 11.8873 7.42248 12.0229V4.20602C7.54107 4.10327 7.66894 4.01161 7.80446 3.93221C7.908 3.57885 8.05102 3.23815 8.23085 2.91645C8.14051 2.93766 8.05152 2.96421 7.96435 2.99595C7.62202 3.12114 7.30361 3.30334 7.02274 3.53474C6.73609 3.31582 6.4149 3.14569 6.07225 3.03128C5.73406 2.90431 5.37658 2.83561 5.01516 2.82812H2.64337V3.62306H1V14.0014H13.0544V4.84197L12.015 3.72022ZM3.40732 3.62306H5.01516C5.31829 3.61487 5.6201 3.66589 5.90347 3.77322C6.18647 3.86117 6.44705 4.00879 6.66742 4.20602V12.0229C6.42282 11.8858 6.15951 11.7846 5.88571 11.7226C5.61745 11.6444 5.33912 11.6057 5.05958 11.6078H3.40732V3.62306ZM1.75506 13.2507V4.418H2.64337V12.3674H5.01516C5.1969 12.3711 5.37807 12.3888 5.55703 12.4204C5.71531 12.4601 5.86986 12.5133 6.01895 12.5794C6.16972 12.6549 6.31514 12.7404 6.45423 12.8355C6.60204 12.9325 6.73644 13.0483 6.85397 13.18L1.75506 13.2507ZM12.2371 13.2507H7.18264C7.30826 13.1205 7.44832 13.0049 7.60015 12.9062C7.71499 12.7976 7.83991 12.7 7.97324 12.6147C8.12841 12.5486 8.28886 12.4954 8.45292 12.4557C8.63957 12.4103 8.82976 12.3807 9.02144 12.3674H11.4465V4.418H12.2371V13.2507Z" fill="white"/>
|
||||
<path d="M12.5922 3.14453V3.16203L12.5835 3.15328L12.5922 3.14453Z" fill="#0095D7"/>
|
||||
<path d="M12.5922 3.14453V3.16203L12.5835 3.15328L12.5922 3.14453Z" fill="#0095D7"/>
|
||||
<path d="M13.4892 1.45695H13.4717V1.43945L13.4892 1.45695Z" fill="#0095D7"/>
|
||||
<path d="M14.9999 1.85486L13.4809 3.36525L13.1433 3.70089L12.5926 3.16209L13.4809 2.27883H12.2284C11.8949 2.30078 11.5676 2.37841 11.2601 2.50848V2.50848C10.9868 2.62852 10.73 2.78288 10.4962 2.96778L10.283 3.15326C10.1072 3.33048 9.95491 3.52936 9.82993 3.74505C9.74101 3.87652 9.66373 4.01542 9.59897 4.16019C9.41394 4.54696 9.31401 4.96853 9.30583 5.39676H8.50635C8.50814 5.04178 8.55591 4.68851 8.64848 4.34567C8.70495 4.14638 8.77621 3.95152 8.86167 3.76272C8.90817 3.63623 8.96771 3.51487 9.03933 3.40058C9.13568 3.24348 9.24252 3.09299 9.35913 2.95011C9.44796 2.83529 9.55455 2.72046 9.66115 2.60564C9.83998 2.43008 10.0364 2.27322 10.2474 2.1375C10.3097 2.08256 10.3783 2.03513 10.4517 1.99618C10.5486 1.93634 10.6495 1.88322 10.7538 1.83719L11.0291 1.72237L11.4022 1.59871C11.7463 1.50291 12.1021 1.45534 12.4593 1.45739H13.4809L12.5926 0.574123L13.1433 0L14.9999 1.85486Z" fill="#0095D7"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.5 KiB |
@@ -1 +0,0 @@
|
||||
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs><style>.cls-1{fill:#fff;}.cls-2{fill:#0095d7;}</style></defs><title>open_notebook_inverse</title><path class="cls-1" d="M12.55,4.21l-.08-.11h-.56l-.69.06a1.54,1.54,0,0,0-.23.29v8.69H9.18a3.32,3.32,0,0,0-.93.13,3.34,3.34,0,0,0-.87.34V4.76a2.88,2.88,0,0,1,.43-.31A5.58,5.58,0,0,1,8.29,3.3a2.63,2.63,0,0,0-.3.09A3.62,3.62,0,0,0,6.93,4a3.68,3.68,0,0,0-1.07-.57A3.58,3.58,0,0,0,4.67,3.2H2v.9H.15V15.85H13.72V5.48ZM2.86,4.1H4.67a2.61,2.61,0,0,1,1,.17,2.32,2.32,0,0,1,.86.49v8.85a3.27,3.27,0,0,0-.88-.34,3.22,3.22,0,0,0-.93-.13H2.86ZM1,15V5H2v9H4.67a3.94,3.94,0,0,1,.61.06,3.2,3.2,0,0,1,.52.18,4.19,4.19,0,0,1,.49.29,2.28,2.28,0,0,1,.45.39ZM12.8,15H7.11a2.7,2.7,0,0,1,.47-.39A2.83,2.83,0,0,1,8,14.28a3.42,3.42,0,0,1,.54-.18A3.81,3.81,0,0,1,9.18,14h2.73V5h.89Z"/><polygon class="cls-2" points="13.2 3.56 13.2 3.58 13.19 3.57 13.2 3.56"/><path class="cls-2" d="M13.19,3.57h0v0Z"/><polygon class="cls-2" points="13.2 3.56 13.2 3.58 13.19 3.57 13.2 3.56"/><polygon class="cls-2" points="14.21 1.65 14.19 1.65 14.19 1.63 14.21 1.65"/><path class="cls-2" d="M15.91,2.1,14.2,3.81l-.38.38-.62-.61v0l1-1H12.79a3.35,3.35,0,0,0-1.09.26h0a3.94,3.94,0,0,0-.86.52l-.24.21s0,0,0,0a3.3,3.3,0,0,0-.51.67,3.1,3.1,0,0,0-.26.47A3.41,3.41,0,0,0,9.5,6.11H8.6a4.68,4.68,0,0,1,.16-1.19A4.74,4.74,0,0,1,9,4.26a2.21,2.21,0,0,1,.2-.41,4.66,4.66,0,0,1,.36-.51c.1-.13.22-.26.34-.39a4.14,4.14,0,0,1,.66-.53,1.19,1.19,0,0,1,.23-.16,2.79,2.79,0,0,1,.34-.18l.31-.13.42-.14a4.32,4.32,0,0,1,1.19-.16h1.15l-1-1L13.82,0Z"/></svg>
|
||||
|
Before Width: | Height: | Size: 1.5 KiB |
4
extensions/notebook/resources/light/open_book.svg
Normal file
4
extensions/notebook/resources/light/open_book.svg
Normal file
@@ -0,0 +1,4 @@
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M11.6608 4.33834L11.592 4.24704H11.1105L10.5173 4.29684C10.4416 4.36911 10.3752 4.44993 10.3196 4.53755V11.7506H8.73766C8.46719 11.7498 8.19798 11.7861 7.9381 11.8585C7.67631 11.9183 7.42453 12.0133 7.19013 12.1407V4.79486C7.3049 4.6983 7.42865 4.61217 7.55981 4.53755C7.66823 4.20443 7.81532 3.88421 7.99828 3.583C7.91085 3.60294 7.82472 3.62788 7.74036 3.65771C7.40904 3.77536 7.10087 3.94658 6.82904 4.16403C6.5516 3.95831 6.24074 3.79843 5.90911 3.69091C5.5818 3.5716 5.23581 3.50703 4.88602 3.5H2.55613V4.24704H1V14H12.6667V5.39249L11.6608 4.33834ZM3.32989 4.24704H4.88602C5.1794 4.23934 5.4715 4.28728 5.74576 4.38814C6.01966 4.47079 6.27185 4.60952 6.48514 4.79486V12.1407C6.2484 12.0118 5.99356 11.9168 5.72857 11.8585C5.46894 11.785 5.19956 11.7486 4.92901 11.7506H3.32989V4.24704ZM1.77377 13.2945V4.99407H2.55613V12.4644H4.88602C5.06191 12.4679 5.23726 12.4845 5.41046 12.5142C5.56365 12.5515 5.71323 12.6015 5.85753 12.6636C6.00344 12.7346 6.14419 12.815 6.2788 12.9043C6.42187 12.9955 6.55194 13.1043 6.66568 13.2281L1.77377 13.2945ZM11.8757 13.2945H7.01818C7.13976 13.1722 7.27531 13.0636 7.42226 12.9708C7.5485 12.878 7.68383 12.7974 7.82633 12.73C7.97652 12.6679 8.13181 12.6179 8.29059 12.5806C8.43659 12.5318 8.58598 12.4929 8.73766 12.4644H11.0847V4.99407H11.8499L11.8757 13.2945Z" fill="#212121"/>
|
||||
<path d="M14.9998 1.60656L13.5837 2.91475L13.278 3.20546L12.7791 2.7388L13.5837 1.97377H12.4895C12.1875 1.99278 11.891 2.06003 11.6125 2.17268V2.17268C11.3649 2.27665 11.1324 2.41035 10.9205 2.57049L10.7274 2.73115C10.5682 2.88464 10.4303 3.0569 10.3171 3.24372C10.2365 3.35759 10.1665 3.4779 10.1079 3.60328C9.95801 3.93938 9.884 4.30166 9.89064 4.66667H9.1665C9.16813 4.35921 9.21139 4.05323 9.29524 3.75628C9.349 3.58346 9.41624 3.41469 9.49639 3.25137C9.53851 3.14181 9.59243 3.0367 9.65731 2.9377C9.74458 2.80164 9.84135 2.67129 9.94696 2.54754C10.0274 2.44809 10.124 2.34863 10.2205 2.24918C10.3825 2.09713 10.5604 1.96126 10.7516 1.84372C10.808 1.79613 10.8701 1.75504 10.9366 1.72131C11.0116 1.67354 11.0895 1.63011 11.17 1.59126L11.4194 1.4918L11.7573 1.3847C12.0689 1.30172 12.3912 1.26052 12.7148 1.2623H13.6401L12.8355 0.497268L13.3182 0L14.9998 1.60656Z" fill="#00539C"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.3 KiB |
@@ -1 +0,0 @@
|
||||
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs><style>.cls-1{fill:#00539c;}</style></defs><title>open_notebook</title><path d="M12.4,4.21l-.08-.11h-.56l-.69.06a1.54,1.54,0,0,0-.23.29v8.69H9a3.32,3.32,0,0,0-.93.13,3.34,3.34,0,0,0-.87.34V4.76a2.88,2.88,0,0,1,.43-.31A5.58,5.58,0,0,1,8.14,3.3a2.63,2.63,0,0,0-.3.09A3.62,3.62,0,0,0,6.78,4a3.68,3.68,0,0,0-1.07-.57A3.58,3.58,0,0,0,4.52,3.2H1.81v.9H0V15.85H13.57V5.48ZM2.71,4.1H4.52a2.61,2.61,0,0,1,1,.17,2.32,2.32,0,0,1,.86.49v8.85a3.27,3.27,0,0,0-.88-.34,3.22,3.22,0,0,0-.93-.13H2.71ZM.9,15V5h.91v9H4.52a3.94,3.94,0,0,1,.61.06,3.2,3.2,0,0,1,.52.18,4.19,4.19,0,0,1,.49.29,2.28,2.28,0,0,1,.45.39Zm11.75,0H7a2.7,2.7,0,0,1,.47-.39,2.83,2.83,0,0,1,.47-.29,3.42,3.42,0,0,1,.54-.18A3.81,3.81,0,0,1,9,14h2.73V5h.89Z"/><polygon class="cls-1" points="13.05 3.56 13.05 3.58 13.04 3.57 13.05 3.56"/><path class="cls-1" d="M13,3.57h0v0Z"/><polygon class="cls-1" points="13.05 3.56 13.05 3.58 13.04 3.57 13.05 3.56"/><polygon class="cls-1" points="14.06 1.65 14.04 1.65 14.04 1.63 14.06 1.65"/><path class="cls-1" d="M15.76,2.1,14,3.81l-.38.38L13,3.58v0l1-1H12.64a3.35,3.35,0,0,0-1.09.26h0a3.94,3.94,0,0,0-.86.52l-.24.21s0,0,0,0a3.3,3.3,0,0,0-.51.67,3.1,3.1,0,0,0-.26.47,3.41,3.41,0,0,0-.27,1.39h-.9a4.68,4.68,0,0,1,.16-1.19,4.74,4.74,0,0,1,.25-.66,2.21,2.21,0,0,1,.2-.41,4.66,4.66,0,0,1,.36-.51c.1-.13.22-.26.34-.39a4.14,4.14,0,0,1,.66-.53,1.19,1.19,0,0,1,.23-.16A2.79,2.79,0,0,1,11,2.08l.31-.13.42-.14a4.32,4.32,0,0,1,1.19-.16h1.15l-1-1L13.67,0Z"/></svg>
|
||||
|
Before Width: | Height: | Size: 1.5 KiB |
Reference in New Issue
Block a user