Skip to content

Commit e518348

Browse files
committed
Fixed new table styles in dark mode
1 parent f0615fe commit e518348

10 files changed

+13
-10
lines changed

Diff for: material/assets/stylesheets/main.75c97395.min.css

-2
This file was deleted.

Diff for: material/assets/stylesheets/main.75c97395.min.css.map

-1
This file was deleted.

Diff for: material/assets/stylesheets/main.f7f47774.min.css

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: material/assets/stylesheets/main.f7f47774.min.css.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: material/assets/stylesheets/palette.ba0d045b.min.css renamed to material/assets/stylesheets/palette.3f5d1f46.min.css

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: material/assets/stylesheets/palette.3f5d1f46.min.css.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: material/assets/stylesheets/palette.ba0d045b.min.css.map

-1
This file was deleted.

Diff for: material/base.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@
3939
{% endif %}
4040
{% endblock %}
4141
{% block styles %}
42-
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.75c97395.min.css' | url }}">
42+
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.f7f47774.min.css' | url }}">
4343
{% if config.theme.palette %}
4444
{% set palette = config.theme.palette %}
45-
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.ba0d045b.min.css' | url }}">
45+
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.3f5d1f46.min.css' | url }}">
4646
{% if palette.primary %}
4747
{% import "partials/palette.html" as map %}
4848
{% set primary = map.primary(

Diff for: src/assets/stylesheets/main/_typeset.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ kbd {
498498
font-size: px2rem(12.8px);
499499
background-color: var(--md-default-bg-color);
500500
border: px2rem(1px) solid var(--md-typeset-table-color);
501-
border-radius: px2rem(4px);
501+
border-radius: px2rem(2px);
502502
touch-action: auto;
503503

504504
// [print]: Reset display mode so table header wraps when printing
@@ -586,7 +586,7 @@ kbd {
586586
width: 1.2em;
587587
height: 1.2em;
588588
margin-left: 0.5em;
589-
vertical-align: sub;
589+
vertical-align: text-bottom;
590590
mask-image: var(--md-typeset-table-sort-icon);
591591
mask-repeat: no-repeat;
592592
mask-size: contain;

Diff for: src/assets/stylesheets/palette/_scheme.scss

+3
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@
7878
--md-typeset-kbd-accent-color: hsla(var(--md-hue), 15%, 94%, 0.2);
7979
--md-typeset-kbd-border-color: hsla(var(--md-hue), 15%, 14%, 1);
8080

81+
// Typeset `table` color shades
82+
--md-typeset-table-color: hsla(var(--md-hue), 75%, 95%, 0.12);
83+
8184
// Admonition color shades
8285
--md-admonition-bg-color: hsla(var(--md-hue), 0%, 100%, 0.025);
8386

0 commit comments

Comments
 (0)