Skip to content

Commit

Permalink
feat: update styles
Browse files Browse the repository at this point in the history
Signed-off-by: nerucheva <tatiana@nerucheva.com>
  • Loading branch information
nerucheva committed May 18, 2023
1 parent 8ffae5b commit b35867c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 16 deletions.
20 changes: 10 additions & 10 deletions docs/assets/scss/prism.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+bash+c+csharp+cpp+go+java+markdown+python+scss+sql+toml+yaml&plugins=toolbar+copy-to-clipboard */
code[class*=language-],
pre[class*=language-] {
color: #006AFF !important;
color: #8C53C6 !important;
background: 0 0;
text-shadow: none !important;
font-family: 'IBM Plex Mono', monospace !important;
Expand Down Expand Up @@ -205,13 +205,13 @@ div.code-toolbar>.toolbar>.toolbar-item>span:hover {
.token.class-name,
.token.url,
.token.tag {
color: #008033;
color: #5D7E2A;
}

.token.console,
.token.class-name.namespace,
.token.tag.attr-name {
color: #006AFF;
color: #8C53C6;
}

.token.builtin,
Expand All @@ -222,7 +222,7 @@ div.code-toolbar>.toolbar>.toolbar-item>span:hover {
.token.tag.attr-value,
.token.atrule,
.token.inserted {
color: #DC3918;
color: #BF4040;
}

.token.boolean,
Expand All @@ -233,28 +233,28 @@ div.code-toolbar>.toolbar>.toolbar-item>span:hover {
.token.property,
.token.property-access,
.token.deleted {
color: #805E00;
color: #2D7786;
}

.token.regex,
.token.important {
color: #0D0D0D;
color: #000000;
}

.token.operator,
.token.entity {
color: #FF9C1A;
color: #E5A11A;
}

.token.punctuation {
color: #666666;
color: #999999;
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
color: #B3B3B3;
color: #BFBFBF;
}

.token.table {
Expand All @@ -263,6 +263,6 @@ div.code-toolbar>.toolbar>.toolbar-item>span:hover {

.react-syntax-highlighter-line-number.linenumber {
min-width: 2.25em !important;
color: #666666;
color: #999999;
}
}
10 changes: 4 additions & 6 deletions docs/assets/scss/theme/tables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
color: $table-color;
background-color: $table-bg; // Reset for nesting within parents with `background-color`.
margin: 20px 0;
border: 1px solid $table-border-color;
border-top: 1px solid $table-border-color;

@media screen and (max-width: 1440px) {
max-width: none;
Expand Down Expand Up @@ -76,8 +76,8 @@
}
}

tr:not(:last-child) {
border-bottom: $table-border-width solid $table-border-color;
tr {
border-bottom: none;
}

// Zebra-striping
Expand All @@ -86,12 +86,10 @@ tr:not(:last-child) {

.table-striped {
tbody tr:nth-of-type(#{$table-striped-order}) {
background-color: transparent;
background-color: #FAFAFA;
}
}



// Hover effect
//
// Placed here since it has to come after the potential zebra striping
Expand Down

0 comments on commit b35867c

Please # to comment.