Update adwaita style
This commit is contained in:
@@ -62,6 +62,13 @@
|
|||||||
(Inspired by <a href="https://www.gnome-look.org/p/1441725/" target="_blank">Skeuos GTK</a>)
|
(Inspired by <a href="https://www.gnome-look.org/p/1441725/" target="_blank">Skeuos GTK</a>)
|
||||||
<br/>
|
<br/>
|
||||||
<input type="radio" id="style_sweet" name="style"><label for="style_sweet">Sweet</label>
|
<input type="radio" id="style_sweet" name="style"><label for="style_sweet">Sweet</label>
|
||||||
|
<br/>
|
||||||
|
<br/>
|
||||||
|
<input type="radio" id="style_adwaita" name="style"><label for="style_adwaita">Adwaita (dynamic)</label>
|
||||||
|
<br/>
|
||||||
|
<input type="radio" id="style_adwaita_dark" name="style"><label for="style_adwaita_dark">Adwaita dark</label>
|
||||||
|
<br/>
|
||||||
|
<input type="radio" id="style_adwaita_light" name="style"><label for="style_adwaita_light">Adwaita light</label>
|
||||||
|
|
||||||
<h2>Hue</h2>
|
<h2>Hue</h2>
|
||||||
<p>
|
<p>
|
||||||
|
@@ -72,7 +72,7 @@ onMount(() => {
|
|||||||
<p>
|
<p>
|
||||||
Paste any pixeldrain file links in here to remove them
|
Paste any pixeldrain file links in here to remove them
|
||||||
</p>
|
</p>
|
||||||
<div class="highlight_shaded">
|
<div class="highlight_border">
|
||||||
<Form config={block_form}></Form>
|
<Form config={block_form}></Form>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
@@ -87,6 +87,10 @@ func userStyle(style string, hue int) template.CSS {
|
|||||||
def = adwaitaDarkStyle
|
def = adwaitaDarkStyle
|
||||||
light = adwaitaLightStyle
|
light = adwaitaLightStyle
|
||||||
hasLight = true
|
hasLight = true
|
||||||
|
case "adwaita_dark":
|
||||||
|
def = adwaitaDarkStyle
|
||||||
|
case "adwaita_light":
|
||||||
|
def = adwaitaLightStyle
|
||||||
}
|
}
|
||||||
|
|
||||||
if hue >= 0 && hue <= 360 {
|
if hue >= 0 && hue <= 360 {
|
||||||
@@ -505,10 +509,10 @@ var adwaitaDarkStyle = styleSheet{
|
|||||||
HighlightText: HSL{0, 0, 0},
|
HighlightText: HSL{0, 0, 0},
|
||||||
Danger: HSL{9, 1, .69}, // hsl(9, 100%, 69%)
|
Danger: HSL{9, 1, .69}, // hsl(9, 100%, 69%)
|
||||||
|
|
||||||
BackgroundColor: HSL{0, 0, .19},
|
BackgroundColor: HSL{0, 0, .12},
|
||||||
BodyColor: HSL{0, 0, .14},
|
BodyColor: HSL{0, 0, .14},
|
||||||
BodyText: HSL{0, 0, 1},
|
BodyText: HSL{0, 0, 1},
|
||||||
CardColor: HSL{0, 0, .08},
|
CardColor: HSL{0, 0, .21},
|
||||||
|
|
||||||
Shadow: HSL{0, 0, 0},
|
Shadow: HSL{0, 0, 0},
|
||||||
}
|
}
|
||||||
@@ -525,6 +529,7 @@ var adwaitaLightStyle = styleSheet{
|
|||||||
BackgroundColor: HSL{0, 0, .92},
|
BackgroundColor: HSL{0, 0, .92},
|
||||||
BodyColor: HSL{0, 0, .98},
|
BodyColor: HSL{0, 0, .98},
|
||||||
BodyText: HSL{0, 0, .2},
|
BodyText: HSL{0, 0, .2},
|
||||||
|
Separator: HSL{0, 0, .86},
|
||||||
CardColor: HSL{0, 0, 1},
|
CardColor: HSL{0, 0, 1},
|
||||||
|
|
||||||
Shadow: HSL{0, 0, 0.36},
|
Shadow: HSL{0, 0, 0.36},
|
||||||
|
Reference in New Issue
Block a user