Ask theme for mainsite

I tried, to the best of my abilities, to make a 1:1 clone of the Replit Ask theme for mainsite Replit. I like the Ask CSS so much and after spending so much time here, it’s nice to have uniformity between mainsite and Ask in their appearances.
https://replit.com/theme/@CoderElijah/replit-ask

2 Likes

I think Ironclad just stole the colors from the default Replit dark theme soo…

You had me worried for a moment as they are similar. However, upon closer inspection, there are differences.

Ask

class Author:
  def __init__(self, first_name, last_name, year_born):
    self.first_name = first_name
    self.last_name = last_name
    self.year_born = year_born

  def get_full_name(self):
    return self.first_name + " " + self.last_name

# Create a new Author
author = Author("Douglas", "Adams", 1952)
author.first_name = "Doug"

# Prints "Doug Adams"
fullName = author.get_full_name()
print(fullName)

image

Replit Dark

image

1 Like

some things you can’t change I think cause it’s Discourse.


I also made one with bold keywords and stuff and italicized comments if you wanna check it out, it’s based on the code blocks in drafts and chats:

Draft code block

1 Like

Oh I do need to italicize comments. I’ll have to look into that.

1 Like

There used to be a website that lets you do it easily (https://advanced-replit-theme-editor.erikoxdev.repl.co/) but now it just says “Run this Repl to see the results” and I have no idea why

1 Like

Forking seems to have fixed the issue. https://advanced-replit-theme-editor.coderelijah.repl.co/

1 Like

I don’t understand how I didn’t think of that. Amazing, thank you.

2 Likes

Using that site, I believe I have created a far more accurate rendition, complete with bold and italics. Let me know if I missed something.
image

class Author:
  def __init__(self, first_name, last_name, year_born):
    self.first_name = first_name
    self.last_name = last_name
    self.year_born = year_born

  def get_full_name(self):
    return self.first_name + " " + self.last_name

# Create a new Author
author = Author("Douglas", "Adams", 1952)
author.first_name = "Doug"

# Prints "Doug Adams"
fullName = author.get_full_name()
print(fullName)
2 Likes

I’m pretty sure you can change the font with that site too. Nice job btw!

1 Like