Code Monkey home page Code Monkey logo

odevs-eleventy-starter's Introduction

Orlando Devs Web Site

Getting Started

The Orlando Devs website is built on top of https://www.netlify.com/Netlify. To get started you will need to install the Netlify CLI tool on your local environment.

Once packages are installed run the Netlfiy dev stack:

netlify dev


Live Demo

https://odevs.netlify.app/

Style Guide

To maintain styling consistency we are using daisy UI, a themeable Tailwind CSS Component framework.

Colors

Daisy UI introduces a color system with semantic color utility classes that are set in tailwind.config.js and based on CSS variables.

Some daisyUI components come with variants and you can use them by name.
Like <button class="btn btn-primary">Button</button>
or <input type="checkbox" class="checkbox checkbox-secondary">

You can also use color names in utility classes just like Tailwind's color names.
These are default utility classes that use color names:

bg-{COLOR_NAME}
to-{COLOR_NAME}
via-{COLOR_NAME}
from-{COLOR_NAME}
text-{COLOR_NAME}
ring-{COLOR_NAME}
fill-{COLOR_NAME}
caret-{COLOR_NAME}
stroke-{COLOR_NAME}
border-{COLOR_NAME}
divide-{COLOR_NAME}
accent-{COLOR_NAME}
shadow-{COLOR_NAME}
outline-{COLOR_NAME}
decoration-{COLOR_NAME}
placeholder-{COLOR_NAME}
ring-offset-{COLOR_NAME}

So you can use bg-primary, border-secondary, etc...

Components

daisy UI, provides pure CSS and semantic HTML components for common use cases such as Buttons, Cards, Dropdowns, Carousels, Modals, etc. For a full list of CSS based components please see the Components Docs.

To maintain consistency, contributors should use available components when possible.

daisyUI components comes with many variants necessary for design systems and you won't usually need to customize anything
But you can still customize components in many ways.

  • Let's say, you want to customize a button:
<button class="btn">Button</button>
  1. You can use daisyUI utility classes:
<button class="btn btn-primary">Three</button>
<button class="btn btn-secondary">Two</button>
<button class="btn btn-accent btn-outline">Three</button>
  1. You can use Tailwind's utility classes:
<button class="btn rounded-full">One</button>
<button class="btn rounded-none px-16">Two</button>
  1. You can customize components on your CSS file, using Tailwind's @apply directive.
.btn {
  @apply rounded-full;
}
  1. You can also modify the theme directly in tailwind.config.js to make site wide customizations.

Layout

Layout, sizing, grids, spacing, etc... all will be handled by Tailwind CSS's utility classes

Read more about:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.