Skip to content

A css library written in sass; will be similar to bootstrap but rather different; I may also perform petty theft on bootstrap; I don't know. How will it differ from bootstrap? Bootstrap is a css library that you can customize, this will be intended to be a css library builder, in essence.

License

Notifications You must be signed in to change notification settings

cronalds/sassy-beaches

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I AM ABANDONING THIS BECAUSE SCSS IS ANNOYING TO WORK WITH BASED OFF OF THE WEIRD LIMITATIONS IT SETS ON HOW I CAN AND CANNOT USE @USE/INCLUDE/ETC,ETC; I'M JUST GOING TO MAKE A JAVASCRIPT CSS PREPROCESSING SOLUTION BECAUSE DOING IT MYSELF SEEMS AS THOUGH IT WILL ACTUALLY BE EASIER WHICH IS ABSURD; I WILL BE NAMING THE PROJECT "JASS" FOR "JAVASCRIPTS ABSTRACTED STYLING SOLUTION"

A css library written in sass; only good as a starter scss project to get things going; you will need to clean a few things as I have killed this and will not bother redacting the changes that I made which have lead to my final decision as well as a compilation error.

How will it differ from bootstrap? Bootstrap is a css library that you can customize, yet is still very opinionated without extensive alteration in the depth of the source, whereas this will be intended to be a css library builder that will allow for a less stressful customization approach using switches and variables, whilst maintaining appropriate standards; i.e. using em for margin and padding, rem for font size, appropriate color contrast, an attempt at appropriate selecting and layering/scoping as opposed to going nuclear(!important), % for max/min width, dvw for width, dvh for height etc, etc.(still many things to work out, still getting used to scss)

Yes, I understand that this is a bit arrogant, web development has been around for 30ish years and I doubt I'm the only one who has tried something like this, and I know for a fact that anyone who did try this before me had far more experience than myself, but my god it's so frustrating.

tech

  • sass(scss)
npm i -g sass
  • gulp
npm i -g gulp
  • gulp-sass
npm i -g gulp-sass
  • gulp-clean-css
npm i -g gulp-clean-css
  • bootstrap; implement later... maybe; depends.
npm i bootstrap

ensure you have gulp installed globally to do pretty much anything here; no gulp no build or minification.(you can still build with sass cli or watch extension but you won't be able to minify from my knowledge; and you'll have to set it all up)

npm i -g gulp

Currently implemented/TODO

  • gulp css compilation && minification

  • layers &&|| scope: TODO

  • reset: altered version of meyer reset

  • vendors: setup for vendors such as bootstrap; no affect, currently(maybe ever; will probably steal what I need and eject the dependency)

  • base: misc base styles that will be altered heavily in the coming days; the only things that will definitively stay as they are, are the utils as of right now; no color theory has been taken into account for coloring, I have just implemented basic functionalities and have the projects architecture in place so as to do it properly when it matters.

  • colors: 16 base colors, 9 light and 9 dark variations, with bg, text, and -hover, -active, -focus, -checked, -disabled pseudoclasses. BLACK AND WHITE HAVE NO NUMBERED VARIANTS

    • $primary: #ffffff;

    • $secondary: #111827;

    • $success: #16a34a;

    • $error: #dc2626;

    • $warning: #f59e0b;

    • $info: #3b82f6;

    • $blue: #60a5fa;

    • $red: #ef4444;

    • $yellow: #f59e0b;

    • $green: #16a34a;

    • $purple: #a855f7;

    • $orange: #f97316;

    • $pink: #ec4899;

    • $grey: #868688;

    • $black: #111827;

    • $white: #ffffff;

      • base example: bg-red
        • light example: text-light-red-1
        • dark example: bg-dark-yellow-5
        • hover example: text-dark-yellow-9-hover ; bg variant also; light and dark
        • active example: text-light-green-3-active ; bg variant also; light and dark
        • focus example: bg-blue-3-focus ; bg variant also; light and dark
        • checked example: text-grey-3-checked ; bg variant also; light and dark
        • disabled example: text-grey-3-disabled ; bg variant also; light and dark
  • utils:

    • margin: m, mt, mr, mb, ml; 0-30 + auto;

      • i.e. m-0 || m-23 ; em units, 0.25em base
    • padding: p, pt, pr, pb, pl; 0-30;

      • i.e. p-0 || p-23 ; em units, 0.25em base

About

A css library written in sass; will be similar to bootstrap but rather different; I may also perform petty theft on bootstrap; I don't know. How will it differ from bootstrap? Bootstrap is a css library that you can customize, this will be intended to be a css library builder, in essence.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages