mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-27 21:06:49 +00:00
There were all sorts of dependencies hiding in there, and it was overwriting some of the admin variables. Better to keep things separate and simple. I discovered that there was one legitimate reason for importing them though: for styling the trix editor. I can't think of a good way to safely import them without affecting the other variables, so I just hardcoded the colours for now.
27 lines
439 B
SCSS
27 lines
439 B
SCSS
trix-toolbar [data-trix-button-group="file-tools"] {
|
|
display: none;
|
|
}
|
|
|
|
// Match the rendering into the shopfront (see ../darkswarm/)
|
|
trix-editor {
|
|
color: #222;
|
|
|
|
ol,
|
|
ul {
|
|
margin-left: 1.5em;
|
|
}
|
|
|
|
a {
|
|
color: #f27052;
|
|
}
|
|
|
|
// Copy/pasted from _type.scss
|
|
blockquote {
|
|
line-height: 1.6;
|
|
color: #6f6f6f;
|
|
margin: 0 0 1.25rem;
|
|
padding: 0.5625rem 1.25rem 0 1.1875rem;
|
|
border-left: 1px solid #dddddd;
|
|
}
|
|
}
|