1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

feat: highlithg sql in notes, history and console

This commit is contained in:
2023-12-22 18:06:27 +01:00
parent 08e5a13f72
commit bfa3924d57
8 changed files with 82 additions and 10 deletions

View File

@ -1,4 +1,4 @@
/* stylelint-disable selector-class-pattern */
/* stylelint-disable */
@import "~spectre.css/src/variables";
@import "variables";
@import "transitions";
@ -109,7 +109,6 @@ option:checked {
> div {
padding: 0.1rem 0.2rem;
/* stylelint-disable-next-line value-no-vendor-prefix */
min-width: -webkit-fill-available;
}
}
@ -429,3 +428,32 @@ option:checked {
}
}
}
/* sql-highlight */
code.sql {
font-family: monospace;
}
.sql-hl-keyword {
color: $primary-color;
}
.sql-hl-function {
color: darkorchid;
}
.sql-hl-number {
color: $number-color;
}
.sql-hl-string {
color: $string-color;
}
.sql-hl-special {
color: goldenrod;
}
.sql-hl-bracket {
color: darkorchid;
}