diff --git a/example.html b/example.html index 5859479..cf0f7f0 100644 --- a/example.html +++ b/example.html @@ -11,10 +11,29 @@
Hello yaru!
-

Hello yaru!

-

Hello yaru!

-

Hello yaru!

-

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

- +
+ +
+
+
+

Hello yaru!

+

Hello yaru!

+

Hello yaru!

+

yaru.css is a css library attempting to recreate the Ubuntu Yaru style in a web format. it also works as it's own implementation of something like bootstrap with built in GTK style elements like Boxes and Popovers. This is a simple test page showing the different elements.

+ +
+
+

Hello again yaru!

+

Hello again yaru!

+

Hello again yaru!

+

You may have noticed this is a different item. yaru.css has the "box-v" div class for stacking different "box-content-1"s ontop of eachother, as long as the box-v is wrapped inside a box-content-1 of it's own.

+ +
+
+
+
\ No newline at end of file diff --git a/exampledark.html b/exampledark.html index 03e2251..a6b4503 100644 --- a/exampledark.html +++ b/exampledark.html @@ -11,10 +11,18 @@
Hello yaru!
-

Hello yaru!

-

Hello yaru!

-

Hello yaru!

-

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

- +
+ +
+

Hello yaru!

+

Hello yaru!

+

Hello yaru!

+

yaru.css is a css library attempting to recreate the Ubuntu Yaru style in a web format. it also works as it's own implementation of something like bootstrap with built in GTK style elements like Boxes and Popovers. This is a simple test page showing the different elements.

+ +
+
\ No newline at end of file diff --git a/scss/_colors-light.scss b/scss/_colors.scss similarity index 100% rename from scss/_colors-light.scss rename to scss/_colors.scss diff --git a/scss/yaru-dark.scss b/scss/yaru-dark.scss index 8950d0b..1083252 100644 --- a/scss/yaru-dark.scss +++ b/scss/yaru-dark.scss @@ -61,3 +61,53 @@ button:hover { border-radius: 6px; } +.sidebar { + width: 200px; + height: 100%; + background-color: $sidebar_bg_color; + color: $text_color; + border-radius: 0 20px 20px 0; + padding: 20px; + display: flex; + flex-direction: column; + gap: 10px; +} + +.sb_button { + min-height: 48px; + width: 185px; + padding-left: 8px; + padding-right: 8px; + border: 0px solid; + border-radius: 6px; + border-spacing: 6px; + transition: all 200ms ease-out; + background-color: $base_color; + color: $text_color; +}; + +.sb_button:hover { + min-height: 48px; + width: 185px; + padding-left: 8px; + padding-right: 8px; + border: 0px solid; + border-radius: 6px; + border-spacing: 6px; + transition: all 200ms ease-out; + background-color: $menu_selected_color; + color: $text_color; +}; + +.box { + display: flex; + height: 100vh; +}; + +.box-content-1 { + flex: 1; + padding: 20px; + background-color: $bg_color; + overflow-y: auto; +} + diff --git a/scss/yaru-light.scss b/scss/yaru-light.scss index cfb02ce..e58baad 100644 --- a/scss/yaru-light.scss +++ b/scss/yaru-light.scss @@ -1,5 +1,6 @@ @import 'colors-light'; @import 'font'; +@import 'palette'; $variant: 'light'; @@ -61,3 +62,64 @@ button:hover { border-radius: 6px; } +.sidebar { + width: 200px; + height: 100%; + background-color: $porcelain; + color: $text_color; + border-radius: 0 20px 20px 0; + padding: 20px; + display: flex; + flex-direction: column; + gap: 10px; +} + +.sb_button { + min-height: 48px; + width: 185px; + padding-left: 8px; + padding-right: 8px; + border: 0px solid; + border-radius: 6px; + border-spacing: 6px; + transition: all 200ms ease-out; + background-color: $base_color; + color: $text_color; +}; + +.sb_button:hover { + min-height: 48px; + width: 185px; + padding-left: 8px; + padding-right: 8px; + border: 0px solid; + border-radius: 6px; + border-spacing: 6px; + transition: all 200ms ease-out; + background-color: $menu_selected_color; + color: $text_color; +}; + +.box { + display: flex; + height: 100vh; +}; + +.box-content-1 { + flex: 1; + padding: 20px; + background-color: $bg_color; + overflow-y: auto; +} + +.box-v { + display: flex; + flex-direction: column; + gap: 15px; + align-items: flex-start; + padding: 20px; + background-color: $bg_color; + max-width: 400px; + margin: auto; +} +