material-metal-theme

Material design-inspired theme for Swing's metal look and feel.

License

License

GPLv2 with Classpath Exception
GroupId

GroupId

com.github.mrcjkb
ArtifactId

ArtifactId

material-metal-theme
Last Version

Last Version

1.1.0
Release Date

Release Date

Type

Type

pom
Description

Description

material-metal-theme
Material design-inspired theme for Swing's metal look and feel.
Project URL

Project URL

https://github.com/MrcJkb/material-metal-theme/
Source Code Management

Source Code Management

https://github.com/MrcJkb/material-metal-theme/

Download material-metal-theme

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.mrcjkb/material-metal-theme/ -->
<dependency>
    <groupId>com.github.mrcjkb</groupId>
    <artifactId>material-metal-theme</artifactId>
    <version>1.1.0</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.github.mrcjkb/material-metal-theme/
implementation 'com.github.mrcjkb:material-metal-theme:1.1.0'
// https://jarcasting.com/artifacts/com.github.mrcjkb/material-metal-theme/
implementation ("com.github.mrcjkb:material-metal-theme:1.1.0")
'com.github.mrcjkb:material-metal-theme:pom:1.1.0'
<dependency org="com.github.mrcjkb" name="material-metal-theme" rev="1.1.0">
  <artifact name="material-metal-theme" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.github.mrcjkb', module='material-metal-theme', version='1.1.0')
)
libraryDependencies += "com.github.mrcjkb" % "material-metal-theme" % "1.1.0"
[com.github.mrcjkb/material-metal-theme "1.1.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Dark and light material design Metal themes for Swing.

Maven Central

Use

The theme uses the Builder pattern for defining primary, secondary and accent colors. See DarkMaterialSwingTheme.builder() and LightMaterialSwingTheme.builder(). The primary colour should be a grey tone for each theme.

If only primary1 is specified (the first primary color), defaults are chosen for the others, based on primary1.

Example: MetalLookAndFeel.setCurrentTheme(DarkMaterialSwingTheme.builder().withPrimary1(new ColorUIResource(62, 62, 62).withAccent1(new ColorUIResource(0, 120, 255)).withAccent2(new ColorUIResource(Color.GREEN)).build());

Libraries - Credits

Copyright notice - material-ui-swing

Some code has been based on material-ui-swing by Atharva Washimkar.

MIT License

Copyright (c) 2017 atharva washimkar

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

SVG Icons

The SVG icons used in this library were transcoded using Photon: https://github.com/kirill-grouchnikov/radiance/blob/master/docs/photon/photon.md

Versions

Version
1.1.0
1.0.1
1.0.0
0.4.9
0.4.8
0.4.7
0.4.6
0.4.5
0.4.4
0.4.3
0.4.2
0.4.1
0.4.0
0.3.5
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.2.1
0.2.0
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1