Skip to content

Improve docs for customizing scss #271

@tommyalatalo

Description

@tommyalatalo

The documentation for customizing scss is lacking, the entirety of the documentation is literally Set variables in ./assets/scss/common/_variables.scss. This is not enough to make sense of what to do.

I've created the _variables.scss file above and entered there variables into it. I would expect the button on the landing page to have black text after doing this, but nothing changes at all.

$color-btn-bg: #000000
$color-btn-text: #000000

These variables don't seem to be in the files when cloning the child version of the theme (which I thought would include "changing colors" in "minor customization"), I had to find the above variables in the doks main repo, there they are defined in assets/scss/components/_buttons.scss. Why does my variable settings not change anything? Did I do something wrong, or is setting variables in ./assets/scss/common/_variables.scss actually not enough?

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions