Browse Source

Prevent background bleeding on slider icons.

pull/214/head
weisj 4 years ago
parent
commit
9d3fbc705a
  1. 2
      core/src/main/resources/com/github/weisj/darklaf/icons/control/slider.svg
  2. 2
      core/src/main/resources/com/github/weisj/darklaf/icons/control/sliderDisabled.svg
  3. 2
      core/src/main/resources/com/github/weisj/darklaf/icons/control/sliderFocused.svg
  4. 2
      core/src/main/resources/com/github/weisj/darklaf/icons/control/volumeSlider.svg
  5. 4
      core/src/main/resources/com/github/weisj/darklaf/icons/control/volumeSliderDisabled.svg
  6. 2
      core/src/main/resources/com/github/weisj/darklaf/icons/control/volumeSliderFocused.svg

2
core/src/main/resources/com/github/weisj/darklaf/icons/control/slider.svg

@ -10,8 +10,8 @@
</linearGradient> </linearGradient>
</defs> </defs>
<g transform="translate(2,2)"> <g transform="translate(2,2)">
<polyline fill="url(#Icons.Slider.activeFillColor)" points="15.5,0.5 15.5,11 8,18 0.5,11 0.5,0.5"/>
<path fill="url(#Icons.Slider.borderColor)" <path fill="url(#Icons.Slider.borderColor)"
d="M15,1v9.6l-7,7l-7-7V1H15 M16,0H0v11l8,8l8-8V0L16,0z"/> d="M15,1v9.6l-7,7l-7-7V1H15 M16,0H0v11l8,8l8-8V0L16,0z"/>
<polyline fill="url(#Icons.Slider.activeFillColor)" points="15,1 15,10.6 8,17.6 1,10.6 1,1 15,1 "/>
</g> </g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 776 B

After

Width:  |  Height:  |  Size: 776 B

2
core/src/main/resources/com/github/weisj/darklaf/icons/control/sliderDisabled.svg

@ -10,8 +10,8 @@
</linearGradient> </linearGradient>
</defs> </defs>
<g transform="translate(2,1)"> <g transform="translate(2,1)">
<polyline fill="url(#Icons.SliderDisabled.inactiveFillColor)" points="15.5,0.5 15.5,11 8,18 0.5,11 0.5,0.5"/>
<path fill="url(#Icons.SliderDisabled.inactiveBorderColor)" <path fill="url(#Icons.SliderDisabled.inactiveBorderColor)"
d="M15,1v9.6l-7,7l-7-7V1H15 M16,0H0v11l8,8l8-8V0L16,0z"/> d="M15,1v9.6l-7,7l-7-7V1H15 M16,0H0v11l8,8l8-8V0L16,0z"/>
<polyline fill="url(#Icons.SliderDisabled.inactiveFillColor)" points="15,1 15,10.6 8,17.6 1,10.6 1,1 15,1 "/>
</g> </g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 828 B

After

Width:  |  Height:  |  Size: 828 B

2
core/src/main/resources/com/github/weisj/darklaf/icons/control/sliderFocused.svg

