Skip to content

Configure using pure css? #155

@DanCardin

Description

@DanCardin

As far as I can tell, bulma itself can be themed by customizing certain top-level variables like --bulma-primary-h/s/l, and there are numerous derived variables (like --bulma-primary) that end up being used in all the componentry that make this work, even if you dont perform any of the customization inside sass.

To some extent, theme-bulma seems like it can be configured similarly, such that bulma css variables ultimately still control how oruga looks(?)

But in other cases, --bulma-tooltip-bg for example, it seems like the sass variable is compiled in (although perhaps that's just how I happen to be be importing the plugin), although I do seem to be able to circumvent this specific case like so:

  .tooltip .is-primary {
    --bulma-tooltip-bg: var(--bulma-primary);
  }

Is theming this plugin like this generally possible, or a goal? There are a number of other post bulma 1.0 issues that seem related, but the resolutions inside them (and the docs) ultimately are still very oriented around sass build-time level customization.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions