Skip to content

Commit

Permalink
removed lexical formatting in favour of a new plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
marcaux committed Feb 29, 2024
1 parent 4795ea0 commit f065294
Showing 1 changed file with 0 additions and 79 deletions.
79 changes: 0 additions & 79 deletions packages/wtf.laux.theme.monokai-ristretto/src/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -139,22 +139,18 @@
}

* {
/* Foreground, Background */
scrollbar-color: var(--scrollbar-foreground) var(--scrollbar-background);
}

*::-webkit-scrollbar {
width: 10px;
/* Mostly for vertical scrollbars */
}

*::-webkit-scrollbar-thumb {
/* Foreground */
background: var(--scrollbar-foreground);
}

*::-webkit-scrollbar-track {
/* Background */
background: var(--scrollbar-background);
}

Expand Down Expand Up @@ -440,7 +436,6 @@ button:hover .bg-info {
background-color: var(--sn-stylekit-neutral-color);
}


.Lexical__link {
color: var(--blue);
}
Expand All @@ -449,75 +444,17 @@ button:hover .bg-info {
color: var(--white);
}

.Lexical__h1,
.Lexical__h2,
.Lexical__h3,
.Lexical__h4,
.Lexical__h5 {
margin-bottom: 0.5em;
margin-top: 1em;
}

.Lexical__paragraph {
margin-bottom: 0.5em;
}

.Lexical__listItem {
margin-bottom: 0.33em;
}


.Lexical__listItemChecked,
.Lexical__listItemUnchecked {
padding-left: calc(var(--font-size) + 1rem);
}

.Lexical__listItemUnchecked:before,
.Lexical__listItemChecked:before {
--size: 1.3em;
}

.Lexical__listItemChecked:before {
background-color: var(--item-cell-selected-background-color);
cursor: pointer;
}

.Lexical__listItemChecked:after {
content: "\00d7";
display: inline-block;
transform: none;
font-size: 2em;
top: -60%;
left: 1px;
border: none;
color: var(--white);
}

li[role="checkbox"] {
margin: 0.5em 0;
}

.ContentEditable__root {

>.Lexical__ul,
>.Lexical__ol {
margin-top: 1em;
margin-bottom: 1em;
}
}

.Lexical__quote {
margin-top: 1em;
margin-bottom: 1em;
font-size: inherit;
}

.Lexical__code {
background-color: var(--back-editor);
border: 2px solid var(--back-button);
margin-top: 1em;
margin-bottom: 1em;
padding: 1em;
}

.Lexical__textCode {
Expand All @@ -536,22 +473,6 @@ mark {
background-color: var(--back-editor);
}

.Collapsible__container[open]>.Collapsible__title:before {
border-width: 7px 7px 0 7px;
}

.Collapsible__title {
padding: 0.5em 0.5em 0.5em 2em;

&:before {
border-width: 7px 0px 7px 7px;
}
}

.Collapsible__content {
padding: 1em;
}

.sn-icon-button.toggled {
color: var(--yellow) !important;
background-color: unset !important;
Expand Down

0 comments on commit f065294

Please sign in to comment.