coveragebook_components 0.19.1 → 0.19.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/build/coco/coco.css +161 -3
- data/app/assets/build/coco/coco.js +16 -1
- data/config/tailwind.preset.js +9 -1
- data/config/tokens.js +13 -0
- data/lib/coco.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 368eb60300a5e23c37fa7220eab88a4a5043adddea4c0ee94b2838e7eec73127
|
4
|
+
data.tar.gz: 9d81733dffedd3b5797b5e1879883f53f7eae1643928186f2a82983c1fa18e2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 960be5bbd262be9a0f74ed58de7e2e687882901905bcc5e08c55eb1c97c774a620aa68551bf59e09ae168eb9cf6be6c0aba5f418bcf314dbbd8aeea602ff4ff0
|
7
|
+
data.tar.gz: de9e449841409d9028cff1c32c5c6f4249b25c6f9784727135047c3f3734ac30243fd26a7f7138374928f7af9849662f3ede69de8d01eb4ea78b06ad8e9b7cd5
|
@@ -591,10 +591,168 @@ select{
|
|
591
591
|
outline: 1px solid ButtonText;
|
592
592
|
outline: 1px auto -webkit-focus-ring-color
|
593
593
|
}
|
594
|
-
|
594
|
+
|
595
|
+
:root{
|
596
|
+
--coco-colors-transparent: transparent;
|
597
|
+
--coco-colors-current: currentColor;
|
598
|
+
--coco-colors-black: #000000;
|
599
|
+
--coco-colors-white: #FFFFFF;
|
600
|
+
--coco-colors-gray-50: #F9FAFB;
|
601
|
+
--coco-colors-gray-100: #F3F4F6;
|
602
|
+
--coco-colors-gray-200: #E5E7EB;
|
603
|
+
--coco-colors-gray-300: #D1D5DB;
|
604
|
+
--coco-colors-gray-400: #9CA3AF;
|
605
|
+
--coco-colors-gray-500: #6B7280;
|
606
|
+
--coco-colors-gray-600: #4B5563;
|
607
|
+
--coco-colors-gray-700: #374151;
|
608
|
+
--coco-colors-gray-800: #1F2937;
|
609
|
+
--coco-colors-gray-900: #111827;
|
610
|
+
--coco-colors-gray-transparent-50: rgba(0, 12, 39, 0.06);
|
611
|
+
--coco-colors-gray-transparent-100: rgba(0, 12, 39, 0.1);
|
612
|
+
--coco-colors-gray-transparent-200: rgba(0, 12, 39, 0.18);
|
613
|
+
--coco-colors-green-50: #E8F3F1;
|
614
|
+
--coco-colors-green-100: #D1E7E2;
|
615
|
+
--coco-colors-green-200: #A3CFC5;
|
616
|
+
--coco-colors-green-300: #76B8AA;
|
617
|
+
--coco-colors-green-400: #48A08D;
|
618
|
+
--coco-colors-green-500: #1A8871;
|
619
|
+
--coco-colors-green-600: #137464;
|
620
|
+
--coco-colors-green-700: #0D6159;
|
621
|
+
--coco-colors-green-800: #084C4E;
|
622
|
+
--coco-colors-green-900: #013C43;
|
623
|
+
--coco-colors-red-50: #FEF2F2;
|
624
|
+
--coco-colors-red-100: #FEE2E2;
|
625
|
+
--coco-colors-red-200: #FECACA;
|
626
|
+
--coco-colors-red-300: #FCA5A5;
|
627
|
+
--coco-colors-red-400: #F87171;
|
628
|
+
--coco-colors-red-500: #EF4444;
|
629
|
+
--coco-colors-red-600: #DC2626;
|
630
|
+
--coco-colors-red-700: #B91C1C;
|
631
|
+
--coco-colors-red-800: #991B1B;
|
632
|
+
--coco-colors-red-900: #7F1D1D;
|
633
|
+
--coco-colors-amber-50: #FFFBEB;
|
634
|
+
--coco-colors-amber-100: #FEF3C7;
|
635
|
+
--coco-colors-amber-200: #FDE68A;
|
636
|
+
--coco-colors-amber-300: #FCD34D;
|
637
|
+
--coco-colors-amber-400: #FBBF24;
|
638
|
+
--coco-colors-amber-500: #F59E0B;
|
639
|
+
--coco-colors-amber-600: #D97706;
|
640
|
+
--coco-colors-amber-700: #B45309;
|
641
|
+
--coco-colors-amber-800: #92400E;
|
642
|
+
--coco-colors-amber-900: #78350F;
|
643
|
+
--coco-colors-blue-50: #F0F9FF;
|
644
|
+
--coco-colors-blue-100: #E0F2FE;
|
645
|
+
--coco-colors-blue-200: #BAE6FD;
|
646
|
+
--coco-colors-blue-300: #7DD3FC;
|
647
|
+
--coco-colors-blue-400: #38BDF8;
|
648
|
+
--coco-colors-blue-500: #0EA5E9;
|
649
|
+
--coco-colors-blue-600: #0284C7;
|
650
|
+
--coco-colors-blue-700: #0369A1;
|
651
|
+
--coco-colors-blue-800: #075985;
|
652
|
+
--coco-colors-blue-900: #0C4A6E;
|
653
|
+
--coco-colors-teal-50: #F0FDFA;
|
654
|
+
--coco-colors-teal-100: #CCFBF1;
|
655
|
+
--coco-colors-teal-200: #99F6E4;
|
656
|
+
--coco-colors-teal-300: #5EEAD4;
|
657
|
+
--coco-colors-teal-400: #2DD4BF;
|
658
|
+
--coco-colors-teal-500: #14B8A6;
|
659
|
+
--coco-colors-teal-600: #0D9488;
|
660
|
+
--coco-colors-teal-700: #0F766E;
|
661
|
+
--coco-colors-teal-800: #115E59;
|
662
|
+
--coco-colors-teal-900: #134E4A;
|
663
|
+
--coco-colors-primary-50: #E8F3F1;
|
664
|
+
--coco-colors-primary-100: #D1E7E2;
|
665
|
+
--coco-colors-primary-200: #A3CFC5;
|
666
|
+
--coco-colors-primary-300: #76B8AA;
|
667
|
+
--coco-colors-primary-400: #48A08D;
|
668
|
+
--coco-colors-primary-500: #1A8871;
|
669
|
+
--coco-colors-primary-600: #137464;
|
670
|
+
--coco-colors-primary-700: #0D6159;
|
671
|
+
--coco-colors-primary-800: #084C4E;
|
672
|
+
--coco-colors-primary-900: #013C43;
|
673
|
+
--coco-colors-positive-50: #E8F3F1;
|
674
|
+
--coco-colors-positive-100: #D1E7E2;
|
675
|
+
--coco-colors-positive-200: #A3CFC5;
|
676
|
+
--coco-colors-positive-300: #76B8AA;
|
677
|
+
--coco-colors-positive-400: #48A08D;
|
678
|
+
--coco-colors-positive-500: #1A8871;
|
679
|
+
--coco-colors-positive-600: #137464;
|
680
|
+
--coco-colors-positive-700: #0D6159;
|
681
|
+
--coco-colors-positive-800: #084C4E;
|
682
|
+
--coco-colors-positive-900: #013C43;
|
683
|
+
--coco-colors-negative-50: #FEF2F2;
|
684
|
+
--coco-colors-negative-100: #FEE2E2;
|
685
|
+
--coco-colors-negative-200: #FECACA;
|
686
|
+
--coco-colors-negative-300: #FCA5A5;
|
687
|
+
--coco-colors-negative-400: #F87171;
|
688
|
+
--coco-colors-negative-500: #EF4444;
|
689
|
+
--coco-colors-negative-600: #DC2626;
|
690
|
+
--coco-colors-negative-700: #B91C1C;
|
691
|
+
--coco-colors-negative-800: #991B1B;
|
692
|
+
--coco-colors-negative-900: #7F1D1D;
|
693
|
+
--coco-colors-warning-50: #FFFBEB;
|
694
|
+
--coco-colors-warning-100: #FEF3C7;
|
695
|
+
--coco-colors-warning-200: #FDE68A;
|
696
|
+
--coco-colors-warning-300: #FCD34D;
|
697
|
+
--coco-colors-warning-400: #FBBF24;
|
698
|
+
--coco-colors-warning-500: #F59E0B;
|
699
|
+
--coco-colors-warning-600: #D97706;
|
700
|
+
--coco-colors-warning-700: #B45309;
|
701
|
+
--coco-colors-warning-800: #92400E;
|
702
|
+
--coco-colors-warning-900: #78350F;
|
703
|
+
--coco-colors-info-50: #F0F9FF;
|
704
|
+
--coco-colors-info-100: #E0F2FE;
|
705
|
+
--coco-colors-info-200: #BAE6FD;
|
706
|
+
--coco-colors-info-300: #7DD3FC;
|
707
|
+
--coco-colors-info-400: #38BDF8;
|
708
|
+
--coco-colors-info-500: #0EA5E9;
|
709
|
+
--coco-colors-info-600: #0284C7;
|
710
|
+
--coco-colors-info-700: #0369A1;
|
711
|
+
--coco-colors-info-800: #075985;
|
712
|
+
--coco-colors-info-900: #0C4A6E;
|
713
|
+
--coco-colors-background-header: #427484;
|
714
|
+
--coco-colors-background-light-1: #FFFFFF;
|
715
|
+
--coco-colors-background-light-2: #F9FAFB;
|
716
|
+
--coco-colors-background-light-3: #F3F4F6;
|
717
|
+
--coco-colors-background-dark-1: #111827;
|
718
|
+
--coco-colors-background-dark-2: #1F2937;
|
719
|
+
--coco-colors-background-dark-3: #374151;
|
720
|
+
--coco-colors-background-primary: #1A8871;
|
721
|
+
--coco-colors-background-primary-light: #D1E7E2;
|
722
|
+
--coco-colors-background-negative: #DC2626;
|
723
|
+
--coco-colors-background-negative-light: #FEE2E2;
|
724
|
+
--coco-colors-background-warning: #F59E0B;
|
725
|
+
--coco-colors-background-warning-light: #FFFBEB;
|
726
|
+
--coco-colors-background-positive: #1A8871;
|
727
|
+
--coco-colors-background-positive-light: #D1E7E2;
|
728
|
+
--coco-colors-background-info: #0284C7;
|
729
|
+
--coco-colors-background-info-light: #E0F2FE;
|
730
|
+
--coco-colors-content-dark-1: #111827;
|
731
|
+
--coco-colors-content-dark-2: #1F2937;
|
732
|
+
--coco-colors-content-dark-3: #4B5563;
|
733
|
+
--coco-colors-content-dark-muted: #9CA3AF;
|
734
|
+
--coco-colors-content-light-1: #FFFFFF;
|
735
|
+
--coco-colors-content-light-2: #E5E7EB;
|
736
|
+
--coco-colors-content-light-muted: #9CA3AF;
|
737
|
+
--coco-colors-content-primary: #1A8871;
|
738
|
+
--coco-colors-content-primary-dark: #137464;
|
739
|
+
--coco-colors-content-primary-inverse: #76B8AA;
|
740
|
+
--coco-colors-content-primary-inverse-vivid: #009979;
|
741
|
+
--coco-colors-content-negative: #DC2626;
|
742
|
+
--coco-colors-content-negative-dark: #B91C1C;
|
743
|
+
--coco-colors-content-negative-inverse: #FCA5A5;
|
744
|
+
--coco-colors-content-warning: #D97706;
|
745
|
+
--coco-colors-content-warning-dark: #B45309;
|
746
|
+
--coco-colors-content-warning-inverse: #FCD34D;
|
747
|
+
--coco-colors-content-positive: #1A8871;
|
748
|
+
--coco-colors-content-positive-dark: #137464;
|
749
|
+
--coco-colors-content-positive-inverse: #76B8AA;
|
750
|
+
--coco-colors-content-info: #0284C7;
|
751
|
+
--coco-colors-content-info-dark: #0369A1;
|
752
|
+
--coco-colors-content-info-inverse: #7DD3FC;
|
595
753
|
--snackbar-bottom-offset: 2rem;
|
596
|
-
--app-height: 100
|
597
|
-
|
754
|
+
--app-height: 100%
|
755
|
+
}
|
598
756
|
|
599
757
|
html{
|
600
758
|
scroll-behavior: smooth;
|
@@ -11449,6 +11449,8 @@ var require_tokens = __commonJS({
|
|
11449
11449
|
900: "#134E4A"
|
11450
11450
|
}
|
11451
11451
|
};
|
11452
|
+
var { coco, ...colorVariables } = colors;
|
11453
|
+
colorVariables.gray = { ...colors.coco.gray, ...colorVariables.gray };
|
11452
11454
|
var colorAliases = {
|
11453
11455
|
primary: {
|
11454
11456
|
...colors.green
|
@@ -11599,6 +11601,16 @@ var require_tokens = __commonJS({
|
|
11599
11601
|
displaySans: "proxima-nova",
|
11600
11602
|
bodySans: "proxima-nova",
|
11601
11603
|
displaySerif: "merriweather"
|
11604
|
+
},
|
11605
|
+
variables: {
|
11606
|
+
DEFAULT: {
|
11607
|
+
coco: {
|
11608
|
+
colors: {
|
11609
|
+
...colorVariables,
|
11610
|
+
...colorAliases
|
11611
|
+
}
|
11612
|
+
}
|
11613
|
+
}
|
11602
11614
|
}
|
11603
11615
|
};
|
11604
11616
|
}
|
@@ -15326,7 +15338,7 @@ var alpine_default = import_alpinejs.default;
|
|
15326
15338
|
// ../../../package.json
|
15327
15339
|
var package_default = {
|
15328
15340
|
name: "coveragebook-components",
|
15329
|
-
version: "0.19.
|
15341
|
+
version: "0.19.3",
|
15330
15342
|
repository: "git@github.com:coveragebook/coco.git",
|
15331
15343
|
license: "NO LICENSE",
|
15332
15344
|
author: "Mark Perkins <mark@coveragebook.com>",
|
@@ -15421,6 +15433,9 @@ var package_default = {
|
|
15421
15433
|
"after:version:bump": "bundle exec rake coco:gem:bump_version[${version}] && bundle && cd lookbook && bundle",
|
15422
15434
|
"after:release": "rake coco:gem:release[${version}]"
|
15423
15435
|
}
|
15436
|
+
},
|
15437
|
+
devDependencies: {
|
15438
|
+
"@mertasan/tailwindcss-variables": "^2.7.0"
|
15424
15439
|
}
|
15425
15440
|
};
|
15426
15441
|
|
data/config/tailwind.preset.js
CHANGED
@@ -1,12 +1,19 @@
|
|
1
1
|
/** @type {import('tailwindcss').Config} */
|
2
2
|
|
3
3
|
const defaultTheme = require("tailwindcss/defaultTheme");
|
4
|
-
const {
|
4
|
+
const {
|
5
|
+
fontSize,
|
6
|
+
fontFamily,
|
7
|
+
colors,
|
8
|
+
variables,
|
9
|
+
screens,
|
10
|
+
} = require("./tokens.js");
|
5
11
|
|
6
12
|
module.exports = {
|
7
13
|
theme: {
|
8
14
|
colors,
|
9
15
|
screens,
|
16
|
+
variables,
|
10
17
|
fontFamily: {
|
11
18
|
display: [fontFamily.displaySans, ...defaultTheme.fontFamily.sans],
|
12
19
|
body: [fontFamily.bodySans, ...defaultTheme.fontFamily.sans],
|
@@ -58,6 +65,7 @@ module.exports = {
|
|
58
65
|
plugins: [
|
59
66
|
require("@tailwindcss/forms"),
|
60
67
|
require("@tailwindcss/container-queries"),
|
68
|
+
require("@mertasan/tailwindcss-variables"),
|
61
69
|
require("../app/assets/css/plugins/colors.js"),
|
62
70
|
require("../app/assets/css/plugins/icons.js"),
|
63
71
|
require("../app/assets/css/plugins/layout.js"),
|
data/config/tokens.js
CHANGED
@@ -86,6 +86,9 @@ const colors = {
|
|
86
86
|
},
|
87
87
|
};
|
88
88
|
|
89
|
+
const { coco, ...colorVariables } = colors;
|
90
|
+
colorVariables.gray = { ...colors.coco.gray, ...colorVariables.gray };
|
91
|
+
|
89
92
|
const colorAliases = {
|
90
93
|
primary: {
|
91
94
|
...colors.green,
|
@@ -244,4 +247,14 @@ module.exports = {
|
|
244
247
|
bodySans: "proxima-nova",
|
245
248
|
displaySerif: "merriweather",
|
246
249
|
},
|
250
|
+
variables: {
|
251
|
+
DEFAULT: {
|
252
|
+
coco: {
|
253
|
+
colors: {
|
254
|
+
...colorVariables,
|
255
|
+
...colorAliases,
|
256
|
+
},
|
257
|
+
},
|
258
|
+
},
|
259
|
+
},
|
247
260
|
};
|
data/lib/coco.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: coveragebook_components
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.19.
|
4
|
+
version: 0.19.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Perkins
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-09-
|
11
|
+
date: 2024-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|