Skip to content

Commit

Permalink
Update _helpers.scss
Browse files Browse the repository at this point in the history
  • Loading branch information
vanvianen committed Jul 14, 2024
1 parent 801e94b commit ec560eb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/scss/utils/_helpers.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@

// Component Helpers
// ----------------------------------------------------------------------------

// Mixins for Text and Background Colors: These mixins can be used to apply
// text and background colors throughout your stylesheets.
// They make it easy to maintain consistency and make changes later if needed.
// ----------------------------------------------------------------------------

@mixin text_color($color_name) {
color: hue_color($color_name);
Expand All @@ -42,6 +42,7 @@
// ----------------------------------------------------------------------------
// Create a set of mixins for theming components.
// This can include buttons, links, etc.
// ----------------------------------------------------------------------------

@mixin button_theme($bg_color_name, $text_color_name: null) {
@include bg_color($bg_color_name);
Expand All @@ -59,6 +60,7 @@
// This step involves creating utility classes
// for each color in your map. It generates classes like .text-N0001,
// .bg-N0001, etc., for quick and easy styling in HTML.
// ----------------------------------------------------------------------------

@each $color_name, $color-value in $hue {

Expand All @@ -78,6 +80,7 @@


// Semi-Transparent Border Color
// ----------------------------------------------------------------------------
// Generates a semi-transparent version of a color, suitable for borders.
// ----------------------------------------------------------------------------

Expand All @@ -94,7 +97,9 @@


// Box Shadow Generator
// ----------------------------------------------------------------------------
// Creates a box shadow with adjustable properties.
// ----------------------------------------------------------------------------

// @function hue_box_shadow($color_name, $opacity: 0.5, $x: 0px, $y: 2px, $blur: 4px) {
// $color: hue_color($color_name);
Expand Down

0 comments on commit ec560eb

Please sign in to comment.