@nappr/nappr-styles 0.3.2 → 0.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -20
- package/dist/styles.css +7745 -1
- package/dist/styles.css.map +1 -1
- package/dist/styles.min.css +3 -0
- package/dist/styles.min.css.map +1 -0
- package/docs/_coverpage.md +2 -2
- package/docs/_sidebar.md +2 -2
- package/docs/docs.theme.css +2 -1
- package/docs/docs.theme.css.map +1 -1
- package/docs/index.html +1 -1
- package/docs/pages/displays.md +26 -8
- package/docs/pages/grid.md +365 -0
- package/docs/pages/helpers.md +30 -18
- package/docs/pages/quick-start.md +100 -14
- package/docs/temp.scss +122 -0
- package/index.d.ts +25 -0
- package/package.json +49 -14
- package/sass/_globals.module.scss +43 -0
- package/sass/_globals.scss +79 -0
- package/sass/components/_.scss +2 -0
- package/sass/components/_badge.scss +58 -0
- package/sass/components/_button.scss +244 -0
- package/sass/components/_nav.scss +95 -0
- package/sass/components/scrollbar/_.scss +102 -0
- package/sass/configs/_.scss +7 -0
- package/sass/configs/_breakpoints.scss +12 -0
- package/sass/configs/_defaults.scss +6 -0
- package/sass/configs/_grid.scss +10 -0
- package/sass/configs/_palettes.scss +72 -0
- package/sass/configs/_spacing.scss +36 -0
- package/sass/configs/_text.scss +39 -0
- package/sass/configs/_themes.scss +24 -0
- package/sass/core/funcs/_list.scss +43 -0
- package/sass/core/funcs/_map.scss +42 -0
- package/sass/core/funcs/_math.scss +35 -0
- package/sass/core/funcs/_string.scss +47 -0
- package/sass/core/mixins/_.scss +3 -0
- package/{lib → sass/core}/mixins/_links.scss +2 -2
- package/sass/core/mixins/_media-queries.scss +22 -0
- package/sass/core/mixins/_typography.scss +26 -0
- package/sass/core/placeholders/_.scss +4 -0
- package/sass/core/placeholders/_dimensions.scss +31 -0
- package/sass/core/placeholders/_flexbox.scss +11 -0
- package/sass/core/placeholders/_lists.scss +41 -0
- package/sass/core/placeholders/_positions.scss +19 -0
- package/sass/core/placeholders/_typography.scss +10 -0
- package/sass/elements/_.scss +6 -0
- package/sass/elements/_dialog.scss +13 -0
- package/{lib/htmls → sass/elements}/_form.scss +28 -6
- package/sass/elements/_links.scss +132 -0
- package/sass/elements/_lists.scss +11 -0
- package/{lib/htmls → sass/elements}/_table.scss +2 -6
- package/sass/elements/_typography.scss +13 -0
- package/sass/layout/grid/_.scss +4 -0
- package/sass/layout/grid/_columns.scss +32 -0
- package/sass/layout/grid/_gaps.scss +42 -0
- package/sass/layout/grid/_grid.scss +158 -0
- package/sass/layout/grid/_offsets.scss +35 -0
- package/sass/main.scss +59 -0
- package/sass/resets/_.scss +5 -0
- package/sass/resets/_base.scss +69 -0
- package/sass/resets/_nappr.scss +83 -0
- package/sass/themes/_dark.scss +17 -0
- package/sass/themes/_dracula.scss +17 -0
- package/sass/themes/_github-light.scss +17 -0
- package/sass/themes/_light.scss +17 -0
- package/sass/themes/_monokai-pro.scss +17 -0
- package/sass/themes/_night-owl.scss +17 -0
- package/sass/themes/_nord.scss +17 -0
- package/sass/themes/_tokyo-night.scss +17 -0
- package/sass/utilities/_.scss +21 -0
- package/sass/utilities/_dimensions.scss +11 -0
- package/sass/utilities/_displays.scss +127 -0
- package/sass/utilities/_flexbox.scss +102 -0
- package/{lib/helpers → sass/utilities}/_floats.scss +10 -15
- package/sass/utilities/_lists.scss +86 -0
- package/sass/utilities/_negates.scss +121 -0
- package/sass/utilities/_palette.scss +11 -0
- package/sass/utilities/_scrolls.scss +78 -0
- package/sass/utilities/_spacers.scss +120 -0
- package/sass/utilities/_square-grid.scss +33 -0
- package/sass/utilities/_typography.scss +106 -0
- package/sass/utilities/_visibility.scss +60 -0
- package/sass/utilities/_wrap.scss +12 -0
- package/styles.scss +5 -1
- package/lib/_globals.scss +0 -16
- package/lib/_reset.scss +0 -223
- package/lib/customs/scrollbar.scss +0 -40
- package/lib/funcs/_.scss +0 -5
- package/lib/funcs/_get-color.scss +0 -3
- package/lib/funcs/_math.scss +0 -5
- package/lib/funcs/_merge-palette.scss +0 -12
- package/lib/funcs/_rem.scss +0 -104
- package/lib/funcs/_strings.scss +0 -35
- package/lib/grid/_.scss +0 -4
- package/lib/grid/_col.scss +0 -117
- package/lib/grid/_row.scss +0 -117
- package/lib/grid/_square.scss +0 -34
- package/lib/grid/_wrap.scss +0 -39
- package/lib/helpers/_.scss +0 -9
- package/lib/helpers/_displays.scss +0 -151
- package/lib/helpers/_flexbox.scss +0 -105
- package/lib/helpers/_margins.scss +0 -13
- package/lib/helpers/_negates.scss +0 -171
- package/lib/helpers/_scrolls.scss +0 -55
- package/lib/helpers/_texts.scss +0 -101
- package/lib/helpers/_visibility.scss +0 -34
- package/lib/htmls/_.scss +0 -4
- package/lib/htmls/_headings.scss +0 -29
- package/lib/htmls/_links.scss +0 -11
- package/lib/mixins/_.scss +0 -9
- package/lib/mixins/_border-radius.scss +0 -61
- package/lib/mixins/_border.scss +0 -48
- package/lib/mixins/_dimensions.scss +0 -48
- package/lib/mixins/_font-size.scss +0 -22
- package/lib/mixins/_line-height.scss +0 -19
- package/lib/mixins/_margin-padding.scss +0 -66
- package/lib/mixins/_root-variables.scss +0 -11
- package/lib/mixins/_theme.scss +0 -25
- package/lib/styles.scss +0 -19
- package/lib/variables/_.scss +0 -4
- package/lib/variables/_breakpoints.scss +0 -5
- package/lib/variables/_colors.scss +0 -60
- package/lib/variables/_defaults.scss +0 -53
- /package/{lib/helpers → sass/utilities}/_pointers.scss +0 -0
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
@use '../../core/funcs/map' as map;
|
|
2
|
+
@use '../../core/mixins/' as mixins;
|
|
3
|
+
@use '../../configs/' as configs;
|
|
4
|
+
|
|
5
|
+
%grid-base {
|
|
6
|
+
display: grid;
|
|
7
|
+
gap: map.get(configs.$NAPPR_GRID, 'gutter-gap-sm');
|
|
8
|
+
width: 100%;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
%grid-fluid-base {
|
|
12
|
+
@extend %grid-base;
|
|
13
|
+
|
|
14
|
+
max-width: none;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
// ==========================================================
|
|
18
|
+
// 1. BASE GRID DEFINITION
|
|
19
|
+
// ==========================================================
|
|
20
|
+
|
|
21
|
+
.grid,
|
|
22
|
+
.grid-sm {
|
|
23
|
+
@extend %grid-base;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.grid--fluid,
|
|
27
|
+
.grid-sm--fluid {
|
|
28
|
+
@extend %grid-fluid-base;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.grid,
|
|
32
|
+
.grid--fluid {
|
|
33
|
+
grid-template-columns: repeat(map.get(configs.$NAPPR_GRID, 'columns'), 1fr);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.grid-sm,
|
|
37
|
+
.grid-sm--fluid {
|
|
38
|
+
grid-template-columns: repeat(
|
|
39
|
+
map.get(configs.$NAPPR_GRID, 'columns-sm'),
|
|
40
|
+
1fr
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.grid {
|
|
45
|
+
max-width: map.get(configs.$NAPPR_GRID, 'max-width');
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.grid-sm {
|
|
49
|
+
max-width: map.get(configs.$NAPPR_GRID, 'max-width-sm');
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
// ==========================================================
|
|
53
|
+
// 6. ITEM ALIGNMENT UTILITY CLASSES
|
|
54
|
+
// (align-items and justify-items)
|
|
55
|
+
// ==========================================================
|
|
56
|
+
|
|
57
|
+
// --- 6.1. Vertical item alignment (align-items) ---
|
|
58
|
+
@each $name,
|
|
59
|
+
$value in ('top': start, 'middle': center, 'bottom': end, 'stretch': stretch)
|
|
60
|
+
{
|
|
61
|
+
.grid-items-#{$name} {
|
|
62
|
+
align-items: #{$value};
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// --- 6.2. Horizontal item justification (justify-items) ---
|
|
67
|
+
$justify-values: (start, center, end, stretch);
|
|
68
|
+
|
|
69
|
+
@each $value in $justify-values {
|
|
70
|
+
.grid-justify-#{$value} {
|
|
71
|
+
justify-items: #{$value};
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
// --- 6.3. Combined alignment and justification (place-items) ---
|
|
76
|
+
$place-items-values: (start, center, end, stretch);
|
|
77
|
+
|
|
78
|
+
@each $value in $place-items-values {
|
|
79
|
+
.grid-place-#{$value} {
|
|
80
|
+
place-items: #{$value};
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
// ==========================================================
|
|
85
|
+
// 7. CONTENT ALIGNMENT UTILITY CLASSES
|
|
86
|
+
// (align-content and justify-content)
|
|
87
|
+
// ==========================================================
|
|
88
|
+
|
|
89
|
+
// --- 7.1. Vertical content alignment (align-content) ---
|
|
90
|
+
$align-content-values: (
|
|
91
|
+
'top': start,
|
|
92
|
+
'middle': center,
|
|
93
|
+
'bottom': end,
|
|
94
|
+
'between': space-between,
|
|
95
|
+
'around': space-around,
|
|
96
|
+
'evenly': space-evenly,
|
|
97
|
+
'stretch': stretch,
|
|
98
|
+
);
|
|
99
|
+
|
|
100
|
+
@each $name, $value in $align-content-values {
|
|
101
|
+
.grid-content-#{$name} {
|
|
102
|
+
align-content: #{$value};
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
// --- 7.2. Horizontal content justification (justify-content) ---
|
|
107
|
+
$justify-content-values: (
|
|
108
|
+
'start': start,
|
|
109
|
+
'center': center,
|
|
110
|
+
'end': end,
|
|
111
|
+
'between': space-between,
|
|
112
|
+
'around': space-around,
|
|
113
|
+
'evenly': space-evenly,
|
|
114
|
+
'stretch': stretch,
|
|
115
|
+
);
|
|
116
|
+
|
|
117
|
+
@each $name, $value in $justify-content-values {
|
|
118
|
+
.grid-justify-content-#{$name} {
|
|
119
|
+
justify-content: #{$value};
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
// ==========================================================
|
|
124
|
+
// 8. INDIVIDUAL ITEM ALIGNMENT UTILITY CLASSES
|
|
125
|
+
// (align-self and justify-self)
|
|
126
|
+
// ==========================================================
|
|
127
|
+
|
|
128
|
+
// --- 8.1. Vertical alignment of an individual item (align-self) ---
|
|
129
|
+
$align-self-values: (
|
|
130
|
+
'top': start,
|
|
131
|
+
'middle': center,
|
|
132
|
+
'bottom': end,
|
|
133
|
+
'stretch': stretch,
|
|
134
|
+
);
|
|
135
|
+
|
|
136
|
+
@each $name, $value in $align-self-values {
|
|
137
|
+
.grid-self-#{$name} {
|
|
138
|
+
align-self: #{$value};
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
// --- 8.2. Horizontal justification of an individual item (justify-self) ---
|
|
143
|
+
$justify-self-values: (start, center, end, stretch);
|
|
144
|
+
|
|
145
|
+
@each $value in $justify-self-values {
|
|
146
|
+
.grid-self-justify-#{$value} {
|
|
147
|
+
justify-self: #{$value};
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
// --- 8.3. Combined alignment and justification for an item (place-self) ---
|
|
152
|
+
$place-self-values: (start, center, end, stretch);
|
|
153
|
+
|
|
154
|
+
@each $value in $place-self-values {
|
|
155
|
+
.grid-self-place-#{$value} {
|
|
156
|
+
place-self: #{$value};
|
|
157
|
+
}
|
|
158
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
@use '../../core/mixins/' as mixins;
|
|
2
|
+
@use '../../configs/' as configs;
|
|
3
|
+
@use '../../core/funcs/map' as map;
|
|
4
|
+
|
|
5
|
+
@for $i from 0 through map.get(configs.$NAPPR_GRID, 'columns') {
|
|
6
|
+
.grid-col-offset-#{$i} {
|
|
7
|
+
grid-column-start: #{$i + 1};
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@each $key, $value in configs.$NAPPR_BREAKPOINTS {
|
|
12
|
+
@include mixins.media-query-min($key) {
|
|
13
|
+
@for $i from 0 through map.get(configs.$NAPPR_GRID, 'columns') {
|
|
14
|
+
.grid-#{$key}-col--offset-#{$i} {
|
|
15
|
+
grid-column-start: #{$i + 1};
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@for $i from 0 through map.get(configs.$NAPPR_GRID, 'columns') {
|
|
22
|
+
.grid-col--offset-#{$i}__right {
|
|
23
|
+
grid-column-end: #{$i + 1};
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@each $key, $value in configs.$NAPPR_BREAKPOINTS {
|
|
28
|
+
@include mixins.media-query-min($key) {
|
|
29
|
+
@for $i from 0 through map.get(configs.$NAPPR_GRID, 'columns') {
|
|
30
|
+
.grid-#{$key}-col--offset-#{$i}__right {
|
|
31
|
+
grid-column-end: #{$i + 1};
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
package/sass/main.scss
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/* ==========================================================
|
|
2
|
+
//
|
|
3
|
+
// 1. 🔧 ROOT VARIABLES
|
|
4
|
+
//
|
|
5
|
+
========================================================== */
|
|
6
|
+
@use './_globals' as globals;
|
|
7
|
+
|
|
8
|
+
/* ========================================================== */
|
|
9
|
+
|
|
10
|
+
/* 2. 🎨 THEMES (Theme Variables)
|
|
11
|
+
/* ========================================================== */
|
|
12
|
+
|
|
13
|
+
/* ========================================================== */
|
|
14
|
+
|
|
15
|
+
/* 3. ⚡ CORE (Functions, Mixins, Placeholders)
|
|
16
|
+
/* ========================================================== */
|
|
17
|
+
// @use './core/funcs/' as *;
|
|
18
|
+
// @use './core/mixins/' as *;
|
|
19
|
+
// @use './core/placeholders/' as *;
|
|
20
|
+
|
|
21
|
+
/* ========================================================== */
|
|
22
|
+
|
|
23
|
+
/* 4. 🧱 RESETS (Base Reset, Nappr Reset)
|
|
24
|
+
/* ========================================================== */
|
|
25
|
+
@use './resets/' as *;
|
|
26
|
+
|
|
27
|
+
/* ========================================================== */
|
|
28
|
+
|
|
29
|
+
/* 5. 🌱 ELEMENTS (HTML Elements)
|
|
30
|
+
/* ========================================================== */
|
|
31
|
+
@use './elements/' as *;
|
|
32
|
+
|
|
33
|
+
/* ==========================================================
|
|
34
|
+
/* 6. 📐 LAYOUT (Layout Components)
|
|
35
|
+
/* ========================================================== */
|
|
36
|
+
@use './layout/grid/' as *;
|
|
37
|
+
|
|
38
|
+
/* ========================================================== */
|
|
39
|
+
|
|
40
|
+
/* 7. 🧩 COMPONENTS (UI Components)
|
|
41
|
+
/* ========================================================== */
|
|
42
|
+
@use './components/' as *;
|
|
43
|
+
|
|
44
|
+
// @use './components/badge/elements' as *;
|
|
45
|
+
// @use './components/scrollbar/' as *;
|
|
46
|
+
|
|
47
|
+
/* ========================================================== */
|
|
48
|
+
|
|
49
|
+
/* 8. ✨ UTILITIES (Utility Classes)
|
|
50
|
+
/* ========================================================== */
|
|
51
|
+
@use './utilities/' as *;
|
|
52
|
+
|
|
53
|
+
/* ========================================================== */
|
|
54
|
+
|
|
55
|
+
/* Core
|
|
56
|
+
/* ========================================================== */
|
|
57
|
+
.debug * {
|
|
58
|
+
outline: 1px solid rgb(255 0 0 / 30%);
|
|
59
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* https://www.joshwcomeau.com/css/custom-css-reset/
|
|
3
|
+
*
|
|
4
|
+
* A custom CSS reset for a modern, accessible web.
|
|
5
|
+
*
|
|
6
|
+
* @author Josh W. Comeau
|
|
7
|
+
* @version 1.0.0
|
|
8
|
+
* @license MIT
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
*,
|
|
12
|
+
*::before,
|
|
13
|
+
*::after {
|
|
14
|
+
box-sizing: border-box;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
* {
|
|
18
|
+
margin: 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
22
|
+
html {
|
|
23
|
+
interpolate-size: allow-keywords;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
body {
|
|
28
|
+
-webkit-font-smoothing: antialiased;
|
|
29
|
+
line-height: 1.5;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
img,
|
|
33
|
+
picture,
|
|
34
|
+
video,
|
|
35
|
+
canvas,
|
|
36
|
+
svg {
|
|
37
|
+
display: block;
|
|
38
|
+
max-width: 100%;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
input,
|
|
42
|
+
button,
|
|
43
|
+
textarea,
|
|
44
|
+
select {
|
|
45
|
+
font: inherit;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
p,
|
|
49
|
+
h1,
|
|
50
|
+
h2,
|
|
51
|
+
h3,
|
|
52
|
+
h4,
|
|
53
|
+
h5,
|
|
54
|
+
h6 {
|
|
55
|
+
overflow-wrap: break-word;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
p {
|
|
59
|
+
text-wrap: pretty;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
h1,
|
|
63
|
+
h2,
|
|
64
|
+
h3,
|
|
65
|
+
h4,
|
|
66
|
+
h5,
|
|
67
|
+
h6 {
|
|
68
|
+
text-wrap: balance;
|
|
69
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
html {
|
|
2
|
+
font-size: 100%;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
body {
|
|
6
|
+
background-color: var(--nappr-theme-background);
|
|
7
|
+
color: var(--nappr-theme-text-secondary);
|
|
8
|
+
font-family: var(--nappr-text-font-family);
|
|
9
|
+
font-size: var(--nappr-text-font-size);
|
|
10
|
+
min-height: 100vh;
|
|
11
|
+
text-rendering: optimizespeed;
|
|
12
|
+
width: 100vw;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
blockquote,
|
|
16
|
+
q {
|
|
17
|
+
quotes: none;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
blockquote::before,
|
|
21
|
+
blockquote::after,
|
|
22
|
+
q::before,
|
|
23
|
+
q::after {
|
|
24
|
+
content: '';
|
|
25
|
+
content: none;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
pre {
|
|
29
|
+
overflow-wrap: break-word;
|
|
30
|
+
white-space: pre-wrap;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
p {
|
|
34
|
+
white-space: initial;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
sub,
|
|
38
|
+
sup {
|
|
39
|
+
line-height: 1;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
button,
|
|
43
|
+
[role='reset'],
|
|
44
|
+
[role='submit'],
|
|
45
|
+
[role='button'] {
|
|
46
|
+
background: transparent;
|
|
47
|
+
border: 0;
|
|
48
|
+
cursor: pointer;
|
|
49
|
+
overflow: hidden;
|
|
50
|
+
text-align: center;
|
|
51
|
+
text-decoration: none;
|
|
52
|
+
text-overflow: ellipsis;
|
|
53
|
+
user-select: none;
|
|
54
|
+
white-space: nowrap;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
hr,
|
|
58
|
+
input,
|
|
59
|
+
button,
|
|
60
|
+
textarea,
|
|
61
|
+
[role='reset'],
|
|
62
|
+
[role='submit'],
|
|
63
|
+
[role='button'] {
|
|
64
|
+
margin: 0;
|
|
65
|
+
padding: 0;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.disabled,
|
|
69
|
+
:disabled,
|
|
70
|
+
:disabled:link,
|
|
71
|
+
:disabled:visited,
|
|
72
|
+
:disabled:hover,
|
|
73
|
+
:disabled:active {
|
|
74
|
+
box-shadow: inherit;
|
|
75
|
+
cursor: default;
|
|
76
|
+
cursor: not-allowed;
|
|
77
|
+
pointer-events: none;
|
|
78
|
+
text-shadow: inherit;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
#root {
|
|
82
|
+
isolation: isolate;
|
|
83
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
$theme: (
|
|
2
|
+
'background': #1e1e1e,
|
|
3
|
+
'panel': #2d2d2d,
|
|
4
|
+
'rollover': #3a3a3a,
|
|
5
|
+
'accent': #4285f4,
|
|
6
|
+
'border': #404040,
|
|
7
|
+
'text-primary': #ffffff,
|
|
8
|
+
'text-secondary': #707070,
|
|
9
|
+
'text-disabled': #707070,
|
|
10
|
+
'text-hover-bg': #4a4a4a,
|
|
11
|
+
'text-active-bg': #0a4c98,
|
|
12
|
+
'state-success': #34a853,
|
|
13
|
+
'state-warning': #f9ab00,
|
|
14
|
+
'state-error': #ea4335,
|
|
15
|
+
'state-info': #4285f4,
|
|
16
|
+
'state-debug': #ffc107,
|
|
17
|
+
);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
$theme: (
|
|
2
|
+
'background': #282a36,
|
|
3
|
+
'panel': #44475a,
|
|
4
|
+
'rollover': #6272a4,
|
|
5
|
+
'accent': #ff79c6,
|
|
6
|
+
'border': #44475a,
|
|
7
|
+
'text-primary': #f8f8f2,
|
|
8
|
+
'text-secondary': #637777,
|
|
9
|
+
'text-disabled': #a0a0a0,
|
|
10
|
+
'text-hover-bg': #f0f0f0,
|
|
11
|
+
'text-active-bg': #e8f0fe,
|
|
12
|
+
'state-success': #50fa7b,
|
|
13
|
+
'state-warning': #ffb86c,
|
|
14
|
+
'state-error': #ff5555,
|
|
15
|
+
'state-info': #bd93f9,
|
|
16
|
+
'state-debug': #ff9800,
|
|
17
|
+
);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
$theme: (
|
|
2
|
+
'background': #ffffff,
|
|
3
|
+
'panel': #f6f8fa,
|
|
4
|
+
'rollover': #eaeaea,
|
|
5
|
+
'accent': #0366d6,
|
|
6
|
+
'border': #d1d5da,
|
|
7
|
+
'text-primary': #24292e,
|
|
8
|
+
'text-secondary': #6a737d,
|
|
9
|
+
'text-disabled': #a0a0a0,
|
|
10
|
+
'text-hover-bg': #f0f0f0,
|
|
11
|
+
'text-active-bg': #e8f0fe,
|
|
12
|
+
'state-success': #28a745,
|
|
13
|
+
'state-warning': #ffc107,
|
|
14
|
+
'state-error': #d73a49,
|
|
15
|
+
'state-info': #0366d6,
|
|
16
|
+
'state-debug': #ff9800,
|
|
17
|
+
);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
$theme: (
|
|
2
|
+
'background': #ffffff,
|
|
3
|
+
'panel': #f8f8f8,
|
|
4
|
+
'rollover': #eaeaea,
|
|
5
|
+
'accent': #1a73e8,
|
|
6
|
+
'border': #e0e0e0,
|
|
7
|
+
'text-primary': #202124,
|
|
8
|
+
'text-secondary': #727072,
|
|
9
|
+
'text-disabled': #a0a0a0,
|
|
10
|
+
'text-hover-bg': #f0f0f0,
|
|
11
|
+
'text-active-bg': #e8f0fe,
|
|
12
|
+
'state-success': #1e8e3e,
|
|
13
|
+
'state-warning': #f9aa33,
|
|
14
|
+
'state-error': #d93025,
|
|
15
|
+
'state-info': #185abc,
|
|
16
|
+
'state-debug': #ff9800,
|
|
17
|
+
);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
$theme: (
|
|
2
|
+
'background': #2d2a2e,
|
|
3
|
+
'panel': #3c3b3d,
|
|
4
|
+
'rollover': #4c4b4d,
|
|
5
|
+
'accent': #ff6188,
|
|
6
|
+
'border': #444244,
|
|
7
|
+
'text-primary': #fcfcfa,
|
|
8
|
+
'text-secondary': #727072,
|
|
9
|
+
'text-disabled': #a0a0a0,
|
|
10
|
+
'text-hover-bg': #f0f0f0,
|
|
11
|
+
'text-active-bg': #e8f0fe,
|
|
12
|
+
'state-success': #a9dc76,
|
|
13
|
+
'state-warning': #ffd866,
|
|
14
|
+
'state-error': #ff6188,
|
|
15
|
+
'state-info': #78dce8,
|
|
16
|
+
'state-debug': #ff9800,
|
|
17
|
+
);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
$theme: (
|
|
2
|
+
'background': #011627,
|
|
3
|
+
'panel': #001c38,
|
|
4
|
+
'rollover': #09345c,
|
|
5
|
+
'accent': #c792ea,
|
|
6
|
+
'border': #1d3d5d,
|
|
7
|
+
'text-primary': #efffef,
|
|
8
|
+
'text-secondary': #637777,
|
|
9
|
+
'text-disabled': #a0a0a0,
|
|
10
|
+
'text-hover-bg': #f0f0f0,
|
|
11
|
+
'text-active-bg': #e8f0fe,
|
|
12
|
+
'state-success': #add793,
|
|
13
|
+
'state-warning': #ffcb6b,
|
|
14
|
+
'state-error': #ff5874,
|
|
15
|
+
'state-info': #82aaff,
|
|
16
|
+
'state-debug': #ff9800,
|
|
17
|
+
);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
$theme: (
|
|
2
|
+
'background': #2e3440,
|
|
3
|
+
'panel': #3b4252,
|
|
4
|
+
'rollover': #4c566a,
|
|
5
|
+
'accent': #81a1c1,
|
|
6
|
+
'border': #4c566a,
|
|
7
|
+
'text-primary': #d8dee9,
|
|
8
|
+
'text-secondary': #4c566a,
|
|
9
|
+
'text-disabled': #a0a0a0,
|
|
10
|
+
'text-hover-bg': #f0f0f0,
|
|
11
|
+
'text-active-bg': #e8f0fe,
|
|
12
|
+
'state-success': #a3be8c,
|
|
13
|
+
'state-warning': #ebcb8b,
|
|
14
|
+
'state-error': #bf616a,
|
|
15
|
+
'state-info': #88c0d0,
|
|
16
|
+
'state-debug': #ff9800,
|
|
17
|
+
);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
$theme: (
|
|
2
|
+
'background': #24283b,
|
|
3
|
+
'panel': #414868,
|
|
4
|
+
'rollover': #545c77,
|
|
5
|
+
'accent': #7dcfff,
|
|
6
|
+
'border': #444b6a,
|
|
7
|
+
'text-primary': #c0cae8,
|
|
8
|
+
'text-secondary': #444b6a,
|
|
9
|
+
'text-disabled': #a0a0a0,
|
|
10
|
+
'text-hover-bg': #f0f0f0,
|
|
11
|
+
'text-active-bg': #e8f0fe,
|
|
12
|
+
'state-success': #9ece6a,
|
|
13
|
+
'state-warning': #e0af68,
|
|
14
|
+
'state-error': #f7768e,
|
|
15
|
+
'state-info': #7dcfff,
|
|
16
|
+
'state-debug': #ff9800,
|
|
17
|
+
);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
@use 'dimensions';
|
|
2
|
+
@use 'displays';
|
|
3
|
+
@use 'flexbox';
|
|
4
|
+
@use 'floats';
|
|
5
|
+
@use 'negates';
|
|
6
|
+
@use 'palette';
|
|
7
|
+
@use 'pointers';
|
|
8
|
+
@use 'scrolls';
|
|
9
|
+
@use 'spacers';
|
|
10
|
+
@use 'square-grid';
|
|
11
|
+
@use 'typography';
|
|
12
|
+
@use 'visibility';
|
|
13
|
+
@use 'wrap';
|
|
14
|
+
|
|
15
|
+
// @use 'lists';
|
|
16
|
+
|
|
17
|
+
body {
|
|
18
|
+
color: var(--nappr-theme-text-secondary);
|
|
19
|
+
font-family: var(--nappr-text-font-family);
|
|
20
|
+
font-size: var(--nappr-text-font-size);
|
|
21
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
@use '../core/funcs/list' as list;
|
|
2
|
+
@use '../core/funcs/math' as math;
|
|
3
|
+
|
|
4
|
+
// ==========================================================
|
|
5
|
+
// UTILITY CLASSES
|
|
6
|
+
// ==========================================================
|
|
7
|
+
@each $size in list.steps(5, 100) {
|
|
8
|
+
.nappr-w-#{$size} {
|
|
9
|
+
width: math.number-to-percent($size);
|
|
10
|
+
}
|
|
11
|
+
}
|