Skip to content

Rosé Pine Twitter by apriltaoyvr

Screenshot of Rosé Pine Twitter

Details

Authorapriltaoyvr

LicenseNo License

CategoryGNU-V3.0

Created

Updated

Size6.6 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

"All natural pine, faux fur and a bit of soho vibes for the classy minimalist."

A Rosé Pine based theme for twitter. Supports light and dark mode.

Notes

Rosé Pine Twitter

A Stylus theme for Twitter, using the Rosé Pine palette.

For the default Rosé Pine and Rosé Pine Moon, please switch to the dark theme on twitter.

Screenshots

Rosé Pine Rosé Pine Moon Rosé Pine Dawn
image image image

Installation

  1. Install Stylus
  2. Download the theme from here or via Userstyles
  3. Activate the theme

Notes

  • The accent colours for some text is hardcoded onto twitter without selectors. There is not much I can do about this unfortunately.
  • main.user.css is written in UserCSS for customization
    • The base is written in SCSS for convenience, main.user.css is written off of the compiled SCSS

Source code

/* ==UserStyle==
@name Rose Pine Twitter
@namespace github.com/apriltaoyvr/rosepine-twitter
@homepageURL https://github.com/artilate/rosepine-twitter
@version 1.7
@description Rose Pine for Twitter
@author apriltaoyvr
@license GNU-V3.0

@preprocessor stylus

@var select theme "Theme" ["default:Rose Pine*", "moon:Rose Pine Moon", "dawn:Rose Pine Dawn"]

@var select logo "Logo Colour" [
  "Default*",
  "Love",
  "Pine",
  "Rose",
  "Gold",
  "Iris",
  "Foam"
]

==/UserStyle== */
@-moz-document domain("twitter.com") {
  :root {
    --white: hsl(35, 100%, 98%);

    if theme==default {
      --text: hsl(245, 50%, 91%);
      --base: hsl(249, 22%, 12%);
      --surface: hsl(247, 23%, 15%);
      --surface-transparent: hsla(247, 23%, 15%, 0.5);
      --overlay: hsl(248, 25%, 18%);
      --muted: hsl(249, 12%, 47%);
      --subtle: hsl(248deg, 15%, 61%);
      --highlight-low: hsl(244, 18%, 15%);
      --highlight-med: hsl(249, 15%, 28%);
      --highlight-high: hsl(248, 13%, 36%);
      --love: hsl(343deg 76% 68%);
      --pine: hsl(197deg 49% 38%);
      --gold: hsl(35deg 88% 72%);
      --iris: hsl(267deg 57% 78%);
      --rose: hsl(2deg 55% 83%);
      --foam: hsl(189deg 43% 73%);
    }

    else if theme==moon {
      --text: hsl(245, 50%, 91%);
      --base: hsl(246deg 24% 17%);
      --surface: hsl(248deg 24% 20%);
      --surface-transparent: hsla(248deg 24% 20%, 0.5);
      --overlay: hsl(248deg 21% 26%);
      --muted: hsl(249deg 12% 47%);
      --subtle: hsl(248deg, 15%, 61%);
      --highlight-low: hsl(245deg 22% 20%);
      --highlight-med: hsl(247deg 16% 30%);
      --highlight-high: hsl(249deg 15% 38%);
      --love: hsl(343deg 76% 68%);
      --pine: hsl(197deg 48% 47%);
      --gold: hsl(35deg 88% 72%);
      --iris: hsl(267deg 57% 78%);
      --rose: hsl(2deg 55% 83%);
      --foam: hsl(189deg 43% 73%);
    }

    else {
      --text: hsl(248deg 19% 40%);
      --base: hsl(32, 57%, 95%);
      --surface: var(--white);
      --surface-transparent: hsla(35deg 100% 98%, 0.5);
      --overlay: hsl(33deg 43% 91%);
      --muted: hsl(257deg 9% 61%);
      --subtle: hsl(248deg, 12%, 52%);
      --highlight-low: hsl(25deg 35% 93%);
      --highlight-med: hsl(10deg 9% 86%);
      --highlight-high: hsl(315deg 4% 80%);
      --love: hsl(343deg 35% 55%);
      --pine: hsl(197deg 53% 34%);
      --gold: hsl(35deg 81% 56%);
      --iris: hsl(268deg 21% 57%);
      --rose: hsl(3deg 53% 67%);
      --foam: hsl(189deg 30% 48%);
    }
  }

  /* Logo */
  .r-13v1u17 {
    if logo=='Love' {
      color: var(--love);
    }

    else if logo=='Pine' {
      color: var(--pine);
    }

    else if logo=='Gold' {
      color: var(--gold);
    }

    else if logo=='Iris' {
      color: var(--iris);
    }

    else if logo=='Rose' {
      color: var(--rose);
    }

    else if logo=='Foam' {
      color: var(--foam);
    }

    else {
      color: var(--muted);
    }
  }

  /* Background */
  body {
    background-color: var(--base) !important;
  }

  /* Text */
  .r-jwli3a {
    color: var(--white);
  }

  .r-1bwzh9t {
    color: var(--muted);
  }

  .r-1nao33i,
  .r-18jsvk2 {
    color: var(--text);
  }

  input::-webkit-input-placeholder {
    color: var(--subtle) !important;
  }

  input::-moz-placeholder {
    color: var(--subtle) !important;
  }

  input:-ms-input-placeholder {
    color: var(--subtle) !important;
  }

  input::-ms-input-placeholder {
    color: var(--subtle) !important;
  }

  input::placeholder {
    color: var(--subtle) !important;
  }

  /* Logo */
  .r-yyyyoo {
    fill: currentcolor;
  }

  /* Verified SVG */
  .r-1cvl2hr {
    color: var(--foam);
  }

  /* Background */
  .r-kemksi {
    background-color: var(--base);
  }

  .r-1sw30gj {
    background-color: var(--highlight-med);
  }

  .r-g2wdr4,
  .r-x572qd {
    background-color: var(--surface);
  }

  /* Border */
  .r-1kqtdi0,
  .r-jxzhtn,
  .r-14wv3jr {
    border-color: var(--highlight-med);
  }

  .r-1igl3o0,
  .r-j5o65s {
    border-bottom-color: var(--highlight-med);
  }

  .r-1bnu78o,
  .r-1bimlpy {
    background-color: var(--highlight-med);
  }

  .css-901oao {
    border-color: var(--base);
  }

  .r-gu4em3 {
    background-color: var(--highlight-high);
  }

  /* Searchbar */
  .r-5zmot,
  .r-6026j {
    background-color: var(--surface-transparent);
  }

  .r-z32n2g {
    background-color: var(--surface);
  }

  /** Accent Colours **/
  .r-4nw3r4 {
    background-color: var(--love);
  }

  .r-vkub15 {
    color: var(--love);
  }

  .r-l5o3uw {
    background-color: var(--pine);
  }

  .r-1to6hqq {
    background-color: var(--gold);
  }

  .r-14lw9ot {
    background-color: var(--white);
  }

  .r-168457u {
    background-color: var(--iris);
  }

  .r-2r9icm {
    background-color: var(--rose);
  }

  .r-s224ru {
    background-color: var(--foam);
  }

  /* Selectors that don't fall under colour classes */
  .css-1dbjc4n.r-11rk87y.r-1dye5f7 > div:nth-child(6) > div > div > div:nth-child(2) > label > svg {
    color: var(--gold) !important;
  }

  .css-1dbjc4n.r-11rk87y.r-1dye5f7 > div:nth-child(6) > div > div > div:nth-child(4) > label > svg {
    color: var(--iris) !important;
  }

  .css-1dbjc4n.r-11rk87y.r-1dye5f7 > div:nth-child(6) > div > div > div:nth-child(5) > label > svg {
    color: var(--rose) !important;
  }

  .css-1dbjc4n.r-11rk87y.r-1dye5f7 > div:nth-child(6) > div > div > div:nth-child(6) > label > svg {
    color: var(--foam) !important;
  }

  /* Accent Selection */
  .css-1dbjc4n.r-11rk87y.r-1dye5f7 > div:nth-child(6) > div > div > div:nth-child(2) > label > svg {
    color: var(--gold);
  }

  .css-1dbjc4n.r-11rk87y.r-1dye5f7 > div:nth-child(6) > div > div > div:nth-child(4) > label > svg {
    color: var(--iris);
  }

  .css-1dbjc4n.r-11rk87y.r-1dye5f7 > div:nth-child(6) > div > div > div:nth-child(5) > label > svg {
    color: var(--rose);
  }

  .css-1dbjc4n.r-11rk87y.r-1dye5f7 > div:nth-child(6) > div > div > div:nth-child(6) > label > svg {
    color: var(--foam);
  }

  /* Hover */
  .r-1vtznih {
    background-color: var(--pine);
  }

  .r-8g4rmw {
    background-color: var(--iris);
  }

  .r-m5n1nr {
    background-color: var(--gold);
  }

  .r-1r4f3zc {
    background-color: var(--love);
  }

  .r-oo8a77 {
    background-color: var(--rose);
  }

  .r-1iwjfv5 {
    background-color: var(--foam);
  }
}

Reviews

No reviews yet.