You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/docs/angular-docs/src/routes/theming+/colors+/_colors.mdx
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,37 +9,37 @@ import {themeColors} from "@qualcomm-ui/tailwind-plugin/theme"
9
9
10
10
Note that the classes on this page are only available if you've installed and configured the [@qualcomm-ui/tailwind-plugin](/integrations/tailwind) package.
11
11
12
-
###Text
12
+
## Text
13
13
14
14
Text colors are used for typography throughout your application. They automatically adapt when switching between light and dark modes to maintain proper contrast ratios.
15
15
16
16
<ColorTabledata={themeColors.text} />
17
17
18
-
###Icon
18
+
## Icon
19
19
20
20
Icon colors ensure proper visual hierarchy and accessibility for icons. Like text colors, they automatically adjust for light and dark modes.
21
21
22
22
<ColorTabledata={themeColors.icon} />
23
23
24
-
###Background
24
+
## Background
25
25
26
26
Background colors include brand, neutral, and support colors. They are commonly used as colors for your app's surfaces, cards, and UI elements.
27
27
28
28
<ColorTabledata={themeColors.background} />
29
29
30
-
###Surface
30
+
## Surface
31
31
32
32
Surface colors are used for primary application surfaces like pages, modals, and overlays.
33
33
34
34
<ColorTabledata={themeColors.surface} />
35
35
36
-
###Border
36
+
## Border
37
37
38
38
Border colors bring clarity to layouts by grouping and dividing content. They are used to divide text or components such as table rows, action button groups, and components within a panel.
39
39
40
40
<ColorTabledata={themeColors.border} />
41
41
42
-
###Category
42
+
## Category
43
43
44
44
Category colors provide a palette for data visualization and content categorization. Each category has three variants: subtle, medium, and strong.
Copy file name to clipboardExpand all lines: packages/docs/react-docs/src/routes/patterns+/project-structure.mdx
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ A layer is a top-level directory and the first level of application decompositio
32
32
33
33
These layers help organize the codebase and promote modular, maintainable, and scalable architecture.
34
34
35
-
#####Risk of Change
35
+
#### Risk of Change
36
36
37
37
-**Higher layers**: Changes here impact the entire system. They require thorough testing and validation.
38
38
-**Lower layers**: Changes can ripple upward. Modifying a lower layer may affect multiple higher layers. Therefore, altering lower layers involves more risk.
@@ -43,12 +43,12 @@ In summary, **higher layers** bear more responsibility and knowledge, while **lo
43
43
44
44
**Slices** represent a way to organize code within a **layer**. They group together files that implement specific functionality related to the business logic.
45
45
46
-
#####Purpose and Scope
46
+
#### Purpose and Scope
47
47
48
48
-**Functionality**: Slices focus on a particular aspect of the application's functionality. For example, you might have slices for user authentication, data processing, or reporting.
49
49
-**Project Context**: The impact of slices depends on the specific project. Some projects may have many slices, while others might have only a few.
50
50
51
-
#####Implementation
51
+
#### Implementation
52
52
53
53
-**Folder Structure**: Slices are typically organized as folders or directories. Each slice contains related files, such as controllers, models, and views.
54
54
-**Module Isolation**: By grouping related files together, slices promote modularity and maintainability. Changes within a slice should have no impact on other slices in the same layer.
@@ -63,7 +63,7 @@ In summary, **higher layers** bear more responsibility and knowledge, while **lo
63
63
-`ui/` – ui components, responsible for displaying data.
64
64
-`index.ts` – barrel file. This is the public entrypoint for the slice. Any code within the slice that is intended to be used by higher layers must be exported here.
65
65
66
-
#####Characteristics
66
+
#### Characteristics
67
67
68
68
-**Independent Units**: Each segment is responsible for a distinct part of the module's technical implementation.
69
69
-**Focused Scope**: Segments handle specific tasks, such as data processing (model), data display (ui), or communication with external services (api).
@@ -100,7 +100,7 @@ Example: City and Product are entities, whereas SearchByCity and BuyProduct are
100
100
101
101
Let's consider a few examples:
102
102
103
-
#####1. Social Network Application
103
+
#### 1. Social Network Application
104
104
105
105
In a social network application, the features could be `SendComment`, `LikePost`, and `JoinGroup`. The `SendComment` feature might involve operations like creating a new comment, updating a comment, or deleting a comment. Similarly, the `LikePost` feature might involve operations like liking a post, unliking a post, etc.
106
106
@@ -122,7 +122,7 @@ Each slice in this layer contains some or all of the following:
122
122
123
123
Let's consider a few examples:
124
124
125
-
#####1. Social Network Application
125
+
#### 1. Social Network Application
126
126
127
127
In a social network application, the entities could be `User`, `Post`, and `Group`. The `User` entity might contain functionality like creating a new user, updating user information, or deleting a user. Similarly, the `Post` entity might include functionality related to creating, updating, or deleting a post.
0 commit comments