Class MycelTheme

java.lang.Object
my.celium.org.client.MycelTheme

public final class MycelTheme extends Object
The MyCelium wiki dark theme for screens and HUD text: flat neutrals, one red accent, 2px borders, hard offset card shadows. Colors are ARGB for drawing; text tones match TextUtil's chat palette. Client only.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Wiki --accent.
    static final int
    Wiki --accent-dark: header bar, active tab.
    static final int
    Missing, too expensive, errors.
    static final int
    Wiki --bg.
    static final int
    Wiki --border.
    static final int
    Wiki --muted.
    static final int
    Wiki comment grey: hints, separators.
    static final int
    Wiki green: have, cheap, done.
    static final int
    Bottom edge under the header bar.
    static final int
    Titles.
    static final int
    Wiki blue: names, keys, links.
    static final int
    Wiki --note-bg.
    static final int
    Disabled text.
    static final int
    Dimmed world behind a full screen.
    static final int
    Hard offset card shadow.
    static final int
    Wiki --code-bg: rows, inputs, chips.
    static final int
    Wiki --text.
    static final int
    Wiki purple: values.
    static final int
    Wiki orange: pricey, maxed, attention.
    static final int
    Every other list row.
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.network.chat.MutableComponent
    colored(String text, int argb)
    Text in an ARGB theme color (alpha is ignored).
    static String
    fit(net.minecraft.client.gui.Font font, String text, int maxWidth)
    text, cut with an ellipsis so it fits maxWidth pixels.
    static void
    panel(net.minecraft.client.gui.GuiGraphicsExtractor gfx, int x0, int y0, int x1, int y1)
    A wiki card: hard offset shadow, 2px border, flat body.

    Methods inherited from class Object

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

  • Method Details

    • panel

      public static void panel(net.minecraft.client.gui.GuiGraphicsExtractor gfx, int x0, int y0, int x1, int y1)
      A wiki card: hard offset shadow, 2px border, flat body.
    • colored

      public static net.minecraft.network.chat.MutableComponent colored(String text, int argb)
      Text in an ARGB theme color (alpha is ignored).
    • fit

      public static String fit(net.minecraft.client.gui.Font font, String text, int maxWidth)
      text, cut with an ellipsis so it fits maxWidth pixels.