-
Notifications
You must be signed in to change notification settings - Fork 7
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
Adjusting CSS #2
Comments
I'll check that plugin out. I will see if Habit Tracker 21 can be compatible with that, but in general I want it to be as standalone as possible. If you look at a lot of plugins, especially in this space, they depend on stuff like dataview. I think for the user that's not so intuitive, and I want to keep the barrier of entry as low as possible. |
Can you be more specific on why you want to have controls over those properties? What would you do once this functionality is available? |
Simple aesthetics. It can certainly be done via css snippets, but I feel this just makes it easier for folks. |
I'm genuinely curios what you'd change about the aesthetics. You're telling me what the solution is, what I'm curios is what is your need/problem that requires to change the CSS/looks that way I can ship more robust solutions. |
I just found your plugin, and to me the font size was just too small, and I didn't like that the habit names didn't follow the normal rules for a link, so I added this CSS almost immediately: .habit-tracker__row > .habit-tracker__cell:first-child {
font-family: inherit;
font-size: inherit;
}
.habit-tracker__cell {
font-size: 13px;
} The nice thing if you adapt to the Style settings plugin is that your plugin will be as standalone as it was before, but the CSS changes a little allowing it to be changed by that plugin if you've chosen to install it. It's just an easy way to allow for people like myself or the OP to change certain settings related to the visual display of your plugin. |
Here are some ideas for what could be changed through such settings:
(And me just rambling: Would it be nice to have a set of colors, so that the rows cycle through a given set of colors? Aka the first row has one color, the second row another color, and so on... And then after a given number it restarts the color cycle? ) |
Here is a starter set for setting colors through the Style Settings plugin. Even if that plugin is not present, the variables have a default value which then will be used.
I think the need is related to part of the core value proposition of Obsidian… that it's is a very personal space that one can easily make to look and feel almost exactly how they want. |
Will pick this up soon. Thanks for the feedback 🙏 |
I think the linked PR will allow for most of your changes, and still respect the default settings of the plugin. |
I think it would be fantastic to be able to adjust some CSS.
For example
This could be done as a plugin setting or using the "Style Settings" plugin that many others take advantage of.
The text was updated successfully, but these errors were encountered: