After reading the documentation, I still don’t understand why I can’t set the primary color with CSS like this:
<!DOCTYPE html>
<!-- Force the light theme: -->
<html data-theme="light">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Hello Bulma!</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css">
<style>
:root {
--bulma-primary: red;
--bulma-size-medium: 0.5rem;
}
</style>
</head>
<body>
<button class="button is-primary is-medium">Button</button>
</body>
</html>
The size modifier works, but the color remains the default one.