@ -14,10 +14,10 @@
</linearGradient> </linearGradient>
</defs> </defs>
<g transform="translate(2,2)"> <g transform="translate(2,2)">
<polyline fill="url(#Icons.SliderFocused.activeFillColor)" points="15.5,0.5 15.5,11 8,18 0.5,11 0.5,0.5"/>
<path fill="url(#Icons.SliderFocused.glowFocus)" d="M16,0C16,0,16,0,16,0l0,11l-8,8H8l-8-8V0c0,0,0,0,0,0H16 M16-2H0c-1.1,0-2,0.9-2,2V11c0,0.5,0.2,1.1,0.6,1.4 <path fill="url(#Icons.SliderFocused.glowFocus)" d="M16,0C16,0,16,0,16,0l0,11l-8,8H8l-8-8V0c0,0,0,0,0,0H16 M16-2H0c-1.1,0-2,0.9-2,2V11c0,0.5,0.2,1.1,0.6,1.4
l8,8C7,20.8,7.5,21,8,21s1-0.2,1.4-0.6l8-8C17.8,12,18,11.5,18,11V0C18-1.1,17.1-2,16-2L16-2z"/> l8,8C7,20.8,7.5,21,8,21s1-0.2,1.4-0.6l8-8C17.8,12,18,11.5,18,11V0C18-1.1,17.1-2,16-2L16-2z"/>
<path fill="url(#Icons.SliderFocused.focusBorderColor)" <path fill="url(#Icons.SliderFocused.focusBorderColor)"
d="M15,1v9.6l-7,7l-7-7V1H15 M16,0H0v11l8,8l8-8V0L16,0z"/> d="M15,1v9.6l-7,7l-7-7V1H15 M16,0H0v11l8,8l8-8V0L16,0z"/>
<polyline fill="url(#Icons.SliderFocused.activeFillColor)" points="15,1 15,10.6 8,17.6 1,10.6 1,1 15,1 "/>
</g> </g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

2
core/src/main/resources/com/github/weisj/darklaf/icons/control/volumeSlider.svg

@ -10,8 +10,8 @@
</linearGradient> </linearGradient>
</defs> </defs>
<g transform="translate(2,2)"> <g transform="translate(2,2)">
<polyline fill="url(#Icons.VolumeSlider.activeFillColor)" points="15.5,0.5 15.5,11 8,18 0.5,11 0.5,0.5"/>
<path fill="url(#Icons.VolumeSlider.borderColor)" <path fill="url(#Icons.VolumeSlider.borderColor)"
d="M15,1v9.6l-7,7l-7-7V1H15 M16,0H0v11l8,8l8-8V0L16,0z"/> d="M15,1v9.6l-7,7l-7-7V1H15 M16,0H0v11l8,8l8-8V0L16,0z"/>
<polyline fill="url(#Icons.VolumeSlider.activeFillColor)" points="15,1 15,10.6 8,17.6 1,10.6 1,1 15,1 "/>
</g> </g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 800 B

After

Width:  |  Height:  |  Size: 800 B

4
core/src/main/resources/com/github/weisj/darklaf/icons/control/volumeSliderDisabled.svg

@ -10,9 +10,9 @@
</linearGradient> </linearGradient>
</defs> </defs>
<g transform="translate(2,2)"> <g transform="translate(2,2)">
<polyline fill="url(#Icons.VolumeSliderDisabled.inactiveFillColor)"
points="15.5,0.5 15.5,11 8,18 0.5,11 0.5,0.5"/>
<path fill="url(#Icons.VolumeSliderDisabled.inactiveBorderColor)" <path fill="url(#Icons.VolumeSliderDisabled.inactiveBorderColor)"
d="M15,1v9.6l-7,7l-7-7V1H15 M16,0H0v11l8,8l8-8V0L16,0z"/> d="M15,1v9.6l-7,7l-7-7V1H15 M16,0H0v11l8,8l8-8V0L16,0z"/>
<polyline fill="url(#Icons.VolumeSliderDisabled.inactiveFillColor)"
points="15,1 15,10.6 8,17.6 1,10.6 1,1 15,1 "/>
</g> </g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 870 B

After

Width:  |  Height:  |  Size: 870 B

2
core/src/main/resources/com/github/weisj/darklaf/icons/control/volumeSliderFocused.svg

@ -14,10 +14,10 @@
</linearGradient> </linearGradient>
</defs> </defs>
<g transform="translate(2,2)"> <g transform="translate(2,2)">
<polyline fill="url(#Icons.VolumeSliderFocused.activeFillColor)" points="15.5,0.5 15.5,11 8,18 0.5,11 0.5,0.5"/>
<path fill="url(#Icons.VolumeSliderFocused.glowFocus)" d="M16,0C16,0,16,0,16,0l0,11l-8,8H8l-8-8V0c0,0,0,0,0,0H16 M16-2H0c-1.1,0-2,0.9-2,2V11c0,0.5,0.2,1.1,0.6,1.4 <path fill="url(#Icons.VolumeSliderFocused.glowFocus)" d="M16,0C16,0,16,0,16,0l0,11l-8,8H8l-8-8V0c0,0,0,0,0,0H16 M16-2H0c-1.1,0-2,0.9-2,2V11c0,0.5,0.2,1.1,0.6,1.4
l8,8C7,20.8,7.5,21,8,21s1-0.2,1.4-0.6l8-8C17.8,12,18,11.5,18,11V0C18-1.1,17.1-2,16-2L16-2z"/> l8,8C7,20.8,7.5,21,8,21s1-0.2,1.4-0.6l8-8C17.8,12,18,11.5,18,11V0C18-1.1,17.1-2,16-2L16-2z"/>
<path fill="url(#Icons.VolumeSliderFocused.focusBorderColor)" <path fill="url(#Icons.VolumeSliderFocused.focusBorderColor)"
d="M15,1v9.6l-7,7l-7-7V1H15 M16,0H0v11l8,8l8-8V0L16,0z"/> d="M15,1v9.6l-7,7l-7-7V1H15 M16,0H0v11l8,8l8-8V0L16,0z"/>
<polyline fill="url(#Icons.VolumeSliderFocused.activeFillColor)" points="15,1 15,10.6 8,17.6 1,10.6 1,1 15,1 "/>
</g> </g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Loading…
Cancel
Save