Skip to content

v0.1.3 #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Sep 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 */