1+ (classic-ui-theming-from-scratch-label)=
2+
13# Plone Classic UI Theming based on Barceloneta
24
5+ ``` {todo}
6+ This page is only an outline and needs a lot of work.
7+ ```
8+
39Theming based on a filesystem package without any dependency.
410
511* Theming for Plone 6 Classic UI
@@ -9,23 +15,23 @@ Theming based on a filesystem package without any dependency.
915* No Diazo needed
1016
1117
12- # Theme Package
18+ ## Theme Package
1319
1420* Create a theme package as explained here.
15- * Temove what you do not need
21+ * Remove what you do not need
1622* Add [ package.json] ( https://github.com/collective/plonetheme.munich/blob/master/package.json )
1723* Overrides
1824* Static files
1925
2026
21- # Static Files
27+ ## Static Files
2228
2329Register directory to keep static files
2430
2531File: src/plonetheme/munich/browser/configure.zcml
2632Directory: src/plonetheme/munich/browser/static
2733
28- ```
34+ ``` xml
2935<!-- Publish static files -->
3036<plone : static
3137 name =" plonetheme.munich"
@@ -34,14 +40,14 @@ Directory: src/plonetheme/munich/browser/static
3440 />
3541```
3642
37- # Theme
43+ ## Theme
3844
39- ## Manifest
45+ ### Manifest
4046
4147* Manifest for your theme
4248* Keep rules empty to disable Diazo
4349
44- ```
50+ ``` ini
4551[theme]
4652title = Munich Theme
4753description = A modernized Plone 6 theme
@@ -51,9 +57,9 @@ prefix = /++theme++plonetheme.munich
5157doctype = <!DOCTYPE html>
5258```
5359
54- ## Bundle Registration
60+ ### Bundle Registration
5561
56- ```
62+ ``` xml
5763<?xml version =" 1.0" ?>
5864<registry
5965 xmlns : i18n =" http://xml.zope.org/namespaces/i18n"
@@ -70,51 +76,52 @@ doctype = <!DOCTYPE html>
7076</registry >
7177```
7278
73- ## Theme Registration
79+ ### Theme Registration
7480
7581Register your theme via theme.xml
7682
77- ```
83+ ``` xml
7884<?xml version =" 1.0" encoding =" UTF-8" ?>
7985<theme >
8086 <name >munich</name >
8187 <enabled >true</enabled >
8288</theme >
8389```
8490
85- ## Compile the bundle
91+ ### Compile the bundle
8692
8793* Compile SASS to SCSS
8894
8995Install all requirements and dependencies from package.json:
9096
91- ```
97+ ``` shell
9298yarn install
9399```
94100
95101Build the actual bundle:
96102
97- ```
103+ ``` shell
98104yarn dist
99105```
100106
101107
102- # Theming
108+ ### Theming
103109
104110* Make use of Bootstrap [ variables] ( https://github.com/twbs/bootstrap/blob/main/scss/_variables.scss )
105111* Tweak basic settings like rounded corners, shadows, etc.
106112* Set custom fonts
107113* Define your own stuff
108114* Import Boostrap (as basis)
109115
110- ## Templates
116+
117+ #### Templates
111118
112119* Add z3c.jbot overrides
113120* Copy Templates to customize
114121* Add custom views for your story
115122
116123
117- # Available Themes
124+ ### Available Themes
118125
119126* plonetheme.tokyo (mobile first, onw column)
120127* plonetheme.munic (minimalistic)
0 commit comments