Class Styles


  • public class Styles
    extends java.lang.Object
    All styles that the GUI uses. Contains font styles and colors.
    Author:
    Luna Otte
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String FONT_FAMILY
      The font family used by all UI text
      static float FONT_SIZE_BASE
      Base font size.
      static float FONT_SIZE_LARGE
      Large font size.
      static float FONT_SIZE_SMALL
      Small font size.
      static float FONT_SIZE_TINY
      Tiny font size
      static java.awt.Color[] palette
      The color palette used to color in regions.
      static java.awt.Color SURFACE_100
      Main UI blue-gray color; Shade 100.
      static java.awt.Color SURFACE_200
      Main UI blue-gray color; Shade 200
      static java.awt.Color SURFACE_300
      Main UI blue-gray color; Shade 300
      static java.awt.Color SURFACE_400
      Main UI blue-gray color; Shade 400.
      static java.awt.Color SURFACE_50
      Main UI blue-gray color; Shade 50
      static java.awt.Color SURFACE_500
      Main UI blue-gray color; Shade 500
      static java.awt.Color SURFACE_600
      Main UI blue-gray color; Shade 600
      static java.awt.Color SURFACE_700
      Main UI blue-gray color; Shade 700
      static java.awt.Color SURFACE_800
      Main UI blue-gray color; Shade 800.
      static java.awt.Color SURFACE_900
      Main UI blue-gray color; Shade 900.
      static java.awt.Color SURFACE_950
      Main UI blue-gray color; Shade 950.
    • Constructor Summary

      Constructors 
      Constructor Description
      Styles()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • palette

        public static final java.awt.Color[] palette
        The color palette used to color in regions.
      • SURFACE_50

        public static java.awt.Color SURFACE_50
        Main UI blue-gray color; Shade 50
      • SURFACE_100

        public static java.awt.Color SURFACE_100
        Main UI blue-gray color; Shade 100. Use this for main text
      • SURFACE_200

        public static java.awt.Color SURFACE_200
        Main UI blue-gray color; Shade 200
      • SURFACE_300

        public static java.awt.Color SURFACE_300
        Main UI blue-gray color; Shade 300
      • SURFACE_400

        public static java.awt.Color SURFACE_400
        Main UI blue-gray color; Shade 400. Use this for muted text
      • SURFACE_500

        public static java.awt.Color SURFACE_500
        Main UI blue-gray color; Shade 500
      • SURFACE_600

        public static java.awt.Color SURFACE_600
        Main UI blue-gray color; Shade 600
      • SURFACE_700

        public static java.awt.Color SURFACE_700
        Main UI blue-gray color; Shade 700
      • SURFACE_800

        public static java.awt.Color SURFACE_800
        Main UI blue-gray color; Shade 800. Use this for elevated backgrounds
      • SURFACE_900

        public static java.awt.Color SURFACE_900
        Main UI blue-gray color; Shade 900. Use this for elevated backgrounds
      • SURFACE_950

        public static java.awt.Color SURFACE_950
        Main UI blue-gray color; Shade 950. Use this for main backgrounds
      • FONT_FAMILY

        public static java.lang.String FONT_FAMILY
        The font family used by all UI text
      • FONT_SIZE_TINY

        public static final float FONT_SIZE_TINY
        Tiny font size
        See Also:
        Constant Field Values
      • FONT_SIZE_SMALL

        public static final float FONT_SIZE_SMALL
        Small font size. Use this for subtext.
        See Also:
        Constant Field Values
      • FONT_SIZE_BASE

        public static final float FONT_SIZE_BASE
        Base font size. Most of the time, you'll want this.
        See Also:
        Constant Field Values
      • FONT_SIZE_LARGE

        public static final float FONT_SIZE_LARGE
        Large font size.

        Use this for titles, important information, or in contexts where compact information density is not required.

        See Also:
        Constant Field Values
    • Constructor Detail

      • Styles

        public Styles()