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

Ability to Use Precise Colors in Theme Customization and Accent Colors #103

Open
UsmanTechJive opened this issue Oct 22, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@UsmanTechJive
Copy link

UsmanTechJive commented Oct 22, 2024

I would appreciate it if the color panel could allow for more precise color selection. As shown in the attached images, when I try to set specific shades, like pure black (#000000) or other precise colors, the theme does not apply them accurately and seems limited to a few options. It would be great to have more flexibility to choose and apply exact shades.

Please see the attached images for reference.

image

For example if I set a true dark mode with pure black (#000000) for backgrounds and pages, while still being able to customize the accent color independently, similar to how it's done in Obsidian, I could have a true black background paired with an accent color like purple. This would allow for a more personalized and cohesive dark theme experience.

This is what I'm looking for...

image

Edit: I'm using my own CSS snippet, but whenever I want to change the color, it's a bit of a headache because its not user friendly.

@mustakshif
Copy link
Owner

I apologize, but solid black backgrounds are currently not supported due to design considerations around contrast and technical limitations.

As mentioned in #102, I'm developing a new plugin that will offer more comprehensive customization options for Asri. This plugin will include:

  • Enhanced style options
  • Advanced palette customization with finer color control
  • Full support for solid black backgrounds
  • A more intuitive user interface

For reference, I don't think Obsidian use pure black as its background color by default. However, if you prefer solid black, you can use the following snippet (or other) to set the background to #000 to override Asri background color while maintaining control over accent colors:

[data-dark-theme=Asri][data-theme-mode=dark] body {
    --b3-theme-background: #000;
}

@mustakshif mustakshif added the enhancement New feature or request label Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants