Skip to content

Commit

Permalink
Clean up old naming
Browse files Browse the repository at this point in the history
For #400
  • Loading branch information
kirill-grouchnikov committed Jan 4, 2025
1 parent 3eebd1a commit bf76167
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,7 @@ public static RadianceColorScheme2 getLightColorScheme(
/* systemSuccessPalette */ palettes.getSystemSuccessPalette(),
/* systemEmergencyPalette */ palettes.getSystemEmergencyPalette());

PaletteColorResolver paletteColorResolver =
PaletteResolverUtils.getPaletteColorResolver2();
PaletteColorResolver paletteColorResolver = PaletteResolverUtils.getPaletteColorResolver();

ContainerColorTokens neutralContainerTokens = getContainerTokens(
lightScheme, paletteColorResolver.getNeutralContainerResolver());
Expand Down Expand Up @@ -303,8 +302,7 @@ public static RadianceColorScheme2 getDarkColorScheme(
/* systemSuccessPalette */ palettes.getSystemSuccessPalette(),
/* systemEmergencyPalette */ palettes.getSystemEmergencyPalette());

PaletteColorResolver paletteColorResolver =
PaletteResolverUtils.getPaletteColorResolver2();
PaletteColorResolver paletteColorResolver = PaletteResolverUtils.getPaletteColorResolver();

ContainerColorTokens neutralContainerTokens = getContainerTokens(
darkScheme, paletteColorResolver.getNeutralContainerResolver());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
import java.awt.*;

public class PaletteResolverUtils {
public static PaletteColorResolver getPaletteColorResolver2() {
public static PaletteColorResolver getPaletteColorResolver() {
PaletteContainerColorsResolver neutralContainerResolver =
new PaletteContainerColorsResolver() {
@Override
Expand Down

0 comments on commit bf76167

Please sign in to comment.