Begin CSS styling

This commit is contained in:
Candifloss 2026-08-23 21:58:13 +05:30
parent ae36c5d62e
commit cbadc88044
8 changed files with 26 additions and 3 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
nbcl/config/config.nbcl nbcl/config/config.nbcl
scss/local/ scss/local/
dprint.json dprint.json
ewwii.core

View File

@ -1,4 +1,9 @@
/* Reset all GTK styles */
* { * {
all: unset; all: unset;
box-sizing: border-box; }
/* Top bar */
.ewwii_panel {
background-color: rgba(95, 95, 95, .404);
} }

View File

@ -1,3 +1,4 @@
# Example config # Example config
const panel_height = 27 const panel_height = 27
const panel_width = 1366

View File

@ -2,6 +2,9 @@ component EwwiiPanel () {
Box { Box {
orinetation = "horizontal" orinetation = "horizontal"
halign = "center" halign = "center"
class = "ewwii_panel"
height = config.panel_height
width = config.panel_width
Label { Label {
widget_name = "panel_comp_sample_text" widget_name = "panel_comp_sample_text"

View File

@ -1 +1,7 @@
// Colors scheme: Glass
// Candifloss <candifloss@candifloss.cc>
// https://git.candifloss.cc/candifloss
// Common
$primary_bg: rgba(95, 95, 95, .404);
$primary_text_col: #ffffff;

View File

@ -1,4 +1,4 @@
/* Reset all GTK styles */
* { * {
all: unset; all: unset;
box-sizing: border-box;
} }

View File

@ -1 +1,2 @@
@use "common/reset"; @use "common/reset";
@use "panel/panel";

6
scss/panel/_panel.scss Normal file
View File

@ -0,0 +1,6 @@
@use "../colors/glass" as *;
/* Top bar */
.ewwii_panel {
background-color: $primary_bg;
}