Skip to content

Commit 6f69a47

Browse files
gforcadayurj
andauthored
Update docs/classic-ui/theming/from-scratch.md
Co-authored-by: Yuri <[email protected]>
1 parent a3dcc12 commit 6f69a47

File tree

1 file changed

+4
-29
lines changed

1 file changed

+4
-29
lines changed

docs/classic-ui/theming/from-scratch.md

Lines changed: 4 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -138,35 +138,10 @@ To do so, follow this guide.
138138
- Create a new CSS file in your theme, such as the following.
139139

140140
```scss
141-
// plone variables (used in toolbar)
142-
// Plone specific colors
143-
//colors
144-
$state-draft-color: #fab82a!default; // lime-yellow //draft is visible
145-
$state-pending-color: #e2e721!default; // orange
146-
$state-private-color: #c4183c!default; // red
147-
$state-internal-color: #fab82a!default; // is draft
148-
$state-internally-published-color: #883dfa!default; // is intranet
149-
$plone-link-color: #007bb1!default; //plone blue made slightly darker for wcag 2.0
150-
$spacer: 1rem!default;
151-
152-
// Toolbar
153-
$plone-toolbar-bg: rgba(0, 0, 0, 0.9);
154-
$plone-toolbar-submenu-bg: rgba(20, 20, 20, 0.95);
155-
$plone-toolbar-font-primary: "Roboto Condensed", sans-serif;
156-
$plone-toolbar-font-secondary: "Roboto", sans-serif;
157-
$plone-toolbar-separator-color: rgba(255, 255, 255, 0.17);
158-
$plone-toolbar-link: $plone-link-color;
159-
$plone-toolbar-text-color: rgba(255, 255, 255, 0.9);
160-
$plone-toolbar-submenu-text-color: #fff;
161-
$plone-toolbar-submenu-header-color: lighten(#000, 80%);
162-
163-
$plone-toolbar-locked-color: var(--bs-warning); // is intranet
164-
165-
$plone-toolbar-width: 220px;
166-
$plone-toolbar-width-collapsed: calc($spacer * 2.25);
167-
$plone-toolbar-top-height: calc($spacer * 2.5);
168-
169-
@import "bootstrap/scss/bootstrap";
141+
import "@plone/plonetheme-barceloneta-base/scss/variables.colors.plone";
142+
import "@plone/plonetheme-barceloneta-base/scss/variables.colors.dark.plone";
143+
import "@plone/plonetheme-barceloneta-base/scss/root_variables";
144+
import "bootstrap/scss/bootstrap";
170145

171146
@import "@plone/plonetheme-barceloneta-base/scss/toolbar";
172147
@import "@plone/plonetheme-barceloneta-base/scss/controlpanels";

0 commit comments

Comments
 (0)