mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 20:19:13 +00:00
add neutral color palette
This commit is contained in:
@@ -1,21 +1,21 @@
|
||||
.code-block {
|
||||
position: relative;
|
||||
border-radius: 3px;
|
||||
background-color: rgb(var(--sl-color-gray-50));
|
||||
background-color: rgb(var(--sl-color-neutral-50));
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.sl-theme-dark .code-block {
|
||||
background-color: rgb(var(--sl-color-gray-200));
|
||||
background-color: rgb(var(--sl-color-neutral-200));
|
||||
}
|
||||
|
||||
.code-block__preview {
|
||||
position: relative;
|
||||
border: solid 1px rgb(var(--sl-color-gray-200));
|
||||
border: solid 1px rgb(var(--sl-color-neutral-200));
|
||||
border-bottom: none;
|
||||
border-top-left-radius: 3px;
|
||||
border-top-right-radius: 3px;
|
||||
background-color: rgb(var(--sl-color-empty));
|
||||
background-color: rgb(var(--sl-color-1000));
|
||||
min-width: 20rem;
|
||||
max-width: 100%;
|
||||
padding: 1.5rem 3.25rem 1.5rem 1.5rem;
|
||||
@@ -43,9 +43,9 @@
|
||||
bottom: 0;
|
||||
width: 1.75rem;
|
||||
font-size: 20px;
|
||||
color: rgb(var(--sl-color-gray-500));
|
||||
background-color: rgb(var(--sl-color-empty));
|
||||
border-left: solid 1px rgb(var(--sl-color-gray-200));
|
||||
color: rgb(var(--sl-color-neutral-500));
|
||||
background-color: rgb(var(--sl-color-1000));
|
||||
border-left: solid 1px rgb(var(--sl-color-neutral-200));
|
||||
border-top-right-radius: 3px;
|
||||
cursor: ew-resize;
|
||||
transition: 250ms background-color;
|
||||
@@ -71,7 +71,7 @@
|
||||
}
|
||||
|
||||
.code-block__source {
|
||||
border: solid 1px rgb(var(--sl-color-gray-200));
|
||||
border: solid 1px rgb(var(--sl-color-neutral-200));
|
||||
border-bottom: none;
|
||||
border-radius: 0 !important;
|
||||
margin: 0;
|
||||
@@ -94,13 +94,13 @@
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
height: 2.5rem;
|
||||
border: solid 1px rgb(var(--sl-color-gray-200));
|
||||
border: solid 1px rgb(var(--sl-color-neutral-200));
|
||||
border-bottom-left-radius: 3px;
|
||||
border-bottom-right-radius: 3px;
|
||||
background: rgb(var(--sl-color-empty));
|
||||
background: rgb(var(--sl-color-1000));
|
||||
font: inherit;
|
||||
font-size: 0.875rem;
|
||||
color: rgb(var(--sl-color-gray-600));
|
||||
color: rgb(var(--sl-color-neutral-600));
|
||||
cursor: pointer;
|
||||
transition: 250ms background-color;
|
||||
-webkit-appearance: none;
|
||||
|
||||
Reference in New Issue
Block a user