Skip to content

Commit fb10338

Browse files
committed
More theme variation fixes
1 parent 1b9e2c0 commit fb10338

File tree

11 files changed

+57
-25
lines changed

11 files changed

+57
-25
lines changed

Minimal.css

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,7 @@ body .excalidraw {
379379
--background-secondary-alt: white;
380380
--ribbon-background: white;
381381
--titlebar-background: white;
382+
--mobile-sidebar-background: white;
382383
--bg1: white;
383384
}
384385

@@ -565,8 +566,10 @@ body .excalidraw {
565566
--background-secondary: var(--bg1);
566567
--background-primary-alt: var(--bg3);
567568
--background-table-rows: var(--bg3);
568-
--interactive-normal: var(--bg3);
569+
}
570+
.theme-light.minimal-light-tonal.is-mobile {
569571
--background-modifier-form-field: var(--bg3);
572+
--interactive-normal: var(--bg3);
570573
}
571574

572575
.theme-dark.minimal-dark-tonal {
@@ -603,6 +606,10 @@ body {
603606
--bases-table-text-size: var(--table-text-size);
604607
}
605608

609+
.query-toolbar-menu .combobox-button {
610+
background-color: transparent;
611+
}
612+
606613
.block-language-base .bases-header .query-toolbar,
607614
.bases-embed .bases-header .query-toolbar {
608615
padding-bottom: 2px;
@@ -4404,6 +4411,9 @@ body:not(.full-file-names) .tree-item-inner {
44044411
.is-mobile .markdown-source-view.mod-cm6 .cm-gutters {
44054412
margin-left: 0;
44064413
}
4414+
.is-mobile.theme-light .menu {
4415+
--interactive-normal: var(--background-modifier-hover);
4416+
}
44074417

44084418
.is-mobile .workspace-drawer.mod-left.is-pinned {
44094419
width: var(--mobile-left-sidebar-width);

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Minimal",
3-
"version": "8.0.3",
3+
"version": "8.0.4",
44
"minAppVersion": "1.9.0",
55
"author": "@kepano",
66
"authorUrl": "https://twitter.com/kepano",

src/css/main.css

Lines changed: 11 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/css/main.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/css/main.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/css/main.min.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/scss/app/bases.scss

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,32 @@
11
.bases-view {
2-
--bases-table-text-size: var(--table-text-size);
2+
--bases-table-text-size: var(--table-text-size);
3+
}
4+
5+
.query-toolbar-menu {
6+
.combobox-button {
7+
background-color: transparent;
8+
}
39
}
410
.block-language-base,
511
.bases-embed {
6-
.bases-header {
7-
.query-toolbar {
8-
padding-bottom: 2px;
9-
opacity: var(--bases-toolbar-opacity);
10-
transition: 0.15s 0.15s opacity;
11-
&:hover {
12-
opacity: 1;
13-
transition: 0s opacity;
14-
}
15-
}
16-
}
12+
.bases-header {
13+
.query-toolbar {
14+
padding-bottom: 2px;
15+
opacity: var(--bases-toolbar-opacity);
16+
transition: 0.15s 0.15s opacity;
17+
&:hover {
18+
opacity: 1;
19+
transition: 0s opacity;
20+
}
21+
}
22+
}
1723
}
1824
.base-plain {
19-
.bases-header {
20-
display: none;
21-
}
25+
.bases-header {
26+
display: none;
27+
}
2228
}
2329

2430
.bases-table-header-icon {
25-
display: var(--bases-table-header-icon-display);
31+
display: var(--bases-table-header-icon-display);
2632
}

src/scss/mobile/mobile.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@
3434
.markdown-source-view.mod-cm6 .cm-gutters {
3535
margin-left: 0;
3636
}
37+
&.theme-light .menu {
38+
--interactive-normal: var(--background-modifier-hover);
39+
}
3740
}
3841

3942
.is-mobile {

src/scss/variables/dynamic-color.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ body .excalidraw {
272272
--background-secondary-alt: white;
273273
--ribbon-background: white;
274274
--titlebar-background: white;
275+
--mobile-sidebar-background: white;
275276
--bg1: white;
276277
}
277278

src/scss/variables/theme.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,10 @@
171171
--background-secondary: var(--bg1);
172172
--background-primary-alt: var(--bg3);
173173
--background-table-rows: var(--bg3);
174-
--interactive-normal: var(--bg3);
175-
--background-modifier-form-field: var(--bg3);
174+
&.is-mobile {
175+
--background-modifier-form-field: var(--bg3);
176+
--interactive-normal: var(--bg3);
177+
}
176178
}
177179

178180
.theme-dark.minimal-dark-tonal {

0 commit comments

Comments
 (0)