Skip to content

Commit

Permalink
Merge pull request #1 from gabrielmagno/develop
Browse files Browse the repository at this point in the history
v0.1.3
  • Loading branch information
gabrielmagno authored Sep 2, 2023
2 parents ff827b2 + 759c7ae commit 815f596
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build

on:
push:
branches: main
branches: ["main", "develop"]
pull_request:
branches: '*'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Check Release
on:
push:
branches: ["main"]
branches: ["main", "develop"]
pull_request:
branches: ["*"]

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "catppuccin_jupyterlab",
"version": "0.1.2",
"version": "0.1.3",
"description": "📊 Soothing pastel theme for JupyterLab.",
"keywords": [
"jupyter",
Expand Down
51 changes: 48 additions & 3 deletions style/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -416,15 +416,15 @@ all of MD as it is not optimized for dense, information rich UIs.
--jp-warn-color-normal: var(--ctp-plt-red);
--jp-warn-color-hover: color-mix(in srgb, var(--ctp-plt-red), #000 15%);
--jp-warn-color-active: color-mix(in srgb, var(--ctp-plt-red), #000 30%);
--jp-reject-color-normal: var(--ctp-plt-surface0);
--jp-reject-color-normal: var(--ctp-plt-surface1);
--jp-reject-color-hover: color-mix(
in srgb,
var(--ctp-plt-surface0),
var(--ctp-plt-surface1),
#000 15%
);
--jp-reject-color-active: color-mix(
in srgb,
var(--ctp-plt-surface0),
var(--ctp-plt-surface1),
#000 30%
);

Expand All @@ -443,3 +443,48 @@ all of MD as it is not optimized for dense, information rich UIs.
--jp-switch-true-position-color: var(--ctp-plt-peach);
--jp-switch-cursor-color: rgba(0, 0, 0, 0.8);
}

/*
* External overrides
*
* This is necessary to set style for items not exposable trough the style variables above.
*/

/* Font color of buttons */

button.jp-mod-styled.jp-mod-warn {
color: var(--ctp-plt-crust);
}

button.jp-mod-styled.jp-mod-accept {
color: var(--ctp-plt-crust);
}

button.jp-mod-styled.jp-mod-reject {
color: var(--ctp-plt-text);
}

/* Background color of input fields, that mostly appear on Settings menus */

/* NOTE: disable styelint because we are specifying
* classes already defined in Jupyter, so we cannot rename it */

/* stylelint-disable selector-class-pattern */
.jp-FormGroup-content fieldset .jp-inputFieldWrapper input,
.jp-FormGroup-content fieldset .jp-inputFieldWrapper select,
.jp-FormGroup-content fieldset .jp-inputFieldWrapper textarea {
background: var(--ctp-plt-surface0);
}

.jp-FormGroup-content fieldset input:focus,
.jp-FormGroup-content fieldset select:focus {
outline: var(--jp-border-width) solid var(--ctp-cfg-brand-color);
box-shadow: inset 0 0 4px
color-mix(in srgb, var(--ctp-cfg-brand-color), #000 15%);
}

.jp-FormGroup-content fieldset input:hover:not(:focus),
.jp-FormGroup-content fieldset select:hover:not(:focus) {
background-color: var(--ctp-plt-surface1);
}
/* stylelint-enable selector-class-pattern */

0 comments on commit 815f596

Please sign in to comment.