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

Ace theme #157

Open
Andreas-UI opened this issue Apr 30, 2021 · 1 comment
Open

Ace theme #157

Andreas-UI opened this issue Apr 30, 2021 · 1 comment

Comments

@Andreas-UI
Copy link

I have been trying to change the ace theme, but it is not working. Moreover, when i tried to remove the github-theme script, unfortunately, the ace editor is still the same

@teury
Copy link

teury commented Dec 19, 2021

image

you can directly modify the colors in a file.

color.css

.ace-github .ace_gutter {
    background: #1d1f21 !important;
}
form .martor-preview  {
    background: #1d1f21 !important;
    margin: 0px 0px 0 32px;
}

form .martor-preview h2 {
    border-bottom: 1px solid #ccc;
    color: white !important;
}
.ace-github {
    background: #141517;
    color:white;
}
.ace-github .ace_heading {
    color: #ffffff;
    font-weight: bold;
    font-size: 16px;
}
.resizable .resizable-b {
    background: #cab3c9 !important;
}

.mdeditor_toolbar {
    position: relative;
    height: 34px;
    background: #1d1f21 !important;
    border: none;
    box-shadow: 0 2px 0px rgb(44, 43, 47) !important;
}

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

2 participants