Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
ui-styleguide
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TO
Weby
ui-styleguide
Commits
58c446ae
Commit
58c446ae
authored
5 years ago
by
xaralis
Browse files
Options
Downloads
Patches
Plain Diff
Initial commit
parents
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
42
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
source/js/main.js
+4
-0
4 additions, 0 deletions
source/js/main.js
tailwind.config.js
+175
-0
175 additions, 0 deletions
tailwind.config.js
with
179 additions
and
0 deletions
source/js/main.js
0 → 100644
+
4
−
0
View file @
58c446ae
document
.
addEventListener
(
'
DOMContentLoaded
'
,
function
()
{
});
\ No newline at end of file
This diff is collapsed.
Click to expand it.
tailwind.config.js
0 → 100644
+
175
−
0
View file @
58c446ae
module
.
exports
=
{
theme
:
{
fontFamily
:
{
alt
:
[
'
Bebas Neue
'
,
'
Helvetica
'
,
'
Arial
'
,
'
sans-serif
'
],
body
:
[
'
Roboto
'
,
'
Helvetica
'
,
'
Arial
'
,
'
sans-serif
'
],
condensed
:
[
'
Roboto Condensed
'
,
'
Helvetica
'
,
'
Arial
'
,
'
sans-serif
'
],
},
fontSize
:
{
'
xs
'
:
'
.75rem
'
,
'
sm
'
:
'
.875rem
'
,
'
base
'
:
'
1rem
'
,
'
lg
'
:
'
1.125rem
'
,
'
xl
'
:
'
1.3rem
'
,
'
2xl
'
:
'
1.6rem
'
,
'
3xl
'
:
'
1.875rem
'
,
'
4xl
'
:
'
2.45rem
'
,
'
5xl
'
:
'
3rem
'
,
'
6xl
'
:
'
4rem
'
,
'
7xl
'
:
'
5.6rem
'
,
},
fontWeight
:
{
light
:
300
,
normal
:
400
,
medium
:
500
,
bold
:
700
,
},
colors
:
{
'
transparent
'
:
'
transparent
'
,
'
black
'
:
'
#000000
'
,
'
white
'
:
'
#ffffff
'
,
'
grey
'
:
{
'
100
'
:
'
#f3f3f3
'
,
'
200
'
:
'
#adadad
'
,
'
300
'
:
'
#4c4c4c
'
,
'
400
'
:
'
#343434
'
,
'
500
'
:
'
#202020
'
,
},
'
red
'
:
'
#d6151b
'
,
'
facebook-blue
'
:
'
#067ceb
'
,
'
green
'
:
{
'
100
'
:
'
#29bc51
'
,
'
200
'
:
'
#1c8c3b
'
,
}
},
spacing
:
{
'
0
'
:
'
0
'
,
'
1
'
:
'
0.5rem
'
,
'
2
'
:
'
1rem
'
,
'
3
'
:
'
1.5rem
'
,
'
4
'
:
'
2rem
'
,
'
5
'
:
'
2.5rem
'
,
'
6
'
:
'
3rem
'
,
'
7
'
:
'
4rem
'
,
'
8
'
:
'
6rem
'
,
'
9
'
:
'
8rem
'
,
'
10
'
:
'
10rem
'
,
'
11
'
:
'
12rem
'
,
'
11
'
:
'
16rem
'
,
'
12
'
:
'
20rem
'
,
'
13
'
:
'
24rem
'
,
'
14
'
:
'
30rem
'
,
},
container
:
{
center
:
true
,
padding
:
{
default
:
'
1rem
'
,
sm
:
'
2rem
'
,
lg
:
'
4rem
'
,
xl
:
'
5rem
'
,
},
},
},
variants
:
{},
textStyles
:
theme
=>
({
// defaults to {}
heading
:
{
output
:
false
,
// this means there won't be a "heading" component in the CSS, but it can be extended
fontWeight
:
theme
(
'
fontWeight.bold
'
),
lineHeight
:
theme
(
'
lineHeight.tight
'
),
},
h1
:
{
extends
:
'
heading
'
,
// this means all the styles in "heading" will be copied here; "extends" can also be an array to extend multiple text styles
fontSize
:
theme
(
'
fontSize.5xl
'
),
'
@screen sm
'
:
{
fontSize
:
theme
(
'
fontSize.6xl
'
),
},
},
h2
:
{
extends
:
'
heading
'
,
fontSize
:
theme
(
'
fontSize.4xl
'
),
'
@screen sm
'
:
{
fontSize
:
theme
(
'
fontSize.5xl
'
),
},
},
h3
:
{
extends
:
'
heading
'
,
fontSize
:
theme
(
'
fontSize.4xl
'
),
},
h4
:
{
extends
:
'
heading
'
,
fontSize
:
theme
(
'
fontSize.3xl
'
),
},
h5
:
{
extends
:
'
heading
'
,
fontSize
:
theme
(
'
fontSize.2xl
'
),
},
h6
:
{
extends
:
'
heading
'
,
fontSize
:
theme
(
'
fontSize.xl
'
),
},
link
:
{
'
&:hover
'
:
{
textDecoration
:
'
underline
'
,
},
},
richText
:
{
fontWeight
:
theme
(
'
fontWeight.normal
'
),
fontSize
:
theme
(
'
fontSize.base
'
),
lineHeight
:
theme
(
'
lineHeight.relaxed
'
),
'
> * + *
'
:
{
marginTop
:
'
1em
'
,
},
'
h1
'
:
{
extends
:
'
h1
'
,
},
'
h2
'
:
{
extends
:
'
h2
'
,
},
'
h3
'
:
{
extends
:
'
h3
'
,
},
'
h4
'
:
{
extends
:
'
h4
'
,
},
'
h5
'
:
{
extends
:
'
h5
'
,
},
'
h6
'
:
{
extends
:
'
h6
'
,
},
'
ul
'
:
{
listStyleType
:
'
disc
'
,
},
'
ol
'
:
{
listStyleType
:
'
decimal
'
,
},
'
a
'
:
{
extends
:
'
link
'
,
},
'
b, strong
'
:
{
fontWeight
:
theme
(
'
fontWeight.bold
'
),
},
'
i, em
'
:
{
fontStyle
:
'
italic
'
,
},
},
}),
plugins
:
[
require
(
'
tailwind-css-variables
'
)(
{
// modules
},
{
// options
}
),
require
(
'
tailwindcss-typography
'
)({
// all these options default to the values specified here
ellipsis
:
false
,
// whether to generate ellipsis utilities
hyphens
:
false
,
// whether to generate hyphenation utilities
kerning
:
false
,
// whether to generate kerning utilities
textUnset
:
false
,
// whether to generate utilities to unset text properties
componentPrefix
:
'
typeset-
'
,
// the prefix to use for text style classes
}),
]
}
This diff is collapsed.
Click to expand it.
Prev
1
2
3
Next
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment