@nappr/nappr-styles 0.3.2 → 0.3.3

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.
Files changed (124) hide show
  1. package/README.md +33 -20
  2. package/dist/styles.css +7462 -1
  3. package/dist/styles.css.map +1 -1
  4. package/dist/styles.min.css +3 -0
  5. package/dist/styles.min.css.map +1 -0
  6. package/docs/_coverpage.md +2 -2
  7. package/docs/_sidebar.md +2 -2
  8. package/docs/docs.theme.css +2 -1
  9. package/docs/docs.theme.css.map +1 -1
  10. package/docs/index.html +1 -1
  11. package/docs/pages/displays.md +26 -8
  12. package/docs/pages/grid.md +365 -0
  13. package/docs/pages/helpers.md +30 -18
  14. package/docs/pages/quick-start.md +100 -14
  15. package/docs/temp.scss +122 -0
  16. package/index.d.ts +25 -0
  17. package/package.json +48 -14
  18. package/sass/_globals.module.scss +43 -0
  19. package/sass/_globals.scss +78 -0
  20. package/sass/components/_.scss +1 -0
  21. package/sass/components/_badge.scss +58 -0
  22. package/sass/components/_button.scss +212 -0
  23. package/sass/components/scrollbar/_.scss +102 -0
  24. package/sass/configs/_.scss +7 -0
  25. package/sass/configs/_breakpoints.scss +12 -0
  26. package/sass/configs/_defaults.scss +6 -0
  27. package/sass/configs/_grid.scss +8 -0
  28. package/sass/configs/_palettes.scss +72 -0
  29. package/sass/configs/_spacing.scss +36 -0
  30. package/sass/configs/_text.scss +41 -0
  31. package/sass/configs/_themes.scss +24 -0
  32. package/sass/core/funcs/_list.scss +43 -0
  33. package/sass/core/funcs/_map.scss +42 -0
  34. package/sass/core/funcs/_math.scss +35 -0
  35. package/sass/core/funcs/_string.scss +47 -0
  36. package/sass/core/mixins/_.scss +3 -0
  37. package/{lib → sass/core}/mixins/_links.scss +2 -2
  38. package/sass/core/mixins/_media-queries.scss +22 -0
  39. package/sass/core/mixins/_typography.scss +26 -0
  40. package/sass/core/placeholders/_.scss +4 -0
  41. package/sass/core/placeholders/_dimensions.scss +16 -0
  42. package/sass/core/placeholders/_flexbox.scss +11 -0
  43. package/sass/core/placeholders/_lists.scss +41 -0
  44. package/sass/core/placeholders/_positions.scss +19 -0
  45. package/sass/core/placeholders/_typography.scss +10 -0
  46. package/sass/elements/_.scss +6 -0
  47. package/sass/elements/_dialog.scss +13 -0
  48. package/{lib/htmls → sass/elements}/_form.scss +28 -6
  49. package/sass/elements/_links.scss +21 -0
  50. package/sass/elements/_lists.scss +11 -0
  51. package/{lib/htmls → sass/elements}/_table.scss +2 -6
  52. package/sass/elements/_typography.scss +13 -0
  53. package/sass/layout/grid/_.scss +4 -0
  54. package/sass/layout/grid/_columns.scss +32 -0
  55. package/sass/layout/grid/_gaps.scss +42 -0
  56. package/sass/layout/grid/_grid.scss +130 -0
  57. package/sass/layout/grid/_offsets.scss +35 -0
  58. package/sass/main.scss +59 -0
  59. package/sass/resets/_.scss +5 -0
  60. package/sass/resets/_base.scss +69 -0
  61. package/sass/resets/_nappr.scss +82 -0
  62. package/sass/themes/_dark.scss +17 -0
  63. package/sass/themes/_dracula.scss +17 -0
  64. package/sass/themes/_github-light.scss +17 -0
  65. package/sass/themes/_light.scss +17 -0
  66. package/sass/themes/_monokai-pro.scss +17 -0
  67. package/sass/themes/_night-owl.scss +17 -0
  68. package/sass/themes/_nord.scss +17 -0
  69. package/sass/themes/_tokyo-night.scss +17 -0
  70. package/sass/utilities/_.scss +21 -0
  71. package/sass/utilities/_dimensions.scss +11 -0
  72. package/sass/utilities/_displays.scss +111 -0
  73. package/sass/utilities/_flexbox.scss +81 -0
  74. package/{lib/helpers → sass/utilities}/_floats.scss +10 -13
  75. package/sass/utilities/_lists.scss +86 -0
  76. package/sass/utilities/_negates.scss +121 -0
  77. package/sass/utilities/_palette.scss +11 -0
  78. package/sass/utilities/_scrolls.scss +67 -0
  79. package/sass/utilities/_spacers.scss +120 -0
  80. package/sass/utilities/_square-grid.scss +33 -0
  81. package/sass/utilities/_typography.scss +106 -0
  82. package/sass/utilities/_visibility.scss +60 -0
  83. package/sass/utilities/_wrap.scss +12 -0
  84. package/styles.scss +5 -1
  85. package/lib/_globals.scss +0 -16
  86. package/lib/_reset.scss +0 -223
  87. package/lib/customs/scrollbar.scss +0 -40
  88. package/lib/funcs/_.scss +0 -5
  89. package/lib/funcs/_get-color.scss +0 -3
  90. package/lib/funcs/_math.scss +0 -5
  91. package/lib/funcs/_merge-palette.scss +0 -12
  92. package/lib/funcs/_rem.scss +0 -104
  93. package/lib/funcs/_strings.scss +0 -35
  94. package/lib/grid/_.scss +0 -4
  95. package/lib/grid/_col.scss +0 -117
  96. package/lib/grid/_row.scss +0 -117
  97. package/lib/grid/_square.scss +0 -34
  98. package/lib/grid/_wrap.scss +0 -39
  99. package/lib/helpers/_.scss +0 -9
  100. package/lib/helpers/_displays.scss +0 -151
  101. package/lib/helpers/_flexbox.scss +0 -105
  102. package/lib/helpers/_margins.scss +0 -13
  103. package/lib/helpers/_negates.scss +0 -171
  104. package/lib/helpers/_scrolls.scss +0 -55
  105. package/lib/helpers/_texts.scss +0 -101
  106. package/lib/helpers/_visibility.scss +0 -34
  107. package/lib/htmls/_.scss +0 -4
  108. package/lib/htmls/_headings.scss +0 -29
  109. package/lib/htmls/_links.scss +0 -11
  110. package/lib/mixins/_.scss +0 -9
  111. package/lib/mixins/_border-radius.scss +0 -61
  112. package/lib/mixins/_border.scss +0 -48
  113. package/lib/mixins/_dimensions.scss +0 -48
  114. package/lib/mixins/_font-size.scss +0 -22
  115. package/lib/mixins/_line-height.scss +0 -19
  116. package/lib/mixins/_margin-padding.scss +0 -66
  117. package/lib/mixins/_root-variables.scss +0 -11
  118. package/lib/mixins/_theme.scss +0 -25
  119. package/lib/styles.scss +0 -19
  120. package/lib/variables/_.scss +0 -4
  121. package/lib/variables/_breakpoints.scss +0 -5
  122. package/lib/variables/_colors.scss +0 -60
  123. package/lib/variables/_defaults.scss +0 -53
  124. /package/{lib/helpers → sass/utilities}/_pointers.scss +0 -0
@@ -21,9 +21,31 @@
21
21
  cursor: default;
22
22
  }
23
23
 
24
- .no-click,
25
- .not-allowed {
26
- cursor: not-allowed;
24
+ form {
25
+ > section {
26
+ border-style: solid;
27
+ border-width: 1px;
28
+ margin-bottom: 4rem;
29
+
30
+ > h1,
31
+ > h2,
32
+ > h3,
33
+ > h4,
34
+ > h5,
35
+ > h6 {
36
+ display: inline-block;
37
+ font-weight: bold;
38
+ left: 1.8rem;
39
+ padding: 1rem;
40
+ position: relative;
41
+ top: -1.8rem;
42
+ z-index: 0;
43
+ }
44
+
45
+ > div {
46
+ padding: 0 2rem 1.25rem;
47
+ }
48
+ }
27
49
  }
28
50
 
29
51
  input,
@@ -55,8 +77,8 @@ input[type='checkbox'] {
55
77
  }
56
78
 
57
79
  input[type='search'] {
58
- -webkit-appearance: textfield;
59
- -webkit-box-sizing: content-box;
80
+ appearance: textfield;
81
+ box-sizing: content-box;
60
82
  }
61
83
 
62
84
  button,
@@ -68,7 +90,7 @@ input[type='submit'] {
68
90
  }
69
91
 
70
92
  textarea {
71
- line-height: 1.2em;
93
+ line-height: 1.2rem;
72
94
  min-height: 2.4rem;
73
95
  overflow: auto;
74
96
  resize: vertical;
@@ -0,0 +1,21 @@
1
+ a {
2
+ &:link,
3
+ &:visited,
4
+ &:active {
5
+ text-decoration: none;
6
+ }
7
+
8
+ &:hover {
9
+ text-decoration: underline;
10
+ }
11
+ }
12
+
13
+ /*
14
+ a:not(.is-underline),
15
+ a:link:not(.is-underline),
16
+ a:visited:not(.is-underline),
17
+ a:hover:not(.is-underline),
18
+ a:active:not(.is-underline) {
19
+ text-decoration: none;
20
+ }
21
+ */
@@ -0,0 +1,11 @@
1
+ dl,
2
+ ol,
3
+ ul {
4
+ --nappr-default-xl-size: var(--nappr-default-xl-base);
5
+ }
6
+
7
+ dd,
8
+ dt,
9
+ li {
10
+ --nappr-default-xl-base: calc(var(--nappr-default-xl-size) * 0.9);
11
+ }
@@ -1,10 +1,7 @@
1
- @use '../funcs/rem' as rem;
2
-
3
1
  table {
4
- font-size: rem.convert(12px);
5
-
6
2
  border-collapse: collapse;
7
3
  border-spacing: 0;
4
+ font-size: var(--nappr-default-font-size, 0.75rem);
8
5
  max-width: 100%;
9
6
  min-width: 100%;
10
7
  overflow: scroll;
@@ -18,10 +15,9 @@ table th {
18
15
 
19
16
  table th,
20
17
  table td {
21
- padding: rem.convert(12px 15px);
22
-
23
18
  display: table-cell;
24
19
  overflow: hidden;
20
+ padding: 0.75rem 1rem;
25
21
  text-overflow: ellipsis;
26
22
  white-space: nowrap;
27
23
  }
@@ -0,0 +1,13 @@
1
+ @use '../core/placeholders/' as *;
2
+ @use '../core/mixins/' as mixins;
3
+ @use '../configs/' as configs;
4
+
5
+ // ==========================================================
6
+ // TEXT
7
+ // ==========================================================
8
+
9
+ @include mixins.generate-heading-styles(configs.$NAPPR_HEADINGS);
10
+
11
+ p {
12
+ @extend %text-base;
13
+ }
@@ -0,0 +1,4 @@
1
+ @use 'grid';
2
+ @use 'columns';
3
+ @use 'gaps';
4
+ @use 'offsets';
@@ -0,0 +1,32 @@
1
+ @use '../../core/funcs/map' as map;
2
+ @use '../../core/mixins/' as mixins;
3
+ @use '../../configs/' as configs;
4
+
5
+ // Mixin pour générer les classes de colonnes
6
+ @mixin generate-grid-columns($prefix: '') {
7
+ @for $i from 1 through map.get(configs.$NAPPR_GRID, 'columns') {
8
+ .grid#{$prefix}--col-#{$i} {
9
+ grid-column: span #{$i};
10
+ }
11
+ }
12
+ }
13
+
14
+ // Mixin pour générer les classes de template columns
15
+ @mixin generate-grid-template-columns($prefix: '') {
16
+ @for $i from 1 through map.get(configs.$NAPPR_GRID, 'columns') {
17
+ .grid#{$prefix}--cols-#{$i} {
18
+ grid-template-columns: repeat(#{$i}, 1fr);
19
+ }
20
+ }
21
+ }
22
+
23
+ @include generate-grid-columns;
24
+ @include generate-grid-template-columns;
25
+
26
+ // Génération des classes responsives
27
+ @each $key, $value in configs.$NAPPR_BREAKPOINTS {
28
+ @include mixins.media-query-min($key) {
29
+ @include generate-grid-columns('-#{$key}');
30
+ @include generate-grid-template-columns('-#{$key}');
31
+ }
32
+ }
@@ -0,0 +1,42 @@
1
+ @use '../../core/funcs/map' as map;
2
+ @use '../../core/mixins/' as mixins;
3
+ @use '../../configs/' as configs;
4
+
5
+ // --- Utilisation de variables CSS pour les gaps ---
6
+ .grid--gap {
7
+ $value: map.get(configs.$NAPPR_GRID, 'gutter-gap-md');
8
+
9
+ gap: var(--nappr-grid-gutter-gap-md, #{$value});
10
+ }
11
+
12
+ @each $key, $value in configs.$NAPPR_BREAKPOINTS {
13
+ @include mixins.media-query-min($key) {
14
+ .grid-#{$key}--gap {
15
+ $value: map.get(configs.$NAPPR_GRID, 'gutter-gap-#{$key}');
16
+
17
+ gap: var(--nappr-grid-gutter-gap-#{$key}, #{$value});
18
+ }
19
+ }
20
+ }
21
+
22
+ .grid--no-gap {
23
+ gap: 0;
24
+ }
25
+
26
+ @each $key, $value in configs.$NAPPR_BREAKPOINTS {
27
+ @include mixins.media-query-min($key) {
28
+ .grid-#{$key}--no-gap {
29
+ gap: 0;
30
+ }
31
+ }
32
+ }
33
+
34
+ @include mixins.media-query-min('lg') {
35
+ .grid--gap,
36
+ .grid-md--gap,
37
+ .grid-sm--gap {
38
+ $value: map.get(configs.$NAPPR_GRID, 'gutter-gap-lg');
39
+
40
+ gap: var(--nappr-grid-gutter-gap-lg, #{$value});
41
+ }
42
+ }
@@ -0,0 +1,130 @@
1
+ @use '../../core/funcs/map' as map;
2
+ @use '../../configs/' as configs;
3
+
4
+ // ==========================================================
5
+ // 1. BASE GRID DEFINITION
6
+ // ==========================================================
7
+
8
+ .grid,
9
+ .grid--fluid {
10
+ display: grid;
11
+ gap: map.get(configs.$NAPPR_GRID, 'gutter-gap-sm');
12
+ grid-template-columns: repeat(map.get(configs.$NAPPR_GRID, 'columns'), 1fr);
13
+ width: 100%;
14
+ }
15
+
16
+ .grid {
17
+ max-width: map.get(configs.$NAPPR_GRID, 'max-width');
18
+ }
19
+
20
+ .grid--fluid {
21
+ max-width: none;
22
+ }
23
+
24
+ // ==========================================================
25
+ // 6. ITEM ALIGNMENT UTILITY CLASSES
26
+ // (align-items and justify-items)
27
+ // ==========================================================
28
+
29
+ // --- 6.1. Vertical item alignment (align-items) ---
30
+ @each $name,
31
+ $value in ('top': start, 'middle': center, 'bottom': end, 'stretch': stretch)
32
+ {
33
+ .grid-items-#{$name} {
34
+ align-items: #{$value};
35
+ }
36
+ }
37
+
38
+ // --- 6.2. Horizontal item justification (justify-items) ---
39
+ $justify-values: (start, center, end, stretch);
40
+
41
+ @each $value in $justify-values {
42
+ .grid-justify-#{$value} {
43
+ justify-items: #{$value};
44
+ }
45
+ }
46
+
47
+ // --- 6.3. Combined alignment and justification (place-items) ---
48
+ $place-items-values: (start, center, end, stretch);
49
+
50
+ @each $value in $place-items-values {
51
+ .grid-place-#{$value} {
52
+ place-items: #{$value};
53
+ }
54
+ }
55
+
56
+ // ==========================================================
57
+ // 7. CONTENT ALIGNMENT UTILITY CLASSES
58
+ // (align-content and justify-content)
59
+ // ==========================================================
60
+
61
+ // --- 7.1. Vertical content alignment (align-content) ---
62
+ $align-content-values: (
63
+ 'top': start,
64
+ 'middle': center,
65
+ 'bottom': end,
66
+ 'between': space-between,
67
+ 'around': space-around,
68
+ 'evenly': space-evenly,
69
+ 'stretch': stretch,
70
+ );
71
+
72
+ @each $name, $value in $align-content-values {
73
+ .grid-content-#{$name} {
74
+ align-content: #{$value};
75
+ }
76
+ }
77
+
78
+ // --- 7.2. Horizontal content justification (justify-content) ---
79
+ $justify-content-values: (
80
+ 'start': start,
81
+ 'center': center,
82
+ 'end': end,
83
+ 'between': space-between,
84
+ 'around': space-around,
85
+ 'evenly': space-evenly,
86
+ 'stretch': stretch,
87
+ );
88
+
89
+ @each $name, $value in $justify-content-values {
90
+ .grid-justify-content-#{$name} {
91
+ justify-content: #{$value};
92
+ }
93
+ }
94
+
95
+ // ==========================================================
96
+ // 8. INDIVIDUAL ITEM ALIGNMENT UTILITY CLASSES
97
+ // (align-self and justify-self)
98
+ // ==========================================================
99
+
100
+ // --- 8.1. Vertical alignment of an individual item (align-self) ---
101
+ $align-self-values: (
102
+ 'top': start,
103
+ 'middle': center,
104
+ 'bottom': end,
105
+ 'stretch': stretch,
106
+ );
107
+
108
+ @each $name, $value in $align-self-values {
109
+ .grid-self-#{$name} {
110
+ align-self: #{$value};
111
+ }
112
+ }
113
+
114
+ // --- 8.2. Horizontal justification of an individual item (justify-self) ---
115
+ $justify-self-values: (start, center, end, stretch);
116
+
117
+ @each $value in $justify-self-values {
118
+ .grid-self-justify-#{$value} {
119
+ justify-self: #{$value};
120
+ }
121
+ }
122
+
123
+ // --- 8.3. Combined alignment and justification for an item (place-self) ---
124
+ $place-self-values: (start, center, end, stretch);
125
+
126
+ @each $value in $place-self-values {
127
+ .grid-self-place-#{$value} {
128
+ place-self: #{$value};
129
+ }
130
+ }
@@ -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/badge/elements' as *;
43
+
44
+ // @use './components/button/' 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,5 @@
1
+ // !!! DO NOT REORDER THIS FILE !!!
2
+ @use './base';
3
+ @use './nappr';
4
+
5
+ // !!! DO NOT REORDER THIS FILE !!!
@@ -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,82 @@
1
+ html {
2
+ font-size: 100%;
3
+ }
4
+
5
+ body {
6
+ color: var(--nappr-theme-text-secondary);
7
+ font-family: var(--nappr-text-font-family);
8
+ font-size: var(--nappr-text-font-size);
9
+ min-height: 100vh;
10
+ text-rendering: optimizespeed;
11
+ width: 100vw;
12
+ }
13
+
14
+ blockquote,
15
+ q {
16
+ quotes: none;
17
+ }
18
+
19
+ blockquote::before,
20
+ blockquote::after,
21
+ q::before,
22
+ q::after {
23
+ content: '';
24
+ content: none;
25
+ }
26
+
27
+ pre {
28
+ overflow-wrap: break-word;
29
+ white-space: pre-wrap;
30
+ }
31
+
32
+ p {
33
+ white-space: initial;
34
+ }
35
+
36
+ sub,
37
+ sup {
38
+ line-height: 1;
39
+ }
40
+
41
+ button,
42
+ [role='reset'],
43
+ [role='submit'],
44
+ [role='button'] {
45
+ background: transparent;
46
+ border: 0;
47
+ cursor: pointer;
48
+ overflow: hidden;
49
+ text-align: center;
50
+ text-decoration: none;
51
+ text-overflow: ellipsis;
52
+ user-select: none;
53
+ white-space: nowrap;
54
+ }
55
+
56
+ hr,
57
+ input,
58
+ button,
59
+ textarea,
60
+ [role='reset'],
61
+ [role='submit'],
62
+ [role='button'] {
63
+ margin: 0;
64
+ padding: 0;
65
+ }
66
+
67
+ .disabled,
68
+ :disabled,
69
+ :disabled:link,
70
+ :disabled:visited,
71
+ :disabled:hover,
72
+ :disabled:active {
73
+ box-shadow: inherit;
74
+ cursor: default;
75
+ cursor: not-allowed;
76
+ pointer-events: none;
77
+ text-shadow: inherit;
78
+ }
79
+
80
+ #root {
81
+ isolation: isolate;
82
+ }
@@ -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
+ );