Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide base dark/light themes #29

Open
ThiefMaster opened this issue Jan 30, 2021 · 2 comments
Open

Provide base dark/light themes #29

ThiefMaster opened this issue Jan 30, 2021 · 2 comments

Comments

@ThiefMaster
Copy link

Since Element does not support overriding just a few things from a default theme it would be nice if there were JSON themes that look exactly like the default ones, just so people have something to use as a base.

For example, I only want to change the monospace font and right now I have to copy TONS of colors from all over the place just for this.

@dylhack dylhack self-assigned this Jan 30, 2021
@aaronraimist
Copy link
Owner

Was just looking at it. It won't be possible to get this exactly right because the variables they give us are not as granular as as all of the CSS variables they use.

{
    "name": "Default light theme",
    "is_dark": false,
    "colors": {
        "accent-color": "#0DBD8B",
        "primary-color": "#238CF5",
        "warning-color": "#FF4B55",

        "sidebar-color": "#27303A",
        "roomlist-background-color": "#F3F8FD",
        "roomlist-text-secondary-color": "#737D8C",
        "roomlist-highlights-color": "#FFFFFF",
        "roomlist-separator-color": "#E3E8F0",

        "timeline-background-color": "#FFFFFF",
        "timeline-text-color": "#2e2f32",
        "timeline-text-secondary-color": "#61708B",
        "timeline-highlights-color": "#F6F7F8",
        "reaction-row-button-selected-bg-color": "#e9fff9"
    }
}

is my first attempt at the default light theme but it's a bit off

@dylhack dylhack assigned aaronraimist and unassigned dylhack Jan 30, 2021
@aaronraimist aaronraimist removed their assignment Jan 30, 2021
@aaronraimist
Copy link
Owner

I ended up fighting with node a lot trying to fix the fonts. I may take a look at this another time but that's about as far as I got.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants