Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reorganize Classic UI Theming part #1831

Open
wants to merge 7 commits into
base: 6.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion docs/backend/schemas.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ This schema can be used in {doc}`/classic-ui/forms` and Dexterity {doc}`/backend

```{note}
In Dexterity {doc}`/backend/content-types/index`, the base class for a schema is `plone.supermodel.model.Schema`.
This provides functionalities to export and import schemas via XML and the {doc}` Through-the-web (TTW) </classic-ui/theming/through-the-web>` editor.
```


Expand Down
347 changes: 0 additions & 347 deletions docs/classic-ui/theming/barceloneta.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ myst:
"keywords": "Plone, Classic UI, theming, color modes, Bootstrap, Twitter"
---

(color-modes-label)=
(classic-ui-theming-color-modes-label)=

# Color modes

Expand All @@ -24,8 +24,8 @@ This chapter is a guide for how to implement color modes in Plone 6.
## Preferred color modes

You will need to add some JavaScript functionality to set the Bootstrap theme to the user's preferred color scheme.
Add the JavaScript file to the `browser/static` folder of your Plone 6 project.
Register it in the `browser/profiles/default/registry` of your Plone 6 project.
Add the JavaScript file to the {file}`browser/static` folder of your Plone 6 project.
Register it in the {file}`browser/profiles/default/registry` of your Plone 6 project.
See {ref}`classic-ui-static-resources-registering-label` for more information.

```js
Expand Down Expand Up @@ -75,8 +75,8 @@ If you want to add a theme toggler to your site, you can use the following examp
You will need to add some JavaScript functionality to the toggler.
The following code snippet is based on the [Bootstrap 5.3 documentation](https://getbootstrap.com/docs/5.3/customize/color-modes/#javascript).

Add the JavaScript file to the `browser/static` folder of your Plone 6 project.
Register it in the `browser/profiles/default/registry` of your Plone 6 project.
Add the JavaScript file to the {file}`browser/static` folder of your Plone 6 project.
Register it in the {file}`browser/profiles/default/registry` of your Plone 6 project.
See {ref}`classic-ui-static-resources-registering-label` for more information.

```js
Expand Down
Loading
Loading