-
Notifications
You must be signed in to change notification settings - Fork 568
/
Copy path_variables.scss
92 lines (85 loc) · 3.88 KB
/
_variables.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
@use '~@automattic/color-studio/dist/color-variables' as *;
$sans:
-apple-system, 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Helvetica',
'Arial', 'sans-serif', 'Apple Color Emoji', 'Segoe UI Emoji',
'Segoe UI Symbol';
$bold: 600;
$light: 300;
$anim-transition: all 200ms ease-in-out;
$anim-fast: all 0.1s ease-in-out;
$anim: all 0.2s ease-in-out;
$fade-alpha: 0.25;
$border-radius: 3px;
$focus-outline: 4px auto $studio-simplenote-blue-5;
// Global Measurements
$navigation-bar-width: 260px;
$note-list-width: 380px;
$max-content-width: 650px;
$toolbar-height: 44px;
// Viewport widths for media queries
$single-column: 750px;
$medium: 900px;
// Theme color variables
:root,
body[data-theme='light'] {
--background-color: #fff; // $studio-white
--foreground-color: #646970; // $studio-gray-50
--primary-color: #2c3338; // $studio-gray-80
--secondary-color: #dcdcde; // $studio-gray-5
--tertiary-color: #a7aaad; // $studio-gray-20
--accent-color: #3361cc; // $studio-simplenote-blue-50
--secondary-accent-color: #c3c4c7; // $studio-gray-10
--tertiary-accent-color: #8c8f94; // $studio-gray-30
--highlight-color: #ced9f2; // $studio-simplenote-blue-5
--secondary-highlight-color: #f6f7f7; // $studio-gray-0;
--tertiary-highlight-color: #d63638; // $studio-red-50
--overlay-color: rgba(0, 0, 0, 0.2); // black with 20% opacity
--search-selection-color: #f0c930; // $studio-yellow-20
--search-highlight-color: #ced9f2; // $studio-simplenote-blue-5
--wordpress-color: #006088; // $studio-wordpress-blue-50
--active-controls-color: #1ed15a; // $studio-green-20
--inactive-controls-color: #c3c4c7; // $studio-gray-10
--warning-highlight-color: #faa754; // $studio-orange-20
--primary-button-bg-color: #3361cc; // $studio-simplenote-blue-50
--secondary-button-bg-color: #646970; // $studio-gray-50
--primary-button-fg-color: #fff; // $studio-white
--primary-branding-color: #3361cc; // $studio-simplenote-blue-50
--placeholder-color: #646970; // $studio-gray-50
// readonly-input-color = $studio-black with 0.05 opacity
--readonly-input-color: rgba(0, 0, 0, 0.05);
--readonly-input-highlight-color: #c3c4c7; // $studio-gray-10
--primary-slider-color: #dcdcde; // $studio-gray-5
--secondary-slider-color: #fff; // $studio-white
--primary-tag-chip-color: #dcdcde; // $studio-gray-5
--secondary-tag-chip-color: #facfd2; // $studio-red-5
--settings-fg-color: #2c3338; // $studio-gray-80
--alternative-highlight-color: #f6f7f7; // $studio-gray-0;
--disabled-text-color: #dcdcde; // $studio-gray-5
}
body[data-theme='dark'] {
--background-color: #1d2327; // $studio-gray-90
--foreground-color: #8c8f94; // $studio-gray-30
--primary-color: #fff; // $studio-white
--secondary-color: #2c3338; // $studio-gray-80
--tertiary-color: #646970; // $studio-gray-50
--accent-color: #84a4f0; // $studio-simplenote-blue-20
--secondary-accent-color: #50575e; // $studio-gray-60
// highlight-color = $studio-simplenote-blue-50 with 40% opacity
--highlight-color: rgba(51, 97, 204, 0.4);
--secondary-highlight-color: #2c3338; // $studio-gray-80
--search-highlight-color: #3361cc; // $studio-simplenote-blue-50
--search-selection-color: #deb100; // $studio-yellow-30
--placeholder-color: #a7aaad; // $studio-gray-20
--primary-button-bg-color: #3361cc; // $studio-simplenote-blue-50
--tertiary-highlight-color: #ff8085; // $studio-red-20
// readonly-input-color = $studio-white with 0.07 opacity
--readonly-input-color: rgba(255, 255, 255, 0.07);
--readonly-input-highlight-color: #8c8f94; // $studio-gray-30
--primary-slider-color: #646970; // $studio-gray-50
--secondary-slider-color: #fff; // $studio-white
--primary-tag-chip-color: #3c434a; // $studio-gray-70
--secondary-tag-chip-color: #8a2424; // $studio-red-70
--settings-fg-color: #dcdcde; // $studio-gray-5
--alternative-highlight-color: #2c3338; // $studio-gray-80
--disabled-text-color: #646970; // $studio-gray-50
}