4848 < symbol id ="icon-square " viewBox ="0 0 24 24 " fill ="none " stroke ="currentColor " stroke-width ="1.75 " stroke-linecap ="round " stroke-linejoin ="round ">
4949 < rect width ="18 " height ="18 " x ="3 " y ="3 " rx ="2 "/>
5050 </ symbol >
51+ < symbol id ="icon-ramp " viewBox ="0 0 24 24 " fill ="currentColor " stroke ="none ">
52+ < rect x ="3 " y ="5 " width ="4 " height ="14 " opacity ="1 "/>
53+ < rect x ="10 " y ="5 " width ="4 " height ="14 " opacity ="0.55 "/>
54+ < rect x ="17 " y ="5 " width ="4 " height ="14 " opacity ="0.15 "/>
55+ </ symbol >
5156 < symbol id ="icon-save " viewBox ="0 0 24 24 " fill ="none " stroke ="currentColor " stroke-width ="1.75 " stroke-linecap ="round " stroke-linejoin ="round ">
5257 < path d ="M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z "/>
5358 < path d ="M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7 "/>
@@ -99,6 +104,9 @@ <h1>Color Grid</h1>
99104 < button type ="button " class ="tool tool-icon " id ="dropperBtn " aria-label ="Pick color " title ="Pick color " aria-expanded ="false " aria-haspopup ="dialog ">
100105 < svg viewBox ="0 0 24 24 " aria-hidden ="true "> < use href ="#icon-pipette "/> </ svg >
101106 </ button >
107+ < button type ="button " class ="tool tool-icon " id ="rampBtn " aria-pressed ="false " aria-label ="Ramp to black " title ="Ramp to black — drag on grid ">
108+ < svg viewBox ="0 0 24 24 " aria-hidden ="true "> < use href ="#icon-ramp "/> </ svg >
109+ </ button >
102110 < button type ="button " class ="tool tool-icon " id ="eraserBtn " aria-pressed ="false " aria-label ="Eraser " title ="Eraser ">
103111 < svg viewBox ="0 0 24 24 " aria-hidden ="true "> < use href ="#icon-eraser "/> </ svg >
104112 </ button >
@@ -113,6 +121,22 @@ <h1>Color Grid</h1>
113121 </ button >
114122 </ div >
115123 </ div >
124+ < div class ="tone-ramp-wrap ">
125+ < span class ="tone-ramp-label "> To black</ span >
126+ < div class ="tone-ramp " id ="toneRamp " role ="listbox " aria-label ="Five steps from color to black "> </ div >
127+ </ div >
128+ < div class ="grid-sizing " aria-label ="Silver grid sizing ">
129+ < label class ="grid-sizing-label ">
130+ < span > Silver columns</ span >
131+ < input type ="range " id ="silverColSize " min ="0.25 " max ="3 " step ="0.05 " value ="1 " aria-valuemin ="0.25 " aria-valuemax ="3 " aria-valuenow ="1 ">
132+ < output id ="silverColSizeVal " for ="silverColSize "> 1×</ output >
133+ </ label >
134+ < label class ="grid-sizing-label ">
135+ < span > Silver rows</ span >
136+ < input type ="range " id ="silverRowSize " min ="0.25 " max ="3 " step ="0.05 " value ="1 " aria-valuemin ="0.25 " aria-valuemax ="3 " aria-valuenow ="1 ">
137+ < output id ="silverRowSizeVal " for ="silverRowSize "> 1×</ output >
138+ </ label >
139+ </ div >
116140 </ section >
117141 < section class ="palette-panel ">
118142 < section class ="recent-section " aria-label ="Recently used colors ">
0 commit comments