Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
node-sass
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
楚学文
node-sass
Commits
871c01c2
Commit
871c01c2
authored
Sep 18, 2012
by
Aaron Leung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented the 'scale-color' built-in. Slight rounding discrepancies compared to Ruby Sass.
parent
da5a9c59
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
0 deletions
+4
-0
context.cpp
context.cpp
+1
-0
functions.cpp
functions.cpp
+0
-0
functions.hpp
functions.hpp
+3
-0
No files found.
context.cpp
View file @
871c01c2
...
...
@@ -131,6 +131,7 @@ namespace Sass {
register_function
(
fade_out_sig
,
fade_out
);
// Other Color Functions
register_function
(
adjust_color_sig
,
adjust_color
);
register_function
(
scale_color_sig
,
scale_color
);
register_function
(
change_color_sig
,
change_color
);
// String Functions
register_function
(
unquote_sig
,
unquote
);
...
...
functions.cpp
View file @
871c01c2
This diff is collapsed.
Click to expand it.
functions.hpp
View file @
871c01c2
...
...
@@ -147,6 +147,9 @@ namespace Sass {
extern
Signature
adjust_color_sig
;
Node
adjust_color
(
const
Node
,
Environment
&
,
Node_Factory
&
,
string
&
path
,
size_t
line
);
extern
Signature
scale_color_sig
;
Node
scale_color
(
const
Node
,
Environment
&
,
Node_Factory
&
,
string
&
path
,
size_t
line
);
extern
Signature
change_color_sig
;
Node
change_color
(
const
Node
,
Environment
&
,
Node_Factory
&
,
string
&
path
,
size_t
line
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment