Skip to content

Commit

Permalink
Merge pull request #4 from jairaume/fix/v-1.0.1-missing-fonts-and-cod…
Browse files Browse the repository at this point in the history
…e-coverage-styling

Fix/v 1.0.1 missing fonts and code coverage styling
  • Loading branch information
jairaume authored May 27, 2024
2 parents 31a6b48 + 287df3b commit ea63608
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ stats.html
stats-*.json
.wxt
web-ext.config.ts
.DS_Store

# env
.env
.env.*

# Editor directories and files
.vscode/*
Expand Down
4 changes: 2 additions & 2 deletions common/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

@font-face {
font-family: "pixel";
src: url("./assets/fonts/Pixel.woff2") format("woff2"),
url("./assets/fonts/Pixel.woff") format("woff");
src: url("/assets/fonts/Pixel.woff2") format("woff2"),
url("/assets/fonts/Pixel.woff") format("woff");
}


Expand Down
20 changes: 20 additions & 0 deletions entrypoints/content/inject.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
--color-black-transparent: rgba(0, 0, 0, 0.5);
--color-dark-red: #a12323;
--color-red : #e61123;
--color-red-transparent: rgba(230, 17, 35, .5);
--color-coverage-covered: rgba(59, 155, 61, .5);
--color-coverage-covered-stale: rgba(59, 155, 61, .25);
--color-coverage-not-covered: rgba(155, 59, 59, .5);
--color-coverage-not-covered-stale: rgba(155, 59, 59, .25);

/* Gaps */
--gap-very-small: 2px;
Expand Down Expand Up @@ -137,6 +142,9 @@ body.dev-console-one-theme {
color: var(--on-bg-secondary) !important;
}
}
div.problemCircle {
margin-left: .5rem;
}
.x-tab:hover .x-tab-inner {
color: var(--on-bg-focused) !important;
transition-duration: var(--duration-fast);
Expand Down Expand Up @@ -658,4 +666,16 @@ body.dev-console-one-theme {
border-radius: var(--radius-small);
}
}
.CodeMirror-line-highlight-covered {
background: var(--color-coverage-covered) !important;
}
.CodeMirror-line-highlight-covered-stale {
background: var(--color-coverage-covered-stale) !important;
}
.CodeMirror-line-highlight-notcovered {
background: var(--color-coverage-not-covered) !important;
}
.CodeMirror-line-highlight-notcovered-stale {
background: var(--color-coverage-not-covered-stale) !important;
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://rasclejero.me"
},
"private": true,
"version": "1.0.0",
"version": "1.0.1",
"type": "module",
"scripts": {
"dev": "wxt",
Expand Down
6 changes: 3 additions & 3 deletions themes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export const themes: Theme[] = [
},
{
name: "Monochrome",
description: "🌑 If black and white is all you need",
description: "🎱 If black and white is all you need",
colors: {
"bg-dark": "#141414",
"bg-light": "#1f1f1f",
Expand Down Expand Up @@ -175,7 +175,7 @@ export const themes: Theme[] = [
"on-bg-secondary": "#5B5A58",
"line-number": "#5B5A58",
string: "#40C066",
word: "#FFCC66",
word: "#d1941a",
keyword: "#CC66FF",
cursor: "#2F2E2C",
def: "#40C066",
Expand All @@ -186,7 +186,7 @@ export const themes: Theme[] = [
},
{
name: "Oceanic Dreams",
description: "🛟 20,000 Leagues under the sea",
description: "🦑 20,000 Leagues under the sea",
colors: {
"bg-dark": "#03202f",
"bg-light": "#052938",
Expand Down

0 comments on commit ea63608

Please sign in to comment.