-
Notifications
You must be signed in to change notification settings - Fork 291
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
migrate from scss variables to css vars instead
- Loading branch information
1 parent
41ccd89
commit 329ef22
Showing
11 changed files
with
189 additions
and
329 deletions.
There are no files selected for viewing
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,24 @@ | ||
// $author Ante Aljinovic https://github.com/aljinovic | ||
// modified dark version | ||
|
||
$main-background: invert(#f8f8f8); | ||
$secondary-background: invert(#f8f8f8); | ||
@import "aante"; | ||
|
||
$variable-type-color: invert(#06f); | ||
$variable-type-color-hover: invert(#f00); | ||
:root { | ||
--main-background: #070707; | ||
--secondary-background: #070707; | ||
|
||
$border-color: invert(#d7d7d7); | ||
$border-color-hover: invert(#aaa); | ||
--variable-type-color: #ff9900; | ||
--variable-type-color-hover: #00ffff; | ||
|
||
// <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 150"><path d="M6 7h18l-9 15zm0 30h18l-9 15zm0 45h18l-9-15zm0 30h18l-9-15zm0 12l18 18m-18 0l18-18" fill="#AAA"/><path d="M6 126l18 18m-18 0l18-18" stroke-width="2" stroke="#AAA"/></svg> | ||
$caret-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMCAxNTAiPjxwYXRoIGQ9Ik02IDdoMThsLTkgMTV6bTAgMzBoMThsLTkgMTV6bTAgNDVoMThsLTktMTV6bTAgMzBoMThsLTktMTV6bTAgMTJsMTggMThtLTE4IDBsMTgtMTgiIGZpbGw9IiNBQUEiLz48cGF0aCBkPSJNNiAxMjZsMTggMThtLTE4IDBsMTgtMTgiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSIjQUFBIi8+PC9zdmc+"); | ||
--border-color: #282828; | ||
--border-color-hover: #555555; | ||
|
||
$backdrop-color: rgba(invert(#fff), 0.9); | ||
$text-color: invert(#1d1e1e); | ||
$variable-name-color: invert(#1d1e1e); | ||
--backdrop-color: rgba(0, 0, 0, 0.9); | ||
--text-color: #e2e1e1; | ||
--variable-name-color: #e2e1e1; | ||
|
||
$alternative-background: invert(#fff); | ||
$highlight-color: invert(#cfc); | ||
--alternative-background: #000; | ||
--highlight-color: #330033; | ||
|
||
@import "aante-light"; | ||
--caret-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 150'><path d='M6 7h18l-9 15zm0 30h18l-9 15zm0 45h18l-9-15zm0 30h18l-9-15zm0 12l18 18m-18 0l18-18' fill='%23AAA'/><path d='M6 126l18 18m-18 0l18-18' stroke-width='2' stroke='%23AAA'/></svg>"); | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,30 @@ | ||
@import "base"; | ||
|
||
:root { | ||
--kint-color1: #e3ecf0; | ||
--kint-color2: #c0d4df; | ||
--kint-color3: #9dbed0; | ||
--kint-color4: #b2ccda; | ||
--kint-highlight-color: #f0eb96; | ||
} | ||
|
||
.kint-rich { | ||
> dl > dt { | ||
background: linear-gradient(to bottom, #e3ecf0 0, #c0d4df 100%); | ||
background: linear-gradient(to bottom, var(--kint-color1) 0%, var(--kint-color2) 100%); | ||
} | ||
|
||
ul.kint-tabs { | ||
background: linear-gradient(to bottom, #9dbed0 0px, #b2ccda 100%); | ||
background: linear-gradient(to bottom, var(--kint-color3) 0%, var(--kint-color4) 100%); | ||
} | ||
|
||
& > dl:not(.kint-trace) > dd > ul.kint-tabs li { | ||
background: $main-background; | ||
|
||
background: var(--main-background); | ||
&.kint-active-tab { | ||
background: $secondary-background; | ||
background: var(--secondary-background); | ||
} | ||
} | ||
|
||
& > dl.kint-trace > dt { | ||
background: linear-gradient(to bottom, #c0d4df 0px, #e3ecf0 100%); | ||
background: linear-gradient(to bottom, var(--kint-color2) 0%, var(--kint-color1) 100%); | ||
} | ||
|
||
.kint-source .kint-highlight { | ||
background: #f0eb96; | ||
background: var(--kint-highlight-color); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters