Skip to content

Commit 474ec8f

Browse files
implemente all features
1 parent 5e5b3ce commit 474ec8f

3 files changed

Lines changed: 119 additions & 99 deletions

File tree

client/modules/IDE/components/Header/Nav.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ const ProjectMenu = () => {
185185
isDisabled={
186186
!user.authenticated ||
187187
!isLoginEnabled ||
188-
(!!project?.owner && !isUserOwner)
188+
(!project?.owner && !isUserOwner)
189189
}
190190
tooltipContent={
191191
!user.authenticated || !isLoginEnabled

client/styles/abstracts/_variables.scss

Lines changed: 51 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -6,33 +6,33 @@ $p5js-pink-opacity: #ed225d80;
66
$p5js-active-pink: #f10046;
77
$white: #fff;
88
$black: #000;
9-
$yellow: #F5DC23;
10-
$dodgerblue: #1E90FF;
11-
$p5-contrast-pink: #FFA9D9;
9+
$yellow: #f5dc23;
10+
$dodgerblue: #1e90ff;
11+
$p5-contrast-pink: #ffa9d9;
1212

13-
$outline-color: #0F9DD7;
13+
$outline-color: #0f9dd7;
1414

1515
// Grayscale values
16-
$lightest: #FFF; // primary
17-
$lighter: #FBFBFB;
16+
$lightest: #fff; // primary
17+
$lighter: #fbfbfb;
1818

19-
$light: #F0F0F0; // primary
20-
$medium-light: #D9D9D9;
21-
$middle-light: #A6A6A6;
19+
$light: #f0f0f0; // primary
20+
$medium-light: #d9d9d9;
21+
$middle-light: #a6a6a6;
2222

2323
// $middle-gray: #7D7D7D; // primary
2424
$middle-gray: #747474; // primary
2525
$middle-dark: #666;
26-
$medium-dark: #4D4D4D;
26+
$medium-dark: #4d4d4d;
2727

2828
$dark: #333; // primary
29-
$darker: #1C1C1C;
29+
$darker: #1c1c1c;
3030
$darkest: #000;
3131

3232
$themes: (
3333
light: (
34-
admonition-background: #E4F8FF,
35-
admonition-border: #22C8ED,
34+
admonition-background: #e4f8ff,
35+
admonition-border: #22c8ed,
3636
admonition-text: #075769,
3737
background-color: $lighter,
3838
button-active-color: $lightest,
@@ -42,11 +42,12 @@ $themes: (
4242
button-border-color: $middle-light,
4343
button-color: $black,
4444
button-hover-color: $lightest,
45-
button-nav-inactive-color: $middle-gray,
45+
button-nav-active-color: $darker,
46+
button-nav-inactive-color: $middle-dark,
4647
button-secondary-background-color: $medium-light,
47-
codefold-icon-closed: url("../images/triangle-arrow-right.svg?byUrl"),
48-
codefold-icon-open: url("../images/triangle-arrow-down.svg?byUrl"),
49-
console-active-arrow-color: #0071AD,
48+
codefold-icon-closed: url('../images/triangle-arrow-right.svg?byUrl'),
49+
codefold-icon-open: url('../images/triangle-arrow-down.svg?byUrl'),
50+
console-active-arrow-color: #0071ad,
5051
console-arrow-color: $middle-gray,
5152
console-background-color: $light,
5253
console-color: $darker,
@@ -68,8 +69,8 @@ $themes: (
6869
hint-arrow-color: $lightest,
6970
hint-arrow-focus-outline-color: $middle-dark,
7071
hint-background-color: $white,
71-
hint-fun-active-border-bottom-color: #0B7CA9,
72-
hint-fun-text-color: #0B7CA9,
72+
hint-fun-active-border-bottom-color: #0b7ca9,
73+
hint-fun-text-color: #0b7ca9,
7374
hint-inline-text-color-light: $middle-light,
7475
hint-inline-text-color: $middle-gray,
7576
hint-item-active-background-color: $middle-gray,
@@ -79,12 +80,12 @@ $themes: (
7980
hint-item-active-type-text-color: $white,
8081
hint-item-border-bottom-color: $white,
8182
hint-item-hover-background-color: #f4f4f4,
82-
hint-keyword-text-color: #7A5A3A,
83+
hint-keyword-text-color: #7a5a3a,
8384
hint-no-link-background-color: $medium-light,
8485
hint-text-color: $dark,
8586
hint-type-text-color: $medium-dark,
86-
hint-var-active-border-bottom-color: #D52889,
87-
hint-var-text-color: #D52889,
87+
hint-var-active-border-bottom-color: #d52889,
88+
hint-var-text-color: #d52889,
8889
icon-color: $middle-gray,
8990
icon-hover-color: $darker,
9091
icon-toast-hover-color: $lightest,
@@ -116,7 +117,7 @@ $themes: (
116117
secondary-text-color: $medium-dark,
117118
shadow-color: rgba(0, 0, 0, 0.16),
118119
table-button-active-color: $lightest,
119-
table-button-background-active-color: #00A1D3,
120+
table-button-background-active-color: #00a1d3,
120121
table-button-background-color: $middle-gray,
121122
table-button-background-hover-color: $p5js-pink,
122123
table-button-color: $lightest,
@@ -126,12 +127,12 @@ $themes: (
126127
toast-background-color: $medium-dark,
127128
toast-text-color: $lightest,
128129
toolbar-button-background-color: $medium-light,
129-
toolbar-button-color: $dark,
130+
toolbar-button-color: $dark
130131
),
131132
dark: (
132-
admonition-background: #105A7F,
133-
admonition-border: #22C8ED,
134-
admonition-text: #FFFFFF,
133+
admonition-background: #105a7f,
134+
admonition-border: #22c8ed,
135+
admonition-text: #ffffff,
135136
background-color: $darker,
136137
button-active-color: $lightest,
137138
button-background-active-color: $p5js-active-pink,
@@ -140,11 +141,12 @@ $themes: (
140141
button-border-color: $middle-dark,
141142
button-color: $light,
142143
button-hover-color: $lightest,
144+
button-nav-active-color: $lightest,
143145
button-nav-inactive-color: $middle-light,
144146
button-secondary-background-color: $medium-dark,
145-
codefold-icon-closed: url("../images/triangle-arrow-right-white.svg?byUrl"),
146-
codefold-icon-open: url("../images/triangle-arrow-down-white.svg?byUrl"),
147-
console-active-arrow-color: #097BB3,
147+
codefold-icon-closed: url('../images/triangle-arrow-right-white.svg?byUrl'),
148+
codefold-icon-open: url('../images/triangle-arrow-down-white.svg?byUrl'),
149+
console-active-arrow-color: #097bb3,
148150
console-arrow-color: $medium-light,
149151
console-background-color: $dark,
150152
console-color: $lightest,
@@ -165,8 +167,8 @@ $themes: (
165167
hint-arrow-color: $lightest,
166168
hint-arrow-focus-outline-color: #cfcfcf,
167169
hint-background-color: $darker,
168-
hint-fun-active-border-bottom-color: #0F9DD7,
169-
hint-fun-text-color: #0F9DD7,
170+
hint-fun-active-border-bottom-color: #0f9dd7,
171+
hint-fun-text-color: #0f9dd7,
170172
hint-inline-text-color-light: $middle-gray,
171173
hint-inline-text-color: #cfcfcf,
172174
hint-item-active-background-color: #cfcfcf,
@@ -176,12 +178,12 @@ $themes: (
176178
hint-item-active-type-text-color: $darker,
177179
hint-item-border-bottom-color: $darker,
178180
hint-item-hover-background-color: $medium-dark,
179-
hint-keyword-text-color: #B58318,
181+
hint-keyword-text-color: #b58318,
180182
hint-no-link-background-color: $medium-dark,
181183
hint-text-color: $light,
182184
hint-type-text-color: $light,
183-
hint-var-active-border-bottom-color: #DE4A9B,
184-
hint-var-text-color: #DE4A9B,
185+
hint-var-active-border-bottom-color: #de4a9b,
186+
hint-var-text-color: #de4a9b,
185187
icon-color: $middle-light,
186188
icon-hover-color: $lightest,
187189
icon-toast-hover-color: $lightest,
@@ -213,7 +215,7 @@ $themes: (
213215
secondary-text-color: $medium-light,
214216
shadow-color: rgba(0, 0, 0, 0.16),
215217
table-button-active-color: $lightest,
216-
table-button-background-active-color: #00A1D3,
218+
table-button-background-active-color: #00a1d3,
217219
table-button-background-color: $middle-gray,
218220
table-button-background-hover-color: $p5js-pink,
219221
table-button-color: $lightest,
@@ -223,11 +225,11 @@ $themes: (
223225
toast-background-color: $medium-light,
224226
toast-text-color: $dark,
225227
toolbar-button-background-color: $medium-dark,
226-
toolbar-button-color: $lightest,
228+
toolbar-button-color: $lightest
227229
),
228230
contrast: (
229231
admonition-background: #000000,
230-
admonition-border: #22C8ED,
232+
admonition-border: #22c8ed,
231233
admonition-text: #ffffff,
232234
background-color: $darker,
233235
button-active-color: $dark,
@@ -237,10 +239,11 @@ $themes: (
237239
button-border-color: $middle-dark,
238240
button-color: $light,
239241
button-hover-color: $dark,
240-
button-nav-inactive-color: $light,
242+
button-nav-active-color: $lightest,
243+
button-nav-inactive-color: $middle-light,
241244
button-secondary-background-color: $medium-dark,
242-
codefold-icon-closed: url("../images/triangle-arrow-right-white.svg?byUrl"),
243-
codefold-icon-open: url("../images/triangle-arrow-down-white.svg?byUrl"),
245+
codefold-icon-closed: url('../images/triangle-arrow-right-white.svg?byUrl'),
246+
codefold-icon-open: url('../images/triangle-arrow-down-white.svg?byUrl'),
244247
console-active-arrow-color: $dodgerblue,
245248
console-arrow-color: $lightest,
246249
console-background-color: $dark,
@@ -256,13 +259,13 @@ $themes: (
256259
form-secondary-title-color: $medium-light,
257260
form-title-color: $lightest,
258261
heavy-text-color: $yellow,
259-
hint-arrow-background-active-color: #F5DC23,
260-
hint-arrow-background-color: #F5DC23DD,
262+
hint-arrow-background-active-color: #f5dc23,
263+
hint-arrow-background-color: #f5dc23dd,
261264
hint-arrow-color: $darker,
262265
hint-arrow-focus-outline-color: $lighter,
263266
hint-background-color: $darkest,
264267
hint-fun-active-border-bottom-color: none,
265-
hint-fun-text-color: #00FFFF,
268+
hint-fun-text-color: #00ffff,
266269
hint-inline-text-color-light: $middle-gray,
267270
hint-inline-text-color: #cfcfcf,
268271
hint-item-active-background-color: unset,
@@ -272,12 +275,12 @@ $themes: (
272275
hint-item-active-type-text-color: $lighter,
273276
hint-item-border-bottom-color: $medium-dark,
274277
hint-item-hover-background-color: $dark,
275-
hint-keyword-text-color: #F5DC23,
278+
hint-keyword-text-color: #f5dc23,
276279
hint-no-link-background-color: $medium-dark,
277280
hint-text-color: $medium-light,
278281
hint-type-text-color: $middle-light,
279282
hint-var-active-border-bottom-color: none,
280-
hint-var-text-color: #FFA9D9,
283+
hint-var-text-color: #ffa9d9,
281284
icon-color: $medium-light,
282285
icon-hover-color: $yellow,
283286
icon-toast-hover-color: $yellow,
@@ -309,7 +312,7 @@ $themes: (
309312
secondary-text-color: $lighter,
310313
shadow-color: rgba(0, 0, 0, 0.16),
311314
table-button-active-color: $dark,
312-
table-button-background-active-color: #00FFFF,
315+
table-button-background-active-color: #00ffff,
313316
table-button-background-color: $middle-gray,
314317
table-button-background-hover-color: $yellow,
315318
table-button-color: $dark,
@@ -319,6 +322,6 @@ $themes: (
319322
toast-background-color: $medium-light,
320323
toast-text-color: $darker,
321324
toolbar-button-background-color: $medium-light,
322-
toolbar-button-color: $dark,
325+
toolbar-button-color: $dark
323326
)
324327
);

0 commit comments

Comments
 (0)