Skip to content

Commit af22136

Browse files
committed
layout
1 parent 370c1b3 commit af22136

File tree

1 file changed

+21
-21
lines changed
  • content/CTG_50_docs/CTG_25_front/LSN_10_theme

1 file changed

+21
-21
lines changed

content/CTG_50_docs/CTG_25_front/LSN_10_theme/theme.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -46,19 +46,19 @@ When creating your own themes, you first need to select the base theme which you
4646

4747
After creating and saving your themes, the styles are compiled, and you can see that files were added to your theme, they serve to apply your styles through all selected interfaces, there are 3 of them:
4848

49-
1 - `constants.less`: this file is the result of what you applied in the `Theme Editor`, it basically contains all the values you defined as *less constants*.
50-
2 - `addons.less`: allows you to either override the existing styles, or to add new ones if wanted (further developed in **Addons**).
51-
3 - `themeName_gen.css`: contains all the compiled styles from both `constants` and `addons` less files. It is the final results of all the theming work done before.
49+
1 - `constants.less`: this file is the result of what you applied in the `Theme Editor`, it basically contains all the values you defined as *less constants*.
50+
2 - `addons.less`: allows you to either override the existing styles, or to add new ones if wanted (further developed in **Addons**).
51+
3 - `themeName_gen.css`: contains all the compiled styles from both `constants` and `addons` less files. It is the final results of all the theming work done before.
5252

5353
## Organization
5454

5555
getting back to the tool itself, it is divided in `three parts`, each hosting and representing a `key feature`. So it makes it very important to understand how each part works and how to use them all.
5656

5757
![](theme-editor-parts.png)
5858

59-
1 - Interface preview
60-
2 - Values menu
61-
3 - DOM path
59+
1 - Interface preview
60+
2 - Values menu
61+
3 - DOM path
6262

6363
### Interface Preview
6464

@@ -71,23 +71,23 @@ The Theme Editor’s Preview Section displays a `live preview` of your themes an
7171

7272
![](theme-editor-preview-buttons.png)
7373
* **Buttons**: unique as it combines both elements and their style options. It displays all button types available in Simplicité and allows you to customize the following properties; `background-color`, `text-color` or `icon-color`, `border-radius` and `border-width`. The button types are:
74-
1 - `Primary`: represent main actions shared across various contexts and interfaces.
75-
2 - `Secondary`: represent secondary or less critical actions with text labels.
76-
3 - `Action`: specific to the current object or context.
77-
4 - `Transition`: used for state-switching handlers for business objects or fields.
78-
5 - `Icon`: represent actions using icons instead of text.
74+
1 - `Primary`: represent main actions shared across various contexts and interfaces.
75+
2 - `Secondary`: represent secondary or less critical actions with text labels.
76+
3 - `Action`: specific to the current object or context.
77+
4 - `Transition`: used for state-switching handlers for business objects or fields.
78+
5 - `Icon`: represent actions using icons instead of text.
7979

8080
![](theme-editor-preview-panels.png)
8181
* **Panels**: contains core UI elements that structure Simplicité’s interface:
82-
1 - `Panels`: Found primarily in the `WORK` section of the UI, these display the content of selected menus or objects.
83-
2 - `Sub-Panels`: nest within Panels, typically containing `fields` for displayed objects.
84-
3 - `Tabs`: Organize fields and are available in four layouts: `Left`, `Right`, `Top`, and `Bottom`. These layouts determine the position of tab navigation items.
82+
1 - `Panels`: Found primarily in the `WORK` section of the UI, these display the content of selected menus or objects.
83+
2 - `Sub-Panels`: nest within Panels, typically containing `fields` for displayed objects.
84+
3 - `Tabs`: Organize fields and are available in four layouts: `Left`, `Right`, `Top`, and `Bottom`. These layouts determine the position of tab navigation items.
8585

8686
![](theme-editor-preview-form.png)
8787
* **Form**: essential components in Simplicité’s UI. They combine `Panels`, `Sub-Panels`, and `Tabs` to organize `fields and inputs. The types of customizable fields include:
88-
1 - `Field`: casual element for text inputs within objects' forms.
89-
2 - `Readonly`: non-editable fields displaying static information.
90-
3 - `References`: editable link to other objects or data.
88+
1 - `Field`: casual element for text inputs within objects' forms.
89+
2 - `Readonly`: non-editable fields displaying static information.
90+
3 - `References`: editable link to other objects or data.
9191

9292
Other input types, such as radio buttons, dropdown menus, or code editors, are not customizable in the Theme Editor. However, they adapt their styles based on the selected `base theme`.
9393

@@ -103,10 +103,10 @@ Other input types, such as radio buttons, dropdown menus, or code editors, are n
103103

104104
The Styles Menu section allows you to actually change the values of the elements displayed in the Preview, in this menu you'll have access to the presented elements per category, making it easier to navigate through styles. The different sub-sections so are each related to a preview section, making it it more intuitive to design, emphasizing on the context of items and their cohenrency.
105105
In each of the section, you'll be given control of the following style variables and values:
106-
1 - `BACKGROUND`: for all elements' backgrounds you'll be able to choose the `color` and `opacity`.
107-
2 - `TEXT`: you have control hover the `fonts` you wanna apply, but also the overall `size` of it. Then for each elements you can modify the `color` & `opacity` of your texts.
108-
3 - `BORDER`: for all the elements you can first select if a border is `displayed or not`, and then it's `color` and `opacity`, but also the `border-radius` for some elements.
109-
4 - `HOVER`: available for some of the `interactive elements`, you can define the styles while beeing hovered, such as the `background-color` and `text-color`.
106+
1 - `BACKGROUND`: for all elements' backgrounds you'll be able to choose the `color` and `opacity`.
107+
2 - `TEXT`: you have control hover the `fonts` you wanna apply, but also the overall `size` of it. Then for each elements you can modify the `color` & `opacity` of your texts.
108+
3 - `BORDER`: for all the elements you can first select if a border is `displayed or not`, and then it's `color` and `opacity`, but also the `border-radius` for some elements.
109+
4 - `HOVER`: available for some of the `interactive elements`, you can define the styles while beeing hovered, such as the `background-color` and `text-color`.
110110

111111
Here is a detailled list of the menu's sub-section and the specific elements they cover:
112112

0 commit comments

Comments
 (0)