Android Theming Variables Glossary: Text

Android Theming Variables Glossary: Text

@snejugal, @SventraPopizz, @NeoKio, @AlexStrNik
This part of Android Theming Variables Glossary is about texts.
  • windowBackgroundWhiteBlackText sets the color of almost all texts in the app.
    Be careful: the bot inline result titles color is also set by this variable, although the background of the results isn’t set by windowBackgroundWhite but chat_messagePanelBackground. Consider setting the message panel background the same as windowBackgroundWhite or check the readability of the bot results.
The red areas show “windowBackgroundWhiteBlackText”

Gray text

  • windowBackgroundWhiteGrayText sets the last seen time color in Contacts.
  • windowBackgroundWhiteGrayText2 sets the color of descriptions below option titles in Settings. Also sets the color of the title on graySection.
  • windowBackgroundWhiteGrayText3 sets the color of a session’s IP in Settings → Privacy and Security → Active Sessions.
  • windowBackgroundWhiteGrayText4 sets the color of description texts below sections in Settings.
  • windowBackgroundWhiteGrayText5 sets the color of Telegram version at the bottom in Settings.
  • windowBackgroundWhiteGrayText6 sets the color of description texts below text fields like in Settings → Phone → Change Number and the color of the info text in “What is a Channel?” screen that appears when you try to create a channel (unless you already have one).
    Be careful: this variable sets the color of text like “Please enter your password” on the gray background in Settings → Privacy and Security → Two-step Verification/Passcode Lock when you have either a two-step or a passcode lock password when you have (one of) them set.
  • windowBackgroundWhiteGrayText7 sets the color of a disabled item in Settings → Privacy and Security → Passcode Lock when you have no passcode lock.
  • windowBackgroundWhiteGrayText8 sets the color of the info text in Settings → Username.
The red area at the top shows “windowBackgroundWhiteGrayText”, the purple area shows “windowBackgroundWhiteGrayText2”, the dark blue area shows “windowBackgroundWhiteGrayText3”, the light blue area shows “windowBackgroundWhiteGrayText4”, the green area shows “windowBackgroundWhiteGrayText5”, the yellow area shows “windowBackgroundWhiteGrayText6”, the pink area at the bottom shows “windowBackgroundWhiteGrayText7”, and the brown area shows “windowBackgroundWhiteGrayText8”

Red text

  • windowBackgroundWhiteRedText sets the color of red buttons on dialogs like the “Clear Cache” button in Settings → Data and Storage → Storage Usage → Clear Cache.
    You can’t change this variable with the in-app editor for unknown reasons, so you have to use .attheme editor to change this variable.
  • windowBackgroundWhiteRedText2 sets the color of red buttons in Settings like the “Terminate All Other Sessions” button in Settings → Privacy and Security → Active Sessions.
  • windowBackgroundWhiteRedText3 sets the color of the “Abort two-step verification setup” button in Settings → Privacy and Security → Two-step Verification while setting up a two-step password.
  • windowBackgroundWhiteRedText4 sets the color of warning text below a text field like in Settings → Username when you try to take a username less than 5 symbols or already taken.
  • windowBackgroundWhiteRedText5 sets the color of warning buttons like “Leave Channel” in the channel info screen.
  • windowBackgroundWhiteRedText6 sets the color of “Reset my account” button when you try to sign in your account that has a two-step verification password but you don’t remember it, try to restore it with your email but you can’t access it.
    This variable can’t be changed with the in-app editor (because it closes after you sign out), so you have to use .attheme editor to change this variable.
The red area shows “windowBackgroundWhiteRedText”, the dark blue area shows “windowBackgroundWhiteRedText2”, the green area shows “windowBackgroundWhiteRedText3”, the purple area shows “windowBackgroundWhiteRedText4”, the light blue area shows “windowBackgroundWhiteRedText5”, and the yellow area shows “windowBackgroundWhiteRedText6”

Green text

  • windowBackgroundWhiteGreenText sets the color of success text below text fields like in Settings → Username when you take a username no one has and longer than 5 symbols.
  • windowBackgroundWhiteGreenText2 sets the color of green buttons like “Start Secret Chat” in the chat with a person info screen.
The red area shows “windowBackgroundWhuteGreenText” and the blue area shows “windowBackgroundWhiteGreenText2”

Blue text

  • windowBackgroundWhiteBlueHeader sets the color of section header in Settings.
  • windowBackgroundWhiteBlueText sets the color of the Online status text in Contacts.
  • windowBackgroundWhiteBlueText3 sets the color of the Online status text in search results.
  • windowBackgroundWhiteBlueText4 sets the color of the “Change Number” button in Settings → Phone and also sets the match highlights in search results.
  • windowBackgroundWhiteBlueText5 sets the color of “Create Channel” button in “What is a Channel?” screen that appears when you try to create a new channel (unless you already have one). If the screen doesn’t appear to you, then use .attheme editor to change this variable.
  • windowBackgroundWhiteBlueText6 sets the color of the pay button after you entered all payment data when you’re buying something. You can make a fake pay with @ShopBot to see the button or use .attheme editor to add change the variable.
  • windowBackgroundWhiteBlueText7 sets the “Send your current location” button color in location attachment screen.
  • windowBackgroundWhiteValueText sets the option value color in Settings.
  • windowBackgroundWhiteLinkText sets the color of links, like #hashtags, @usernames or just links in the chat info screen.
The red area shows “windowBackgroundWhiteBlueHeader”, the purple area shows “windowBackgroundWhiteBlueText”, the dark blue area shows “windowBackgroundWhiteBlueText3”, the light blue areas show “windowBackgroundWhiteBlueText4”, the green area shows “windowBackgroundWhiteBlueText5”, the light orange area is “windowBackgroundWhiteBlueText6”, the teal area shows “windowBackgroundWhiteBlueText7”, the light green one shows “windowBackgroundWhiteValueText”, and the dark orange area shows “windowBackgroundWhiteLinkText”
  • windowBackgroundWhiteLinkSelection sets the overlay color that appears when you tap a link.
The red area shows “windowBackgroundWhiteLinkSelection”