diff options
author | dsrkafuu | 2021-06-09 10:31:54 +0800 |
---|---|---|
committer | dsrkafuu | 2021-06-09 10:31:54 +0800 |
commit | 787b7865fba31fd56009a85f214f829b9d85cc04 (patch) | |
tree | 231c5deebcb813723046e6ac1f1b48d6ed055409 /assets/scss/_primer/markdown/tables.scss | |
parent | a138423ec2588d76a96f90fdcd8d9606276355e3 (diff) | |
download | hugo-theme-fuji-787b7865fba31fd56009a85f214f829b9d85cc04.tar.gz hugo-theme-fuji-787b7865fba31fd56009a85f214f829b9d85cc04.tar.bz2 hugo-theme-fuji-787b7865fba31fd56009a85f214f829b9d85cc04.zip |
build: update primer
Diffstat (limited to 'assets/scss/_primer/markdown/tables.scss')
-rw-r--r-- | assets/scss/_primer/markdown/tables.scss | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/assets/scss/_primer/markdown/tables.scss b/assets/scss/_primer/markdown/tables.scss index 5e1e0bd..83a1a9f 100644 --- a/assets/scss/_primer/markdown/tables.scss +++ b/assets/scss/_primer/markdown/tables.scss @@ -2,7 +2,7 @@ // stylelint-disable selector-max-type .markdown-body { // Tables - table:not(.highlight) { + table { display: block; width: 100%; // keep for backwards compatibility width: max-content; @@ -17,17 +17,15 @@ td { // stylelint-disable-next-line primer/spacing padding: 6px 13px; - // stylelint-disable-next-line primer/borders - border: $border-width $border-style lighten($gray-300, 5%); + border: $border-width $border-style var(--color-markdown-table-border); } tr { - background-color: $bg-white; - // stylelint-disable-next-line primer/borders - border-top: $border-width $border-style darken($gray-300, 4%); + background-color: var(--color-bg-primary); + border-top: $border-width $border-style var(--color-markdown-table-tr-border); &:nth-child(2n) { - background-color: $bg-gray; + background-color: var(--color-bg-tertiary); } } |