Skip to content

Commit dc7cf90

Browse files
committed
added gradients
1 parent f2791ca commit dc7cf90

6 files changed

Lines changed: 100 additions & 268 deletions

File tree

examples/multicolor-gradients.html

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
</div>
4444
</nav>
4545

46-
<section class="container-fluid diagonal after-gr-blue-coral">
46+
<section class="container-fluid diagonal gr-blue-coral">
4747
<div class="container">
4848

4949
<h2 class="section-title">blue-coral</h2>
@@ -52,7 +52,7 @@ <h2 class="section-title">blue-coral</h2>
5252
</div>
5353
</section>
5454

55-
<section class="container-fluid diagonal after-gr-sunset-dream">
55+
<section class="container-fluid diagonal gr-sunset-dream">
5656
<div class="container">
5757

5858
<h2 class="section-title">sunset-dream</h2>
@@ -61,7 +61,7 @@ <h2 class="section-title">sunset-dream</h2>
6161
</div>
6262
</section>
6363

64-
<section class="container-fluid diagonal after-gr-deep-space">
64+
<section class="container-fluid diagonal gr-deep-space">
6565
<div class="container">
6666

6767
<h2 class="section-title">deep-space</h2>
@@ -70,16 +70,8 @@ <h2 class="section-title">deep-space</h2>
7070
</div>
7171
</section>
7272

73-
<section class="container-fluid diagonal after-gr-emerald">
74-
<div class="container">
75-
76-
<h2 class="section-title">emerald</h2>
77-
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Cumque cum, perspiciatis a illo veniam ratione expedita assumenda laboriosam modi error maiores fugit soluta vitae temporibus voluptatum ducimus culpa similique quaerat?</p>
7873

79-
</div>
80-
</section>
81-
82-
<section class="container-fluid diagonal after-gr-purple-love">
74+
<section class="container-fluid diagonal gr-purple-love">
8375
<div class="container">
8476

8577
<h2 class="section-title">purple-love</h2>
@@ -88,7 +80,7 @@ <h2 class="section-title">purple-love</h2>
8880
</div>
8981
</section>
9082

91-
<section class="container-fluid diagonal after-gr-cherry-glow">
83+
<section class="container-fluid diagonal gr-cherry-glow">
9284
<div class="container">
9385

9486
<h2 class="section-title">cherry-glow</h2>
@@ -97,7 +89,7 @@ <h2 class="section-title">cherry-glow</h2>
9789
</div>
9890
</section>
9991

100-
<section class="container-fluid diagonal after-gr-cosmic-fusion">
92+
<section class="container-fluid diagonal gr-cosmic-fusion">
10193
<div class="container">
10294

10395
<h2 class="section-title">cosmic-fusion</h2>
@@ -106,7 +98,7 @@ <h2 class="section-title">cosmic-fusion</h2>
10698
</div>
10799
</section>
108100

109-
<section class="container-fluid diagonal after-gr-sunny-morning">
101+
<section class="container-fluid diagonal gr-sunny-morning">
110102
<div class="container">
111103

112104
<h2 class="section-title">sunny-morning</h2>
@@ -115,7 +107,7 @@ <h2 class="section-title">sunny-morning</h2>
115107
</div>
116108
</section>
117109

118-
<section class="container-fluid diagonal after-gr-winter-frost">
110+
<section class="container-fluid diagonal gr-winter-frost">
119111
<div class="container">
120112

121113
<h2 class="section-title">winter-frost</h2>
@@ -124,7 +116,7 @@ <h2 class="section-title">winter-frost</h2>
124116
</div>
125117
</section>
126118

127-
<section class="container-fluid diagonal after-gr-neon-pulse">
119+
<section class="container-fluid diagonal gr-neon-pulse">
128120
<div class="container">
129121

130122
<h2 class="section-title">neon-pulse</h2>
@@ -133,7 +125,7 @@ <h2 class="section-title">neon-pulse</h2>
133125
</div>
134126
</section>
135127

136-
<section class="container-fluid diagonal after-gr-royal-elegance">
128+
<section class="container-fluid diagonal gr-royal-elegance">
137129
<div class="container">
138130

139131
<h2 class="section-title">royal-elegance</h2>
@@ -142,7 +134,7 @@ <h2 class="section-title">royal-elegance</h2>
142134
</div>
143135
</section>
144136

145-
<section class="container-fluid diagonal after-gr-sunset">
137+
<section class="container-fluid diagonal gr-sunset">
146138
<div class="container">
147139

148140
<h2 class="section-title">sunset</h2>
@@ -151,7 +143,7 @@ <h2 class="section-title">sunset</h2>
151143
</div>
152144
</section>
153145

154-
<section class="container-fluid diagonal after-gr-emerald-sea">
146+
<section class="container-fluid diagonal gr-emerald-sea">
155147
<div class="container">
156148

157149
<h2 class="section-title">emerald-sea</h2>
@@ -160,6 +152,15 @@ <h2 class="section-title">emerald-sea</h2>
160152
</div>
161153
</section>
162154

155+
<section class="container-fluid diagonal gr-emerald-green">
156+
<div class="container">
157+
158+
<h2 class="section-title">emerald-green</h2>
159+
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Cumque cum, perspiciatis a illo veniam ratione expedita assumenda laboriosam modi error maiores fugit soluta vitae temporibus voluptatum ducimus culpa similique quaerat?</p>
160+
161+
</div>
162+
</section>
163+
163164
<script src="../lib/metro.js"></script>
164165
<script>
165166
</script>

