Skip to content

Commit 815f596

Browse files
authored
Merge pull request #1 from gabrielmagno/develop
v0.1.3
2 parents ff827b2 + 759c7ae commit 815f596

File tree

4 files changed

+51
-6
lines changed

4 files changed

+51
-6
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Build
22

33
on:
44
push:
5-
branches: main
5+
branches: ["main", "develop"]
66
pull_request:
77
branches: '*'
88

.github/workflows/check-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Check Release
22
on:
33
push:
4-
branches: ["main"]
4+
branches: ["main", "develop"]
55
pull_request:
66
branches: ["*"]
77

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "catppuccin_jupyterlab",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"description": "📊 Soothing pastel theme for JupyterLab.",
55
"keywords": [
66
"jupyter",

style/variables.css

+48-3
Original file line numberDiff line numberDiff line change
@@ -416,15 +416,15 @@ all of MD as it is not optimized for dense, information rich UIs.
416416
--jp-warn-color-normal: var(--ctp-plt-red);
417417
--jp-warn-color-hover: color-mix(in srgb, var(--ctp-plt-red), #000 15%);
418418
--jp-warn-color-active: color-mix(in srgb, var(--ctp-plt-red), #000 30%);
419-
--jp-reject-color-normal: var(--ctp-plt-surface0);
419+
--jp-reject-color-normal: var(--ctp-plt-surface1);
420420
--jp-reject-color-hover: color-mix(
421421
in srgb,
422-
var(--ctp-plt-surface0),
422+
var(--ctp-plt-surface1),
423423
#000 15%
424424
);
425425
--jp-reject-color-active: color-mix(
426426
in srgb,
427-
var(--ctp-plt-surface0),
427+
var(--ctp-plt-surface1),
428428
#000 30%
429429
);
430430

@@ -443,3 +443,48 @@ all of MD as it is not optimized for dense, information rich UIs.
443443
--jp-switch-true-position-color: var(--ctp-plt-peach);
444444
--jp-switch-cursor-color: rgba(0, 0, 0, 0.8);
445445
}
446+
447+
/*
448+
* External overrides
449+
*
450+
* This is necessary to set style for items not exposable trough the style variables above.
451+
*/
452+
453+
/* Font color of buttons */
454+
455+
button.jp-mod-styled.jp-mod-warn {
456+
color: var(--ctp-plt-crust);
457+
}
458+
459+
button.jp-mod-styled.jp-mod-accept {
460+
color: var(--ctp-plt-crust);
461+
}
462+
463+
button.jp-mod-styled.jp-mod-reject {
464+
color: var(--ctp-plt-text);
465+
}
466+
467+
/* Background color of input fields, that mostly appear on Settings menus */
468+
469+
/* NOTE: disable styelint because we are specifying
470+
* classes already defined in Jupyter, so we cannot rename it */
471+
472+
/* stylelint-disable selector-class-pattern */
473+
.jp-FormGroup-content fieldset .jp-inputFieldWrapper input,
474+
.jp-FormGroup-content fieldset .jp-inputFieldWrapper select,
475+
.jp-FormGroup-content fieldset .jp-inputFieldWrapper textarea {
476+
background: var(--ctp-plt-surface0);
477+
}
478+
479+
.jp-FormGroup-content fieldset input:focus,
480+
.jp-FormGroup-content fieldset select:focus {
481+
outline: var(--jp-border-width) solid var(--ctp-cfg-brand-color);
482+
box-shadow: inset 0 0 4px
483+
color-mix(in srgb, var(--ctp-cfg-brand-color), #000 15%);
484+
}
485+
486+
.jp-FormGroup-content fieldset input:hover:not(:focus),
487+
.jp-FormGroup-content fieldset select:hover:not(:focus) {
488+
background-color: var(--ctp-plt-surface1);
489+
}
490+
/* stylelint-enable selector-class-pattern */

0 commit comments

Comments
 (0)