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

Methods have the same color as variables in dark mode #3670

Closed
nojovo opened this issue Feb 3, 2025 · 0 comments · Fixed by #3673
Closed

Methods have the same color as variables in dark mode #3670

nojovo opened this issue Feb 3, 2025 · 0 comments · Fixed by #3673
Labels
bug Something isn't working

Comments

@nojovo
Copy link

nojovo commented Feb 3, 2025

Describe the bug

In dark mode, everything accessed by a dot like methods or objects from modules have the same color as variables which isn't the case in light mode. Maybe it's just the theme marimo uses but it would be nice if the color is different which is the case in light mode as it makes the code more readable.

Environment

{
  "marimo": "0.10.19",
  "OS": "Linux",
  "OS Version": "6.12.10-arch1-1",
  "Processor": "",
  "Python Version": "3.12.8",
  "Binaries": {
    "Browser": "--",
    "Node": "--"
  },
  "Dependencies": {
    "click": "8.1.8",
    "docutils": "0.21.2",
    "itsdangerous": "2.2.0",
    "jedi": "0.19.2",
    "markdown": "3.7",
    "narwhals": "1.24.2",
    "packaging": "24.2",
    "psutil": "6.1.1",
    "pygments": "2.19.1",
    "pymdown-extensions": "10.14.3",
    "pyyaml": "6.0.2",
    "ruff": "0.9.4",
    "starlette": "0.45.3",
    "tomlkit": "0.13.2",
    "typing-extensions": "4.12.2",
    "uvicorn": "0.34.0",
    "websockets": "14.2"
  },
  "Optional Dependencies": {
    "pandas": "2.2.3"
  },
  "Experimental Flags": {
    "rtc": true
  }
}

Code to reproduce

It doesn't have to do anything with code. It's the standard behavior in dark mode.

@nojovo nojovo added the bug Something isn't working label Feb 3, 2025
devin-ai-integration bot added a commit that referenced this issue Feb 3, 2025
- Created custom dark theme to improve code readability
- Methods and properties now have distinct colors from variables
- Methods use #61afef (blue)
- Properties use #e5c07b (yellow)
- Variables use #abb2bf (light gray)

Fixes #3670

Co-Authored-By: Myles Scolnick <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant