Browse Source

Added (missing/pending) image icons.

pull/139/head
weisj 5 years ago
parent
commit
c88e1f9acb
  1. 26
      core/src/main/resources/com/github/weisj/darklaf/icons/files/image.svg
  2. 42
      core/src/main/resources/com/github/weisj/darklaf/icons/files/missingImage.svg
  3. 40
      core/src/main/resources/com/github/weisj/darklaf/icons/files/pendingImage.svg
  4. 2
      core/src/main/resources/com/github/weisj/darklaf/properties/globals.properties
  5. 57
      core/src/main/resources/com/github/weisj/darklaf/properties/icons/files.properties

26
core/src/main/resources/com/github/weisj/darklaf/icons/files/image.svg

@ -0,0 +1,26 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
<defs id="colors">
<linearGradient id="Icons.image.color" opacity="Icons.image.opacity">
<stop offset="0" stop-color="#9AA7B0" stop-opacity=".8"/>
<stop offset="1" stop-color="#9AA7B0" stop-opacity=".8"/>
</linearGradient>
<linearGradient id="Icons.image.sky.color">
<stop offset="0" stop-color="#40B6E0"/>
<stop offset="1" stop-color="#40B6E0"/>
</linearGradient>
<linearGradient id="Icons.image.grass.color">
<stop offset="0" stop-color="#62B543"/>
<stop offset="1" stop-color="#62B543"/>
</linearGradient>
</defs>
<g fill="url(#Icons.image.color)" fill-opacity=".8">
<polygon points="7 1 3 5 7 5"/>
<path d="M8,1 L8,6 L3,6 L3,15 L13,15 L13,1 L8,1 Z M12,14 L4,14 L4,7 L12,7 L12,14 Z"/>
</g>
<g transform="translate(5 8)">
<path fill="url(#Icons.image.grass.color)"
d="M6,5 L0,5 L0,3.33333333 C0,3.33333333 1.76880857,1.7536 2.57142857,2.5 C3.5627607,3.31115884 4.73773287,3.88232587 6,4.16666667 L6,5 Z"/>
<path fill="url(#Icons.image.sky.color)"
d="M0,0 L6,0 L6,3.33333333 C4.73770486,3.04906817 3.56271528,2.47789268 2.57142857,1.66666667 C1.76869714,0.920408333 1.66533454e-16,2.5 1.66533454e-16,2.5 L0,0 Z M4.5,2 C4.77614237,2 5,1.77614237 5,1.5 C5,1.22385763 4.77614237,1 4.5,1 C4.22385763,1 4,1.22385763 4,1.5 C4,1.77614237 4.22385763,2 4.5,2 Z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

42
core/src/main/resources/com/github/weisj/darklaf/icons/files/missingImage.svg

@ -0,0 +1,42 @@
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" viewBox="0 0 16 16">
<defs id="colors">
<linearGradient id="Icons.image.missing.color" opacity="Icons.image.missing.opacity">
<stop offset="0" stop-color="#9AA7B0" stop-opacity=".8"/>
<stop offset="1" stop-color="#9AA7B0" stop-opacity=".8"/>
</linearGradient>
<linearGradient id="Icons.image.missing.sky.color">
<stop offset="0" stop-color="#40B6E0"/>
<stop offset="1" stop-color="#40B6E0"/>
</linearGradient>
<linearGradient id="Icons.image.missing.grass.color">
<stop offset="0" stop-color="#62B543"/>
<stop offset="1" stop-color="#62B543"/>
</linearGradient>
<linearGradient id="Icons.image.missing.indicatorColor">
<stop offset="0" stop-color="#DB5860"/>
<stop offset="1" stop-color="#DB5860"/>
</linearGradient>
<linearGradient id="Icons.image.missing.indicator.foregroundColor"
opacity="Icons.image.missing.indicator.foregroundOpacity">
<stop offset="0" stop-color="#231F20" stop-opacity=".8"/>
<stop offset="1" stop-color="#231F20" stop-opacity=".8"/>
</linearGradient>
</defs>
<g fill="url(#Icons.image.missing.color)">
<rect x="1" y="1" class="st0" width="1" height="11.3"/>
<rect x="2" y="1" class="st0" width="12" height="1"/>
<path class="st0" d="M7,12.5c0-0.1,0-0.1,0-0.2H1v1h6.1C7,13,7,12.8,7,12.5z"/>
<path class="st0" d="M15,9.7V1h-1v7.8C14.4,9,14.7,9.3,15,9.7z"/>
</g>
<path fill="url(#Icons.image.missing.sky.color)" d="M11.2,8c0.1,0,0.2,0,0.3,0c0.5,0,1,0.1,1.5,0.3V3H3v4.2c0,0,2.9-2.8,4.3-1.4C8.5,6.8,9.8,7.5,11.2,8z M10.5,4.7
c0.6,0,0.8,0.4,0.8,0.9s-0.2,0.8-0.8,0.8c-0.5,0-0.8-0.3-0.8-0.9C9.7,5,9.9,4.7,10.5,4.7z"/>
<path fill="url(#Icons.image.missing.grass.color)"
d="M9.3,8.6c-0.7-0.4-1.4-0.9-2-1.4C6,5.9,3,8.6,3,8.6v2.8h4.1C7.5,10.2,8.2,9.2,9.3,8.6z"/>
<path fill="url(#Icons.image.missing.indicatorColor)"
d="M15,12.5c0,1.9-1.6,3.5-3.5,3.5S8,14.4,8,12.5S9.6,9,11.5,9S15,10.6,15,12.5"/>
<g fill="url(#Icons.image.missing.indicator.foregroundColor)">
<polygon points="13.6,11.1 12.9,10.4 11.5,11.8 10.1,10.4 9.4,11.1 10.8,12.5 9.4,13.9 10.1,14.6 11.5,13.2 12.9,14.6
13.6,13.9 12.2,12.5 "/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.4 KiB

40
core/src/main/resources/com/github/weisj/darklaf/icons/files/pendingImage.svg

@ -0,0 +1,40 @@
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" viewBox="0 0 16 16">
<defs id="colors">
<linearGradient id="Icons.image.pending.color" opacity="Icons.image.pending.opacity">
<stop offset="0" stop-color="#9AA7B0" stop-opacity=".8"/>
<stop offset="1" stop-color="#9AA7B0" stop-opacity=".8"/>
</linearGradient>
<linearGradient id="Icons.image.pending.sky.color">
<stop offset="0" stop-color="#40B6E0"/>
<stop offset="1" stop-color="#40B6E0"/>
</linearGradient>
<linearGradient id="Icons.image.pending.grass.color">
<stop offset="0" stop-color="#62B543"/>
<stop offset="1" stop-color="#62B543"/>
</linearGradient>
<linearGradient id="Icons.image.pending.indicatorColor">
<stop offset="0" stop-color="#e2a53a"/>
<stop offset="1" stop-color="#e2a53a"/>
</linearGradient>
<linearGradient id="Icons.image.pending.indicator.foregroundColor"
opacity="Icons.image.pending.indicator.foregroundOpacity">
<stop offset="0" stop-color="#231F20" stop-opacity=".8"/>
<stop offset="1" stop-color="#231F20" stop-opacity=".8"/>
</linearGradient>
</defs>
<g fill="url(#Icons.image.pending.color)">
<rect x="1" y="1" class="st0" width="1" height="11.3"/>
<rect x="2" y="1" class="st0" width="12" height="1"/>
<path class="st0" d="M7,12.5c0-0.1,0-0.1,0-0.2H1v1h6.1C7,13,7,12.8,7,12.5z"/>
<path class="st0" d="M15,9.7V1h-1v7.8C14.4,9,14.7,9.3,15,9.7z"/>
</g>
<path fill="url(#Icons.image.pending.sky.color)" d="M11.2,8c0.1,0,0.2,0,0.3,0c0.5,0,1,0.1,1.5,0.3V3H3v4.2c0,0,2.9-2.8,4.3-1.4C8.5,6.8,9.8,7.5,11.2,8z M10.5,4.7
c0.6,0,0.8,0.4,0.8,0.9s-0.2,0.8-0.8,0.8c-0.5,0-0.8-0.3-0.8-0.9C9.7,5,9.9,4.7,10.5,4.7z"/>
<path fill="url(#Icons.image.pending.grass.color)"
d="M9.3,8.6c-0.7-0.4-1.4-0.9-2-1.4C6,5.9,3,8.6,3,8.6v2.8h4.1C7.5,10.2,8.2,9.2,9.3,8.6z"/>
<path fill="url(#Icons.image.pending.indicatorColor)"
d="M15,12.5c0,1.9-1.6,3.5-3.5,3.5S8,14.4,8,12.5S9.6,9,11.5,9S15,10.6,15,12.5"/>
<path fill="url(#Icons.image.pending.indicator.foregroundColor)" d="M10,14.9V14l1.1-1.5L10,11v-0.8h3V11l-1.1,1.5L13,14v0.8H10z M10.8,14.1h1.4l-0.7-1L10.8,14.1z M11.5,11.9
l0.7-1h-1.4L11.5,11.9z"/>
</svg>

After

Width:  |  Height:  |  Size: 2.3 KiB

2
core/src/main/resources/com/github/weisj/darklaf/properties/globals.properties

@ -46,6 +46,8 @@ control = %background
####Icons####
ArrowButton.up.icon = navigation/arrowUp.svg[themed]
ArrowButton.down.icon = navigation/arrowDown.svg[themed]
html.pendingImage = files/pendingImage.svg[themed](32,32)
html.missingImage = files/missingImage.svg[themed](32,32)
link.foreground = %hyperlink
Hyperlink.linkColor = %hyperlink

57
core/src/main/resources/com/github/weisj/darklaf/properties/icons/files.properties

@ -22,29 +22,50 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
Icons.desktop.color = %menuIconEnabled
Icons.desktop.color = %menuIconEnabled
Icons.drive.color = %fileIconBackground
Icons.drive.dotColor = %fileIconHighlight
Icons.drive.opacity = %fileIconOpacity
Icons.drive.color = %fileIconBackground
Icons.drive.dotColor = %fileIconHighlight
Icons.drive.opacity = %fileIconOpacity
Icons.folder.color = %fileIconBackground
Icons.folder.opacity = %fileIconOpacity
Icons.folder.color = %fileIconBackground
Icons.folder.opacity = %fileIconOpacity
Icons.generalFile.color = %fileIconBackground
Icons.generalFile.opacity = %fileIconOpacity
Icons.generalFile.color = %fileIconBackground
Icons.generalFile.opacity = %fileIconOpacity
Icons.homeFolder.color = %menuIconEnabled
Icons.homeFolder.color = %menuIconEnabled
Icons.newFolder.color = %menuIconEnabled
Icons.newFolder.color = %menuIconEnabled
Icons.textFile.color = %fileIconBackground
Icons.textFile.foregroundColor = %fileIconForeground
Icons.textFile.opacity = %fileIconOpacity
Icons.textFile.color = %fileIconBackground
Icons.textFile.foregroundColor = %fileIconForeground
Icons.textFile.opacity = %fileIconOpacity
Icons.unknownFile.color = %fileIconBackground
Icons.unknownFile.questionColor = %menuIconHighlight
Icons.image.color = %fileIconBackground
Icons.image.opacity = %fileIconOpacity
Icons.image.sky.color = 40B6E0
Icons.image.grass.color = 62B543
Icons.upFolder.color = %fileIconBackground
Icons.upFolder.arrowColor = %menuIconHighlight
Icons.upFolder.opacity = %fileIconOpacity
Icons.image.pending.color = %fileIconBackground
Icons.image.pending.opacity = %fileIconOpacity
Icons.image.pending.sky.color = 40B6E0
Icons.image.pending.grass.color = 62B543
Icons.image.pending.indicatorColor = %warningIconColor
Icons.image.pending.indicator.foregroundColor = %fileIconForeground
Icons.image.pending.indicator.foregroundOpacity = %fileIconOpacity
Icons.image.missing.color = %fileIconBackground
Icons.image.missing.opacity = %fileIconOpacity
Icons.image.missing.sky.color = 40B6E0
Icons.image.missing.grass.color = 62B543
Icons.image.missing.indicatorColor = %errorIconColor
Icons.image.missing.indicator.foregroundColor = %fileIconForeground
Icons.image.missing.indicator.foregroundOpacity = %fileIconOpacity
Icons.unknownFile.color = %fileIconBackground
Icons.unknownFile.questionColor = %menuIconHighlight
Icons.upFolder.color = %fileIconBackground
Icons.upFolder.arrowColor = %menuIconHighlight
Icons.upFolder.opacity = %fileIconOpacity

Loading…
Cancel
Save