Skip to content

Commit

Permalink
2.0.0-beta.21
Browse files Browse the repository at this point in the history
  • Loading branch information
brookback committed May 2, 2020
1 parent fd578c5 commit 50445e3
Show file tree
Hide file tree
Showing 32 changed files with 468 additions and 244 deletions.
63 changes: 51 additions & 12 deletions dist/base-dark-mode.css
Original file line number Diff line number Diff line change
@@ -1,14 +1,36 @@
/*! lookbook-dark-mode.css v2.0.0-beta.20 */
/*! lookbook-dark-mode.css v2.0.0-beta.21 */

@media screen and (prefers-color-scheme: dark) {

input[type='text'],
input[type='url'],
input[type='email'],
input[type='password'],
input[type='search'],
input[type='number'],
input[type='date'],
input[type='time'],
textarea {
border: 0
}

select {
border: 0
}

select:focus {
box-shadow: var(--form-focus-shadow);
}

.btn {
--text: var(--blue-90);

--text-hover: var(--blue-90);

--text-active: var(--blue-80);

--text-disabled: var(--text);

--bg: var(--blue-40);

--bg-hover: rgb(144, 221, 255);
Expand All @@ -19,7 +41,7 @@
}

.btn[disabled] {
opacity: 0.25;
opacity: 0.4;
}

.btn-secondary {
Expand All @@ -37,13 +59,13 @@

--text-active: rgba(255,255,255, 0.5);

--bg-disabled: var(--grey-90);
--bg-disabled: var(--grey-80);

--text-disabled: var(--grey-60)
--text-disabled: var(--grey-50)
}

.btn-secondary[disabled] {
opacity: 1;
opacity: 0.7;
}

.btn-primary {
Expand All @@ -61,6 +83,8 @@

--text-active: var(--green-80);

--text-disabled: var(--text);

--bg-disabled: var(--green-30)
}

Expand Down Expand Up @@ -109,29 +133,44 @@
}

:root {
--background-color: var(--grey-80);
--heading-color: var(--blue-30);
--background-color: var(--grey-90);
--heading-color: var(--grey-40);
--text-color: var(--blue-20);
--link-color: var(--blue-40);
--link-color-hover: var(--blue-30);
--selection-background: var(--blue-40);
--form-background-color: var(--grey-90);
--selection-background: var(--grey-50);
--form-background-color: var(--grey-100);
--form-background-color-active: var(--grey-100);
--form-input-color: var(--text-color);
--form-input-color: var(--grey-30);
--form-input-color-active: var(--grey-20);
--form-border-color: var(--grey-60);
--form-focus-shadow: var(--blue-70) 0 0 0 2px;
--code-background-color: var(--grey-90);
--form-focus-shadow: rgba(0, 122, 177, 0.6) 0 0 0 2px;
--code-background-color: var(--grey-100);
--pre-background-color: var(--grey-100);
--code-color: var(--blue-30);
--code-border-color: var(--grey-80);
--kbd-color: var(--blue-30);
--kbd-border-color: var(--grey-80);
}

a {
font-weight: bold;
}

pre {
box-shadow: none;
border: 0;
}

code,
kbd {
border: 0;
}

kbd {
box-shadow: none;
}

html,
body {
line-height: 1.7;
Expand Down
2 changes: 1 addition & 1 deletion dist/base-dark-mode.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 50445e3

Please sign in to comment.