Skip to content

Commit c333e41

Browse files
committed
condensed main scss file
1 parent 024a11c commit c333e41

File tree

4 files changed

+4
-53
lines changed

4 files changed

+4
-53
lines changed

pages/dev/test-site/checkin/+Page.client.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import "../main.styl";
88
import { SETTINGS } from "@macrostrat-web/settings";
99
import { DarkModeButton } from "@macrostrat/ui-components";
1010
import "./main.sass";
11+
import "@macrostrat/style-system";
1112

1213
function imageExists(image_url){
1314
var http = new XMLHttpRequest();

pages/dev/test-site/checkin/main.sass

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,5 +138,5 @@ h4
138138

139139
.dark-mode-button
140140
position: absolute
141-
top: 0
142-
left: 0
141+
top: 10px
142+
left: 10px

pages/dev/test-site/colors.scss

Lines changed: 0 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,6 @@
22
@use "@blueprintjs/colors/lib/scss/colors" as *;
33

44
$colors: (
5-
secondary-color: $gray3,
6-
tertiary-background: $light-gray5,
7-
tertiary-color: $light-gray4,
8-
tertiary-border-color: $gray5,
9-
accent-color: $light-gray3,
10-
accent-hover-color: $light-gray1,
11-
accent-border-color: $gray5,
12-
background-color: #fff,
13-
panel-background-color: #fff,
14-
panel-secondary-background-color: #f5f8fa,
15-
translucent-panel-background-color: rgba(255, 255, 255, 0.8),
16-
panel-rule-color: #ddd,
17-
accent-secondary-color: #f5f8fa,
18-
accent-secondary-hover-color: #ebf1f5,
19-
ui-color-accent: rgb(252, 217, 250),
20-
ui-color-accent-text: rgb(143, 39, 138),
21-
box-horizontal-padding: 0.8em,
22-
text-color: #333,
23-
text-subtle-color: #444,
24-
text-emphasized-color: #000,
25-
card-shadow-color: rgba(17, 20, 24, 0.15),
26-
error-text-color: #cd4246,
275
img-color: invert(0),
286
background: #fff,
297
text: #333,
@@ -39,35 +17,6 @@ $accent: color.scale($dark-background, $lightness: 10%);
3917
$dark-text: $gray4;
4018

4119
$dark-colors: (
42-
text-emphasized-color: #fff,
43-
text-color: $dark-text,
44-
text-subtle-color: $gray3,
45-
panel-background-color: $dark-background,
46-
background-color: $dark-background,
47-
panel-secondary-background-color:
48-
color.scale($dark-background, $lightness: 5%),
49-
translucent-panel-background-color:
50-
color.change($dark-background, $alpha: 0.8),
51-
accent-color: $accent,
52-
// light gray 3,
53-
accent-secondary-color: $accent,
54-
accent-secondary-hover-color: color.adjust($accent, $lightness: 5%),
55-
panel-rule-color: #404854,
56-
secondary-color: $gray1,
57-
// gray3,
58-
tertiary-background: color.adjust($accent, $lightness: 4%),
59-
// light gray 5,
60-
tertiary-color: #383e47,
61-
// light gray 4,
62-
tertiary-border-color: #5f6b7c,
63-
// gray 5,
64-
accent-hover-color: color.adjust($accent, $lightness: 4%),
65-
// light gray 1,
66-
accent-border-color: #5f6b7c,
67-
// gray5,
68-
card-shadow-color: color.adjust($gray1, $alpha: 0.2),
69-
ui-color-accent-text: rgb(252, 217, 250),
70-
ui-color-accent: color.adjust(rgb(143, 39, 138), $lightness: -50%),
7120
img-color: invert(1),
7221
background: #141a1e,
7322
text: #fff,

pages/dev/test-site/explore/+Page.client.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import { tileserverDomain } from "@macrostrat-web/settings";
1818
import "../main.styl";
1919
import { createCheckins } from "../index";
2020
import "./main.sass";
21+
import "@macrostrat/style-system";
2122

2223
let count = 0;
2324

0 commit comments

Comments
 (0)