summaryrefslogtreecommitdiff
path: root/node_modules/postcss-hexrgba/test/fixtures
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2023-10-14 15:58:02 +0800
committerlittleblack111 <littleblack11111@gmail.com>2023-10-14 15:58:02 +0800
commitfee47f6414cc3ae9a88f3ee0ed20f1d6f2d9f556 (patch)
tree2b99dd57fc676a3819ef3cc46ac43df0043c2bb3 /node_modules/postcss-hexrgba/test/fixtures
parent0379526e20e1ff212df23e6326741aa9c06df204 (diff)
added plugin from postcss: postcss-fixes rucksack-css
Diffstat (limited to 'node_modules/postcss-hexrgba/test/fixtures')
-rw-r--r--node_modules/postcss-hexrgba/test/fixtures/complex.css5
-rw-r--r--node_modules/postcss-hexrgba/test/fixtures/complex.expected.css5
-rw-r--r--node_modules/postcss-hexrgba/test/fixtures/important.css4
-rw-r--r--node_modules/postcss-hexrgba/test/fixtures/important.expected.css4
-rw-r--r--node_modules/postcss-hexrgba/test/fixtures/multiple.css4
-rw-r--r--node_modules/postcss-hexrgba/test/fixtures/multiple.expected.css4
-rw-r--r--node_modules/postcss-hexrgba/test/fixtures/shorthand.css4
-rw-r--r--node_modules/postcss-hexrgba/test/fixtures/shorthand.expected.css4
-rw-r--r--node_modules/postcss-hexrgba/test/fixtures/standard.css4
-rw-r--r--node_modules/postcss-hexrgba/test/fixtures/standard.expected.css4
10 files changed, 42 insertions, 0 deletions
diff --git a/node_modules/postcss-hexrgba/test/fixtures/complex.css b/node_modules/postcss-hexrgba/test/fixtures/complex.css
new file mode 100644
index 00000000..b7032ad7
--- /dev/null
+++ b/node_modules/postcss-hexrgba/test/fixtures/complex.css
@@ -0,0 +1,5 @@
+ .foo {
+ background: linear-gradient(rgba(#0fab53,.1), rgba(#000, 0.2));
+ background-image: linear-gradient(#f00, rgba(#f00, 0.2)),
+ linear-gradient(#0f0, rgba(#0f0, 0.2));
+ }
diff --git a/node_modules/postcss-hexrgba/test/fixtures/complex.expected.css b/node_modules/postcss-hexrgba/test/fixtures/complex.expected.css
new file mode 100644
index 00000000..d9e8aaeb
--- /dev/null
+++ b/node_modules/postcss-hexrgba/test/fixtures/complex.expected.css
@@ -0,0 +1,5 @@
+ .foo {
+ background: linear-gradient(rgba(15,171,83,.1), rgba(0,0,0, 0.2));
+ background-image: linear-gradient(#f00, rgba(255,0,0, 0.2)),
+ linear-gradient(#0f0, rgba(0,255,0, 0.2));
+ }
diff --git a/node_modules/postcss-hexrgba/test/fixtures/important.css b/node_modules/postcss-hexrgba/test/fixtures/important.css
new file mode 100644
index 00000000..19b79f67
--- /dev/null
+++ b/node_modules/postcss-hexrgba/test/fixtures/important.css
@@ -0,0 +1,4 @@
+.foo {
+ border: 1px solid rgba(#f00, 0.2) !important;
+ color: rgba(#f00,.2) !important;
+}
diff --git a/node_modules/postcss-hexrgba/test/fixtures/important.expected.css b/node_modules/postcss-hexrgba/test/fixtures/important.expected.css
new file mode 100644
index 00000000..956990f7
--- /dev/null
+++ b/node_modules/postcss-hexrgba/test/fixtures/important.expected.css
@@ -0,0 +1,4 @@
+.foo {
+ border: 1px solid rgba(255,0,0, 0.2) !important;
+ color: rgba(255,0,0,.2) !important;
+}
diff --git a/node_modules/postcss-hexrgba/test/fixtures/multiple.css b/node_modules/postcss-hexrgba/test/fixtures/multiple.css
new file mode 100644
index 00000000..c382bab6
--- /dev/null
+++ b/node_modules/postcss-hexrgba/test/fixtures/multiple.css
@@ -0,0 +1,4 @@
+.foo {
+ border: 1px solid rgba(#f00, 0.2);
+ border: rgba(#f00,.2) 1px solid;
+}
diff --git a/node_modules/postcss-hexrgba/test/fixtures/multiple.expected.css b/node_modules/postcss-hexrgba/test/fixtures/multiple.expected.css
new file mode 100644
index 00000000..2510009a
--- /dev/null
+++ b/node_modules/postcss-hexrgba/test/fixtures/multiple.expected.css
@@ -0,0 +1,4 @@
+.foo {
+ border: 1px solid rgba(255,0,0, 0.2);
+ border: rgba(255,0,0,.2) 1px solid;
+}
diff --git a/node_modules/postcss-hexrgba/test/fixtures/shorthand.css b/node_modules/postcss-hexrgba/test/fixtures/shorthand.css
new file mode 100644
index 00000000..6afa9e31
--- /dev/null
+++ b/node_modules/postcss-hexrgba/test/fixtures/shorthand.css
@@ -0,0 +1,4 @@
+.foo {
+ color: rgba(#fff, 0.5);
+ background: rgba(#000, .8);
+}
diff --git a/node_modules/postcss-hexrgba/test/fixtures/shorthand.expected.css b/node_modules/postcss-hexrgba/test/fixtures/shorthand.expected.css
new file mode 100644
index 00000000..a229ed70
--- /dev/null
+++ b/node_modules/postcss-hexrgba/test/fixtures/shorthand.expected.css
@@ -0,0 +1,4 @@
+.foo {
+ color: rgba(255,255,255, 0.5);
+ background: rgba(0,0,0, .8);
+}
diff --git a/node_modules/postcss-hexrgba/test/fixtures/standard.css b/node_modules/postcss-hexrgba/test/fixtures/standard.css
new file mode 100644
index 00000000..34f820b3
--- /dev/null
+++ b/node_modules/postcss-hexrgba/test/fixtures/standard.css
@@ -0,0 +1,4 @@
+.foo {
+ color: rgba(#ffffff, 0.5);
+ background: rgba(#00b2ff,.8);
+}
diff --git a/node_modules/postcss-hexrgba/test/fixtures/standard.expected.css b/node_modules/postcss-hexrgba/test/fixtures/standard.expected.css
new file mode 100644
index 00000000..9dfe2dfb
--- /dev/null
+++ b/node_modules/postcss-hexrgba/test/fixtures/standard.expected.css
@@ -0,0 +1,4 @@
+.foo {
+ color: rgba(255,255,255, 0.5);
+ background: rgba(0,178,255,.8);
+}