Repository navigation
Commit c73ac4c
committed
Standardize accent font usage with a mixin and update section translation keys
- general, chatbots, api calls should use 'accent' font family
- should use uniformly --letter-spacing-accent
- change headings 'chatbots' to 'web', 'api calls' to 'api'.
- add mixin '@mixin bangers' that includes font family, font weight and letter spacing. use it instead of specifying each of these individually in css classes
├── apps
│ └── editor
│ └── src
│ └── views
│ ├── prompt
│ │ └── frontend
│ │ └── Home
│ │ └── Home.module.scss
│ └── settings
│ └── frontend
│ ├── App.tsx
│ ├── Home
│ │ └── Home.tsx
│ └── i18n
│ ├── translations
│ │ ├── api-calls.ts
│ │ ├── chatbots.ts
│ │ ├── index.ts
│ │ └── sections.ts
│ └── use-translation.tsx
└── packages
└── ui
└── src
├── components
│ └── editor
│ ├── common
│ │ └── prompts
│ │ └── PromptField
│ │ └── PromptField.module.scss
│ ├── prompt
│ │ ├── IconAccentButton
│ │ │ └── IconAccentButton.module.scss
│ │ ├── ModeButton
│ │ │ └── ModeButton.module.scss
│ │ └── Tabs
│ │ └── Tabs.module.scss
│ └── settings
│ ├── DefaultConfigurationSelector
│ │ ├── DefaultConfigurationSelector.module.scss
│ │ ├── DefaultConfigurationSelector.tsx
│ │ └── index.ts
│ ├── Group
│ │ ├── Group.module.scss
│ │ ├── Group.tsx
│ │ └── use-last-group-padding.ts
│ ├── Item
│ │ ├── Item.module.scss
│ │ ├── Item.stories.tsx
│ │ ├── Item.tsx
│ │ └── index.ts
│ ├── Layout
│ │ ├── Layout.module.scss
│ │ ├── Layout.tsx
│ │ └── index.ts
│ ├── Modal
│ │ ├── Form
│ │ │ ├── Form.module.scss
│ │ │ ├── Form.tsx
│ │ │ └── index.ts
│ │ ├── Modal.module.scss
│ │ ├── Modal.tsx
│ │ └── index.ts
│ ├── NavigationItemGroup
│ │ ├── NavigationItemGroup.module.scss
│ │ ├── NavigationItemGroup.tsx
│ │ └── index.ts
│ ├── NavigationItemSection
│ │ ├── NavigationItemSection.module.scss
│ │ ├── NavigationItemSection.tsx
│ │ └── index.ts
│ ├── NavigationSection
│ │ ├── NavigationSection.module.scss
│ │ ├── NavigationSection.tsx
│ │ └── index.ts
│ ├── Notice
│ │ ├── Notice.module.scss
│ │ ├── Notice.tsx
│ │ └── index.ts
│ ├── Section
│ │ ├── Section.module.scss
│ │ ├── Section.tsx
│ │ └── index.ts
│ ├── SortableList
│ │ ├── SortableList.module.scss
│ │ ├── SortableList.stories.tsx
│ │ ├── SortableList.tsx
│ │ └── index.ts
│ └── Templates
│ ├── Templates.module.scss
│ ├── Templates.tsx
│ └── index.ts
├── constants
│ └── sizes.ts
└── styles
└── foundation
├── _colors.scss
├── _index.scss
├── _mixins.scss
└── _variables.scss1 parent b856246 commit c73ac4c
17 files changed
Lines changed: 56 additions & 57 deletions
File tree
- apps/editor/src/views
- prompt/frontend/Home
- settings/frontend
- Home
- sections
- i18n/translations
- packages/ui/src
- components/editor
- common/prompts/PromptField
- prompt
- IconAccentButton
- ModeButton
- Tabs
- settings
- Layout
- Section
- constants
- styles/foundation
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | 62 | | |
64 | 63 | | |
65 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
276 | | - | |
| 276 | + | |
277 | 277 | | |
278 | | - | |
279 | 278 | | |
280 | 279 | | |
281 | 280 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
109 | 108 | | |
110 | 109 | | |
111 | 110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | | - | |
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
| |||
0 commit comments