lib/metro.all.css

Lines changed: 29 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -45520,129 +45520,106 @@ button.light.outline,
4552045520
-webkit-background-clip: text !important;
4552145521
-webkit-text-fill-color: transparent;
4552245522
}
45523-
.gr-blue-coral,
45524-
.after-gr-blue-coral::after,
45525-
.before-gr-blue-coral::before {
45526-
background:
45523+
.gradient {
45524+
background: var(--background);
45525+
}
45526+
.gr-blue-coral {
45527+
--background:
4552745528
linear-gradient(
4552845529
45deg,
4552945530
#12c2e9,
4553045531
#c471ed,
4553145532
#f64f59) !important;
4553245533
}
45533-
.gr-sunset-dream,
45534-
.after-gr-sunset-dream::after,
45535-
.before-gr-sunset-dream::before {
45536-
background:
45534+
.gr-sunset-dream {
45535+
--background:
4553745536
linear-gradient(
4553845537
45deg,
4553945538
#ff7e5f,
4554045539
#feb47b,
4554145540
#ffcda5) !important;
4554245541
}
45543-
.gr-deep-space,
45544-
.after-gr-deep-space::after,
45545-
.before-gr-deep-space::before {
45546-
background:
45542+
.gr-deep-space {
45543+
--background:
4554745544
linear-gradient(
4554845545
45deg,
4554945546
#0f0c29,
4555045547
#302b63,
4555145548
#24243e) !important;
4555245549
}
45553-
.gr-emerald-sea,
45554-
.after-gr-emerald::after,
45555-
.before-gr-emerald::before {
45556-
background:
45550+
.gr-emerald-green {
45551+
--background:
4555745552
linear-gradient(
4555845553
45deg,
4555945554
#16a085,
4556045555
#2ecc71,
4556145556
#4cb8c4) !important;
4556245557
}
45563-
.gr-purple-love,
45564-
.after-gr-purple-love::after,
45565-
.before-gr-purple-love::before {
45566-
background:
45558+
.gr-purple-love {
45559+
--background:
4556745560
linear-gradient(
4556845561
45deg,
4556945562
#cc2b5e,
4557045563
#753a88,
4557145564
#4a235a) !important;
4557245565
}
45573-
.gr-cherry-glow,
45574-
.after-gr-cherry-glow::after,
45575-
.before-gr-cherry-glow::before {
45576-
background:
45566+
.gr-cherry-glow {
45567+
--background:
4557745568
linear-gradient(
4557845569
45deg,
4557945570
#f05053,
4558045571
#e1eec3,
4558145572
#a7bf5d) !important;
4558245573
}
45583-
.gr-cosmic-fusion,
45584-
.after-gr-cosmic-fusion::after,
45585-
.before-gr-cosmic-fusion::before {
45586-
background:
45574+
.gr-cosmic-fusion {
45575+
--background:
4558745576
linear-gradient(
4558845577
45deg,
4558945578
#ff00cc,
4559045579
#333399,
4559145580
#0033ff) !important;
4559245581
}
45593-
.gr-sunny-morning,
45594-
.after-gr-sunny-morning::after,
45595-
.before-gr-sunny-morning::before {
45596-
background:
45582+
.gr-sunny-morning {
45583+
--background:
4559745584
linear-gradient(
4559845585
45deg,
4559945586
#f6d365,
4560045587
#fda085,
4560145588
#fbc2eb) !important;
4560245589
}
45603-
.gr-winter-frost,
45604-
.after-gr-winter-frost::after,
45605-
.before-gr-winter-frost::before {
45606-
background:
45590+
.gr-winter-frost {
45591+
--background:
4560745592
linear-gradient(
4560845593
45deg,
4560945594
#a1c4fd,
4561045595
#c2e9fb,
4561145596
#e2ebf0) !important;
4561245597
}
45613-
.gr-neon-pulse,
45614-
.after-gr-neon-pulse::after,
45615-
.before-gr-neon-pulse::before {
45616-
background:
45598+
.gr-neon-pulse {
45599+
--background:
4561745600
linear-gradient(
4561845601
45deg,
4561945602
#00fffc,
4562045603
#fc00ff,
4562145604
#fffc00) !important;
4562245605
}
45623-
.gr-royal-elegance,
45624-
.after-gr-royal-elegance::after,
45625-
.before-gr-royal-elegance::before {
45626-
background:
45606+
.gr-royal-elegance {
45607+
--background:
4562745608
linear-gradient(
4562845609
45deg,
4562945610
#141e30,
4563045611
#243b55,
4563145612
#4286f4) !important;
4563245613
}
45633-
.gr-sunset,
45634-
.after-gr-sunset::after,
45635-
.before-gr-sunset::before {
45636-
background:
45614+
.gr-sunset {
45615+
--background:
4563745616
linear-gradient(
4563845617
to right,
4563945618
#fdc830,
4564045619
#f37335) !important;
4564145620
}
45642-
.gr-emerald-sea,
45643-
.after-gr-emerald-sea::after,
45644-
.before-gr-emerald-sea::before {
45645-
background:
45621+
.gr-emerald-sea {
45622+
--background:
4564645623
linear-gradient(
4564745624
to right,
4564845625
#00f260,

lib/metro.all.css.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)